Linux

Supported versions and compilers

Dymola 2018 FD01 is only supported as a 64-bit application on Linux.

Dymola is distributed as an RPM package. For installation on Debian or Kubuntu systems conversion is required using the alien command

alien -i -k installationfile.rpm

The default directory for installation on Linux is /opt/dymola-<version>-x86_64. As an example, the default directory for installation of 64-bit Dymola 2018 FD01 on Linux is /opt/dymola-2018FD01-x86_64 (the package manager on the target system however typically allows choosing another default location).

On Linux systems the default compiler is used. The compilation is controlled by the shell script insert/dsbuild.sh. Dymola 2018 FD01 runs on 64-bit Open SUSE Linux 42.1, with gcc version 4.8.5, and compatible systems. Any later version of gcc is typically compatible.

In addition to gcc, the model C code can also be compiled by clang. To change compiler, change the variable CC in e.g.

/opt/dymola-2018FD01-x86_64/insert/dsbuild.sh

 

Notes

  • 32-bit compilation might require explicit installation of 32-bit libc. E.g. on Ubuntu:
    sudo apt-get install g++-multilib libc6-dev-i386
  • Dymola is built with Qt 5.9 and thereby inherits the system requirements from Qt. However, several xcb helper libraries are bundled with Qt (in detail, QT was built with the flag –qt-xcb) in order to reduce the system dependencies as much as possible. However, some libraries might still require explicit installation:
    • libglu1-mesa
    • libpng12-0
  • To support older gcc versions, Dymola distributes a libstdc++ (e.g. for 64-bit: bin/lib64/libstdc++.so6) compatible with the currently supported gcc version. However, this may interfere with newer gcc versions. If your system has a newer gcc version than the one recommended for Dymola, the distributed libstdc++ should be removed.
  • For rendering of jpg files, libjpeg62 must be installed.

 

Notes on libraries

  • Please note that you have to use the Optimization library version 2.x or higher to use multi-criteria design optimization on Linux; the older Design.Optimization package does not support multi-criteria design on Linux.
  • The library UserInteraction is not supported on Linux.

 
More Linux-specific notes are available using the command "man dymola".