Skip to content

IDEAS v4.0.0 (master) not loading in OpenModelica 1.25.5 – Syntax errors and PVTCollectors break keyword #1482

@Sen-Swaegers

Description

@Sen-Swaegers

I am trying to use IDEAS v4.0.0 (master branch) with OpenModelica 1.25.5 (64-bit)
on Windows 11, but the library fails to load entirely due to several syntax and
scripting errors. I need the PVTCollectors package in particular for my research
on PVT-assisted heat pump systems.

Errors

[C:.../IDEAS/Examples/PPD12/Structure.mo: 531:21-531:686]:
Lexer treating \ as , since \e is not a valid Modelica escape sequence.

[C:.../IDEAS/Examples/PPD12/Structure.mo: 531:21-531:694]:
Lexer treating \ as , since < is not a valid Modelica escape sequence.

[C:.../IDEAS/Fluid/PVTCollectors/Validation/PVT_UI/PVTQuasiDynamicCollectorValidation.mo: 7:5-7:10]:
No viable alternative near token: break

[C:.../IDEAS/Fluid/PVTCollectors/Validation/PVT_UN/PVTQuasiDynamicCollectorValidation.mo: 7:5-7:10]:
No viable alternative near token: break

Failed to load package IDEAS () using MODELICAPATH C:/.../IDEAS-master/

Questions

  1. Is IDEAS v4.0.0 / master branch officially supported or tested with OpenModelica?
    If so, which version of OpenModelica is recommended?
  2. The break keyword in PVTQuasiDynamicCollectorValidation.mo (line 7)
    seems to cause a fatal parse error in OpenModelica. Is this a known issue
    and is there a workaround?
  3. As a fallback I am currently using IDEAS 3.0.0, which loads but has its own
    compatibility issues
    Ideas 3.0.0 Errors:
    _[862] 11:38:32 Scripting Error
    [C:/Users/User/Documents/Masterproef/IDEAS-3.0/IDEAS/Buildings/Components/Interfaces/RectangularZoneTemplateInterface.mo:441:7-441:23:writable] Error: Variable hasCavity not found in scope RectangularZoneTemplateInterface.

[863] 11:38:32 Scripting Error
[C:/Users/User/Documents/Masterproef/IDEAS-3.0/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo:9:24-9:40:writable] Error: Variable linearize not found in scope ExteriorConvection.

[864] 11:38:33 Scripting Error
[C:/Users/User/Documents/Masterproef/IDEAS-3.0/IDEAS/Buildings/Components/BaseClasses/ConvectiveHeatTransfer/ExteriorConvection.mo:9:24-9:40:writable] Error: Variable linearize not found in scope ExteriorConvection.

[865] 11:38:33 Scripting Error
[C:/Users/User/Documents/Masterproef/IDEAS-3.0/IDEAS/Templates/Interfaces/BaseClasses/HeatingSystem.mo:13:24-13:42:writable] Error: Variable InInterface not found in scope HeatingSystem._

Is there a recommended stable release for use with OpenModelica?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions