Skip to content

Issue1482 Open Modelica errors and syntax warnings#1484

Open
LoneMeertens wants to merge 5 commits intomasterfrom
issue1482_OMSyntaxErrors
Open

Issue1482 Open Modelica errors and syntax warnings#1484
LoneMeertens wants to merge 5 commits intomasterfrom
issue1482_OMSyntaxErrors

Conversation

@LoneMeertens
Copy link
Copy Markdown
Contributor

Fix OpenModelica Syntax Errors in PPD12 and PVT Validation Models

This PR resolves syntax and parsing issues reported in #1482, which prevented IDEAS v4.0.0 (master) from loading in OpenModelica 1.25.5. All changes are backward‑compatible with Dymola.

Summary of Fixes

  • PPD12 Structure.mo: removed invalid escape sequences (\e, \<) in the Documentation annotation that caused OpenModelica lexer warnings.
  • PVT validation models: removed unsupported break statements from
    • Fluid/PVTCollectors/Validation/PVT_UI/PVTQuasiDynamicCollectorValidation.mo
    • Fluid/PVTCollectors/Validation/PVT_UN/PVTQuasiDynamicCollectorValidation.mo
  • R410A package.order: removed duplicate entries (A, B, C) which referenced protected constants not meant to appear in package.order.

Impact

  • IDEAS loads cleanly in OpenModelica 1.25.5 without syntax or parser warnings.
  • Dymola compatibility is preserved.
  • PVTCollectors package becomes usable again in OM (relevant for ongoing work in Issue1473 pvt validation ext #1481).
  • No model behaviour or numerical results are affected.

@LoneMeertens LoneMeertens self-assigned this Mar 31, 2026
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