libSBML Perl API  libSBML 5.16.0 Perl API
flattenModel.cpp

Model flattening example.