libSBML Perl API  libSBML 5.18.0 Perl API
flattenModel.cpp

Model flattening example.