C and C++ are general purpose programming languages. MOSAIC uses C and C++ to interface to simulation solvers for algebraic and differential algebraic equation systems.


  • Compilers for C and C++ can be obtained online for free, an examples is the Gnu Compiler Collection (GCC) for Linux and Mac OS X.
  • Windows users should obtain Microsoft’s Visual Studio to compile C or C++ code.

Source Code

  • see above (Availability)

Installation Notes

  • see above (Availability)

Native Environments/Programming languages

  • C/C++ programs can be interfaced from a number of different software tools and programming languages.

Operating Systems

  • Linux (Ubuntu 14.04, Debian, etc.)
  • Mac OS X 10.5-10.9
  • Windows XP/7/8/8.1


Each code generator has a detailed description of how to compile the C/C++ code for local execution on either Windows or Linux systems.

User Options


Applied Examples

Examples using MOSAIC’s C/C++ export can be found in the following publications: