Skip to content

OMFrontend 4.0.1: the fixes of #147, precompile statements regenerated - #148

Merged
JKRT merged 1 commit into
OpenModelica:masterfrom
JKRT:dev/4.0.1
Nov 30, 2026
Merged

JKRT merged 1 commit into
OpenModelica:masterfrom
JKRT:dev/4.0.1

Conversation

@JKRT

@JKRT JKRT commented Nov 30, 2026

Copy link
Copy Markdown
Member

Version 4.0.1. Master has differed from the tag v4.0.0 since #147; this version carries those fixes.

  • Precompile statements regenerated from traces of the 48 training models (utilities/precompileStatements.jl): 367 statements, 375 before. After Buildings 13.0.0: 240 of the 246 example models that stopped in the frontend pass #147, 3 of the 375 no longer resolved (vectorize with closures of bindingExpMap2), and every precompile printed "Precompile statements skipped: 3". Against the old set: 358 kept, 9 new, 17 gone.
  • Compile left at the first flatten of the 48 models, one process per mode: arrays 0.18 s before and 0.00 s after, scalarize 0.00 s and 0.03 s.
  • src/API/cli.jl: Project.toml is a dependency of the precompile cache (include_dependency). Before, a changed version line left _PACKAGE_VERSION at the old version until something else recompiled the package; two version tests failed that way in a checkout with a cache from before the version change.

Checked:

Release: no tag at merge. TagBot tags after the General registration.

🤖 Generated with Claude Code

… follows Project.toml

- Version 4.0.1: the fixes of OpenModelica#147 (Buildings 13.0.0 through the frontend).
- Precompile statements regenerated from traces of the 48 training models: 367 statements (375 before,
  3 of them no longer resolved after OpenModelica#147: vectorize with closures of bindingExpMap2). 358 kept, 9 new, 17 gone.
  Compile left at the first flatten of the 48 models, arrays mode: 0.18 s before, 0.00 s after.
- cli.jl: Project.toml is a dependency of the precompile cache. Before, a changed version line left
  _PACKAGE_VERSION at the old version until something else recompiled the package.

Assisted-by: Claude Fable 5.2
@JKRT
JKRT merged commit d9af2ff into OpenModelica:master Nov 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant