Releases: OpenModelica/OMPython
Releases · OpenModelica/OMPython
Release list
v4.1.0
What's Changed
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #356
- OMCPath by @syntron in #317
- Bump OpenModelica/setup-openmodelica from 1.0.2 to 1.0.4 by @dependabot[bot] in #364
- [OMCProcess*] use pathlib by @syntron in #332
- ModelicaSystem - use OMCPath by @syntron in #322
- [ModelicaSystem] improve set functions by @syntron in #345
- Fix usage of elif by @syntron in #359
- [ModelicaSystem] use items() if possible by @syntron in #360
- [OMCSessionRunData] run executable via OMCSessionZMQ by @syntron in #331
- [ModelicaSystem] add plot() function by @syntron in #352
- update usage of flake8 by @syntron in #357
- ModelicaSystemCMD - use OMCPath by @syntron in #324
- Improve OMCPath by @syntron in #362
- [OMCSessionZMQ.sendExpression] check for AST errors by @syntron in #363
- [ModelicaSystemDoE] use OMCPath by @syntron in #333
- Reorder imports by @syntron in #344
- [ModelicaSystem] rename getconn => session by @syntron in #334
- Rewrite init.py by @syntron in #358
- ModelicaSystem update init() by @syntron in #350
- update type hints by @syntron in #366
- [ModelicaSystem] make convertFmu2Mo() useable by @syntron in #351
- [ModelicaSystemDoE] rename simple => non_structural by @syntron in #368
- [ModelicaSystem] add docstring by @syntron in #367
- [ModelicaSystem] fix usage of relative paths by @syntron in #365
- [OMCSessionZMQ] escape strings to be used via OMC by @syntron in #369
- [ModelicaSystem.sendExpression] include (original) error message by @syntron in #370
- test cleanup by @syntron in #371
- first settings for pylint check by @syntron in #376
- [OMCSession] improve error log of sendExpression() by @syntron in #375
- Rename variables by @syntron in #377
- update docstrings and more linter based fixes by @syntron in #379
- Remove as_posix() if not needed by @syntron in #378
- [OMCSessionZMQ] merge into OMCProcess by @syntron in #381
- [ModelicaSystem*] remove all timeouts by @syntron in #383
- Update license by @adeas31 in #392
- Update to OSMC Run-time System license by @adeas31 in #393
- Bump OpenModelica/setup-openmodelica from 1.0.4 to 1.0.5 by @dependabot[bot] in #391
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #390
- [OMCSession*] renames by @syntron in #384
- [ModelicaSystem] remove dependency on depreciated OMCSessionZMQ by @syntron in #385
- Do not add simulation options to overrideFile by @adeas31 in #400
- fix unittests (OMCSessionZMQ) by @syntron in #386
- Update override handling by @syntron in #402
- improve OMCSessionPort by @syntron in #388
- OmcSession logging by @syntron in #389
- use keyword arguments if possible by @syntron in #394
- Omc session readme by @syntron in #395
- add OMCPath to the public interface by @syntron in #396
- [ModelicaSystem*] add timeout argument by @syntron in #382
- Update test matrix by @syntron in #403
- Pylint fix by @syntron in #407
- [ModelicaSystem] improve lintime checks by @syntron in #406
- Bump OpenModelica/setup-openmodelica from 1.0.5 to 1.0.6 by @dependabot[bot] in #408
- [OMCSession] align definition of sendExpression() - use expr (was: command) by @syntron in #405
- (A003) [OMTypedParser] fix PyparsingDeprecationWarning(s) + reorder imports by @syntron in #413
- (A004) [ModelicaSystemCmd] do not reuse variable names (key/val) by @syntron in #414
- (A002) OMParser by @syntron in #412
- (A001) Simplify workflow for unittests by @syntron in #411
- (A005) [OMCPathReal] remove dummy function stat() by @syntron in #415
- (A006) [OMCSession] fix import order; zmq is a 3rd party package by @syntron in #416
- (A007) [OMCSession] add get_version() and get_workdir() by @syntron in #417
- (A008) [ModelicaSystem] getContinuous() / getOutputs() by @syntron in #418
- (A009) [ModelicaSystem] small fixes by @syntron in #419
- (A010) Use function keyword arguments by @syntron in #420
- Bump setup-openmodelica to 1.0.7 by @adeas31 in #445
- (A013) [ModelicaSystemDoE] simplify definition by @syntron in #423
- (A014) [ModelExecution] update code for execution of a compiled model by @syntron in #424
- (A015) [ModelicaSystem] check model executable by @syntron in #425
- fix solver override by @adrpo in #458
- B001 ModelicaSystem split by @syntron in #426
- B002 ModelicaSystemDoE split by @syntron in #427
- B003 OmcSession / OMPathABC by @syntron in #428
- B004 OMCSession / OMSessionABC by @syntron in #429
- C001 Runner definitions by @syntron in #430
- D001 OMSession - small fixes by @syntron in #431
- D002 OMCSessioZMQ move by @syntron in #432
- D003 OMCPath improvements by @syntron in #433
- D004 OMSessionRunner by @syntron in #434
- D005 OMCSession - classes update by @syntron in #435
- D006 ModelicaSystem - small fixes by @syntron in #436
- D008 v400 compatibility layer by @syntron in #437
- fix timeout handling by @syntron in #463
- D007 define unit test for v4.0.0 compatibility layer by @syntron in #438
- Added conda-forge to README.md by @adeas31 in #466
- E001 update tests by @syntron in #439
- E002 prepare restructure by @syntron in #440
- fix timeout handling by @syntron in #467
- E003a restructure by @syntron in #441
- E003b restructure by @syntron in #442
- E003c restructure by @syntron in #443
- buildModel: allow recoverable 'error'-level OMC messages via raise_on_error by @arun3688 in #473
- Bump actions/setup-python from 6 to 7 by @dependabot[bot] in #474
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #471
- Bump OpenModelica/setup-openmodelica from 1.0.7 to 1.1.0 by @dependabot[bot] in #470
- F001 restructure cleanup by @syntron in #444
- F002 - rename classes by @syntron in https://github.com/OpenM...
v4.0.1
What's Changed
- Do not add simulation options to overrideFile (#400) by @adeas31 in #459
- use -s not -solver for solver settings by @adrpo 99f69f0
- proper fix by @adrpo edc13a8
- do not write data twice to override file in linearize() by @syntron in #461
- Update release version to 4.0.1 by @adeas31 in #462
Full Changelog: v4.0.0...v4.0.1
v4.0.0
-
Info
-
main changes
- refactor file structure (#257) - split code into separate files using init.py only to provide the package interface
- consistently use of the logging package; remove all usage of print() (#253, #269)
- Split functions for specific OMC commands as separate class OMCSessionCMD (#282) - to be removed in a later version!
- allow to run OMCsession in Docker / WSL (#319, #295, #302, #306)
-
interface changes
- allow to modify default command line options (#349) - ModelicaSystem/commandLineOptions now as list (was a string)
- Make ModelicaSystem.linearize() return all values (#266)
- ModelicaSystem can only be run local using OMCProcessLocal (#309)
- Getter functions of ModelicaSystem now take also a list as input and raise KeyError if a value does not exists (#299)
- Setter functions of ModelicaSystem now take also a dict as input (#314)
- Simulation flags to be provided as dicts (use simargs; simflags is depreciated) (#279)
-
internal details / for developers
- setup pre-commit (#289) - enforce code quality by using codespell, flake8 and mypy
- improve unittest coverage and code quality (#246, #249, ...)
- use specific exceptions for OMCsession* and ModelicaSystem* (#228, #272)
- add / improve docstrings (#257, #337, ...)
- use '_' for private variables and functions (#304)
- use pathlib.Path() for any path handling, preparing for OMCPath (#247, #280, #303, #303, #329)
- definition of class ModelicaSystemCmd to handle simulations (#279)
- Define OMCProcess* classes to handle different definitions (by Port/LOcal/Docker/WSL) (#295, #302, #306)
- lots of rewrites for internal functions (ModelicaSystem/OMCSession) (#265, #271, #270, #281, #287, #295, #301, #316, #311, #314, #340, #341, ...)
-
important bugfixes
-
removed features
New Contributors
- @syntron made their first contribution in #226
- @dependabot[bot] made their first contribution in #222
- @AxelMatstoms made their first contribution in #239
- @ondras12345 made their first contribution in #242
- @Nmichele29 made their first contribution in #285
Full Changelog: v3.6.0...v4.0.0
v3.6.0
What's Changed
- fix: library import before opening model when model is inside a package by @jules-l-jimmy in #219
- feat: get unit of scalars in quantitiesList by @jules-l-jimmy in #220
- Remove distutils, update CI by @AnHeuermann in #221
- fix setup.py long_description_content_type by @arun3688 in #223
New Contributors
- @jules-l-jimmy made their first contribution in #219
- @AnHeuermann made their first contribution in #221
Full Changelog: v3.5.2...v3.6.0
v3.5.2
What's Changed
- Always call getErrorString() when verbose=True by @adeas31 in #203
- add support to custombuildDirectory by @arun3688 in #205
- fixes issue #207 by @InigoGastesi in #208
- fix result file path by @arun3688 in #210
- load linearized model directly from file by @arun3688 in #213
- Changed to use list instead of string for subprocess command. by @j-emils in #214
- release 3.5.2 by @arun3688 in #216
New Contributors
- @InigoGastesi made their first contribution in #208
- @j-emils made their first contribution in #214
Full Changelog: v3.5.1...v3.5.2
v3.5.1
v3.5.0
What's Changed
- Always print getErrorString as it might contain build warnings by @adeas31 in #159
- Added github templates by @adeas31 in #160
- Set user environment variable for omc started from wsgi by @adeas31 in #161
- support variableFilter to ModelicaSystem by @arun3688 in #163
- "outputFormat" in simulateOptions by @Tesshub in #168
- parse min and max attribute by @arun3688 in #170
- use readSimulationResultVars for getSolutions by @arun3688 in #171
- create separate temp directory for each ModelicaSystem session by @arun3688 in #172
- use overrideFile as default to support large scale parameter setting by @arun3688 in #173
- avoid compiling linearization and use .exe and runtime flag -l by @arun3688 in #174
- Fix mistyped fileNamePrefix. by @javiarrobas in #178
- report proper error messages to users by @arun3688 in #179
- swicth CI to github workflow actions by @arun3688 in #181
- allow modelicaSystem() to directly load MSL without filename by @arun3688 in #180
- check fmi regressions by @arun3688 in #183
- schedule FMI regression At 12:00 AM, only on Friday by @arun3688 in #184
- change to markdown and add status badge by @arun3688 in #185
- fix status badge alignment by @arun3688 in #186
- test fmi regression in windows by @arun3688 in #187
- run FMI regression test on each commit by @arun3688 in #188
- add nightly builds and schedule FMIRegression test every day by @arun3688 in #189
- use directly buildModelFMU() for FMI_Regression tests by @arun3688 in #191
- fix openmodelica setup by @arun3688 in #195
- add linearFile to system path by @arun3688 in #197
- suppress the print statements by @arun3688 in #198
New Contributors
- @Tesshub made their first contribution in #168
- @javiarrobas made their first contribution in #178
Full Changelog: v3.4.0...v3.5.0
v3.4.0
What's Changed
- Replaced deprecated 'getchildren' method with 'list(elem)' for Python >= 3.2 by @kzscisoft in #132
- Avoid using translations by @adeas31 in #131
- add needed dll's to PATH for windows simulation by @arun3688 in #136
- fix linearfile for linearization() by @arun3688 in #140
- report info message for non-modifiable parameters by @arun3688 in #141
- update getParameters when rebuilding model by @arun3688 in #142
- allow users to provide library version by @arun3688 in #143
- fix getClassNames without className argument by @Arinomo in #154
- New release version 3.4.0 by @adeas31 in #158
Full Changelog: v3.3.0...v3.4.0