COPASI is a software application for simulation and analysis of biochemical networks and their dynamics.
C++ Component Pascal Java Fortran C CMake Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
CMakeModules - issue 2640: look in CMAKE_INSTALL_LIBDIR for dependencies Jun 15, 2018
COPASI_TestSuite - add eventtests to the test suite May 22, 2015
CopasiCS problems with line ending? (git) Oct 2, 2013
CopasiWS Fixed inconsistent line endings. Jul 20, 2012
InnoSetup Fixed 32 bit install. Jun 8, 2018
LinuxTGZ Assure that symlinks are copied correctly into the archive. Jun 12, 2018
PackageMaker - fixed mac build script for Qt5 Feb 5, 2018
TCAnalytics Time Course Analytics Nov 14, 2014
TestSuite Bug 2584. Fixed Testsuite filures introduced by initial fix. Apr 2, 2018
Tools - pass absolute / relative error when running event tests as the outp… Apr 25, 2017
admin Deal with another issue from a previous flex version. Aug 22, 2017
copasi cosmetic changes on formatting, no effect on code Aug 16, 2018
cvs_admin Removed outdated astyle sources. Jul 20, 2012
docs some code documentation Apr 20, 2006
franks_testsuite - update old test suite runner Feb 12, 2018
gitTools CModelEntity::Status is now strongly typed. May 25, 2017
gps - renamed gepasi files that break msysgit May 4, 2015
mca_test_wrapper Further progress in code restructuring. Apr 21, 2017
project_kdevelop Removed objectdebug class and associated code. -not needed and had so… Aug 23, 2013
sbml-testsuite - sanitize input for running test suite Dec 15, 2017
semantic-test-suite CTaskEnum is now strongly typed. May 24, 2017
steady_state_test_wrapper CModelEntity::Status is now strongly typed. May 25, 2017
stochastic-testsuite Removed CMake Policy Warnings Sep 15, 2017
testxppaut Merged changes from branch Build-25 into HEAD. Mar 12, 2008
userdocs/userguide Revert "Reports is now Report Templates . . . ". (bab1b09) Apr 12, 2013
.gitattributes Added .cmake and .sh files to receive automated copyright Oct 28, 2013
.gitignore Multiple fixes for undo of event and event assignments. May 4, 2018
CMakeLists.txt - issue 2640: typo Jun 15, 2018
COPASI.doxyfile Update to COPASI doxygen configuration. Apr 7, 2018
CTestConfig.cmake - update drop location for develop branch Feb 2, 2018
ChooseQtVersion.cmake The environment variable QTDIR is now searched prior to system. Jun 7, 2018
DataModel.txt no message Oct 26, 2004
FunctionDB.gps no message Oct 26, 2004
FunctionDB.xml no message Oct 26, 2004 moved examples directory to the top level directory so that they are … Feb 2, 2005
README.Linux Merged changes from Build-30 to HEAD. Apr 21, 2009
README.SunOS Merged changes from Build-30 to HEAD. Apr 21, 2009
README.Win32 Merged changes from Build-30 to HEAD. Apr 21, 2009 Fixed link to COPASI Tracker. Apr 5, 2018
README_MAC.rtf Merged changes from Build-30 to HEAD. Apr 21, 2009
Sample.txt no message Oct 26, 2004
acconfig.h restructure Oct 10, 2001
build.h test Apr 11, 2003
cmake-set-dependencies.cmake - issue 2640: found another place that needed to change to intall_libdir Jun 15, 2018
copasi.icns Created new MacOS X icon which is closer in appearance than the icon … May 11, 2010
datafile this is test data for debugging the plot widget Jan 14, 2004
license.txt - update license file to Artistic License 2.0 Aug 26, 2015
qtwxwindows.tex added Jun 23, 2001 - added script to remove excessive warnings from xcode Oct 25, 2013 restructure Oct 10, 2001
templategps template file for the A-Biochem system Sep 17, 2002

COPASI: biochemical network simulator

COPASI is a software application for simulation and analysis of biochemical networks and their dynamics. COPASI is a stand-alone program that supports models in the SBML standard and can simulate their behavior using ODEs or Gillespie's stochastic simulation algorithm; arbitrary discrete events can be included in such simulations.

COPASI carries out several analyses of the network and its dynamics and has extensive support for parameter estimation and optimization. COPASI provides means to visualize data in customizable plots, histograms and animations of network diagrams. (list of features).

Follow us on Google+ or Twitter.

Download COPASI

Precompiled versions of COPASI are available for all operating systems on the COPASI Homepage.

Building COPASI

COPASI's sources are available from our github repository. These sources are written in standard C++ and will compile on Linux, OS X and Windows.


To start compiling COPASI we recommend to use the copasi-dependencies package.The dependency package compiles all the dependencies necessary for COPASI, they include clapack, cppunit, expat, raptor libSEDML, libsbml, SBW as well as the Qt libraries QWT, QWT3D and the Qt MML widget. Instructions for building the dependencies are described here:

Compiling COPASI

Once the dependencies have been built, COPASI is easily compiled using CMake:

git clone
mkdir build_copasi
cd build_copasi
cmake -DBUILD_GUI=OFF -DCMAKE_INSTALL_PREFIX=~/copasi -DCOPASI_DEPENDENCY_DIR=../copasi-dependencies/bin ../COPASI
make install 

In the above ../copasi-dependencies is the location of the compiled copasi-dependencies project. The option BUILD_GUI=OFF builds only the command line version of COPASI (aka CopasiSE). To build the graphical frontend (aka CopasiUI), and having Qt 4 installed, the option would need to be BUILD_GUI=ON. The option CMAKE_INSTALL_PREFIX=~/copasi specifies, that COPASI ought to be installed in the current users home directory in a subfolder copasi. The path ../COPASI is the source directory of COPASI that has been created by the git clone command in the first statement.

There are many more compile options available, options for building the language bindings as well as options to enable some experimental features that are not yet available in the stable builds that are released publicly. To view the complete set of options, start the graphical cmake frontend in the continuing from the above command this would be done with:

cmake-gui ../COPASI

Linking a C++ program against the COPASI API

To link your own program against the COPASI C++ API you would first build COPASI as described above however, with an additional CMake option -DCOPASI_INSTALL_C_API=ON. Thus the full configure / make / install commands from above would be:

git clone
mkdir build_copasi
cd build_copasi
make install 

Now additionally to the COPASI SE executable being built, also all COPASI header files and the COPASI (static) library will be installed into the CMAKE_INSTALL_PREFIX (thus in the example above header files will end up in ~/copasi/include and libraries in ~/copasi/lib). We also export a CMAKE configuration that you can import for your own CMAKE projects. That way you only need to add a line like:

find_package(libCOPASISE-static CONFIG REQUIRED)

to the CMakeLists.txt file of your project. And later link your project against libCOPASISE-static. This will then automatically link against all the libraries that the COPASISE library was linked against. In order for CMake to find the configuration you would either have to include the lib/cmake folder of your install prefix into your projects CMAKE_PREFIX_PATH variable or specify an option libCOPASISE-static_DIR with the folder of the config file when configuring your project. For the prefix specified above this would be:


The gist of a complete example CMakeList.txt is also available.


To submit feedback, or bug reports, please use the COPASI Tracker, or our mailing list.


The packages available on this page are provided under the Artistic License 2.0, which is an OSI approved license. This license allows non-commercial and commercial use free of charge.