libSBML Perl API  libSBML 5.13.0 Perl API
flattenModel.cpp

Model flattening example.