Version 3 (modified by 4 years ago) ( diff ) | ,
---|
Release Notes for OpenModelica 1.17.0 (Draft)
OpenModelica Compiler (OMC)
The new frontend has been further improved, and is now the default choice for all the OpenModelica tools. The -d=newInst
flag no longer needs to be set in scripts. The old frontend is no longer maintained and will progressively be replaced also for the API interface used by OMEdit. 20 tickets were fixed since the previous 1.16.4 release.
Some issues were fixed in the backend, in particular regarding homotopy()
during initialization. Some improvements to code generation, in particular enhancing the support of the HelmholtzMedia library.
The MSYS environment used on Windows was updated to a more recent version, with several benefits:
- clang is now also available on Windows and used by default instead of gcc for the compilation of the generated C code; furthermore, dynamic linking is used instead of static linking. This results in much faster overall compilation time on Windows
- a more recent version of the QT library is used, which solves some issues with the rendering of features in OMEdit
Solvers and basic linear algebra libraries were upgraded to the most recent available versions, with benefits in performance and roubustness at runtime.
Graphic Editor OMEdit
Replaceable classes continue to have graphical support in OMEdit, even though parameters in redeclared classes cannot yet be modified from the GUI. The new front end can also be used for some of the API functions called by OMEdit to render the model diagrams, making the response of the GUI much faster. Please note that both these features are currently optional and needs to be activated by setting Tools | Options | General | Enable replaceable support and Enable new frontend use in the OMC API (faster GUI response). These settings are retained from the previous installation upon version upgrading.
Unsaved code was sometimes lost when switching among different windows in OMEdit, this is no longer happening in this release.
OMEdit now can use both currently maintained versions of the Modelica Standard Library, MSL 3.2.3 and MSL 4.0.0. Version 3.2.3 is loaded by default, but it is possible to enable the automatic selection of MSL 3.2.3 and 4.0.0 by going to the Tools | Options | Libraries menu and removing the Modelica/default library. In this way OMEdit starts with no Modelica library loaded, and then loads the appropriate one automatically based on the uses()
annotation when a model or package is loaded.
Proper support of the package manager from the GUI, including conversion scripts to upgrade existing libraries from MSL 3.2.3 to MSL 4.0.0 is planned for version 1.18.0.
Overall, 20 bug fixes were made to OMEdit in version 1.17.0, to increase usability of the GUI.
FMI Support
FMI 2.0 export and FMI simulation with OMSimulator was further improved.
Other things
The PIP (Package Installer for Python) is now integrated in OpenModelica and OMSimulator.
A prototype Flat Modelica code export feature is now available, a result of the Emphysis project and eFMI on-going standardization effort. It can be activated with the -f
compilation flag.
The Modelica package manager remains available from the command line. We plan to integrate it the OMEdit GUI for the 1.18.0 release, together with conversion scripts.
List of tickets closed in 1.17.0
Number of fixed tickets: 84