OpenModelica
Appearance
OpenModelica is an open-source modeling and simulation environment for the Modelica language, used for designing, simulating, and analyzing complex dynamic systems. It provides tools for creating models, running simulations, and visualizing results, supporting applications in engineering and science.
Installation
nix-shell -p openmodelica.combined
This is not working. There are several problems:
- The installed version will be 1.18.0 but currently (2025-06-09) the latest version is 1.25.0.
- One dependency is
qtwebkit
but this is currently (NixOS 25.05 (Warbler)) marked as an insecure package.- When allowing
qtwebkit
as insecure package to be installed then during the build process ofqtwebkit
there are compilation errors.
- When allowing
Build from source
See here (working for NixOS 25.05 as of 2025-06-10): https://github.com/MBanucu/NixOS2505BuildOpenModelicaFromSource