Download Mac

The Mac binary builds of OpenModelica were discontinued after version 1.16

The reason for that is that maintaining the MacOS version of OpenModelica requires much greater effort than the Windows and Linux versions. Newer MacOS versions are often incompatible with older ones, for example requiring new C++ standard library implementation, which is a problem for us because we rely on many open-source libraries and not all of them are readily updated, so we often end up in deadlock situations where we cannot actually compile OpenModelica for newer versions of MacOS.

Considering our limited resources, and the much lower number of downloads of MacOS builds, we had to take this decision, because the MacOS version kept breaking all the time and we simply do not have the resource to keep it fully functional.

Alternatives

There are several alternatives available to Mac users, each with its own pros and cons.

Docker

There is a Linux docker container, which installs fast and easily. This runs on Apple Silicon and requires XQuartz for the OpenModelica GUI.

Virtual machine

There is a pre-built Linux virtual machine that installs somewhat fast. It uses more disk space and is harder to share your home directory than using Docker, but there is no need to install an X server. It does not run on Apple Silicon (although you could create your own Ubuntu Linux installation and follow the Linux installation instructions).

Compiling from source

Starting from version 1.20.0-dev OpenModelica can be compiled again from sources on M1 and x86 Macs. Follow this howto.

Old binary release

You can use the old 1.16.1 binary release (only x86_64 version available, built on OSX 10.9 nightly, installs into /Applications/MacPorts/ /opt/openmodelica/bin/ and /opt/openmodelica/share/doc/omc/). Note that there is no uninstaller (see MacPorts guide for some hints on what is safe to remove). Also note that make and system headers are not included in this package so you will also need to install XCode3 (10.6), which is available for free with a registration, or a later version of XCode (which is available for free from the App store). Remember to install the XCode command-line tools (recent distributions of XCode do not install them by default). You will also need Java (which might not come preinstalled on your Mac).

You may also need to allow unsigned packages to be installed.

Consider however that this version is now starting to be seriously obsolete.

Note: OMNotebook does not work properly on OSX because the qt event system is different on OSX than on Linux/Windows, making the application crash when loading too large notebooks.