Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Guide Examples with JModelica #163

Open
mokandil opened this issue Jan 4, 2021 · 2 comments
Open

User Guide Examples with JModelica #163

mokandil opened this issue Jan 4, 2021 · 2 comments

Comments

@mokandil
Copy link

mokandil commented Jan 4, 2021

Hi,

I tried to run the SimpleBuilding.mo from the ExamplesUserGuide using JModelica however I got the following error

`CompilerError:
1 error(s) and 2 warning(s) found:

Warning at line 25, column 3, in file 'C:\Program Files\OpenModelica1.16.1-64bit\lib\omlibrary\BuildingSystems-master\BuildingSystems\Climate\WeatherData\BaseClasses\WeatherDataFileNetCDF.mo':
The component info is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.

Warning at line 49, column 12, in file 'C:\Program Files\OpenModelica1.16.1-64bit\lib\omlibrary\BuildingSystems-master\BuildingSystems\Fluid\Sources\BaseClasses\PartialSource.mo':
The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica

Error at line 82, column 7, in file 'C:\Program Files\OpenModelica1.16.1-64bit\lib\omlibrary\BuildingSystems-master\BuildingSystems\Buildings\Airvolumes\AirvolumeMixed.mo':
The component air is conditional: Access of conditional components is only valid in connect statements`

Any suggestions to solve this problem?

@nytschgeusen
Copy link
Member

Did you test the model with JModelica or openModelica ? The failure message indicates that you try to compile the model with OpenModelica version 1.16.1

@mokandil
Copy link
Author

mokandil commented Jan 26, 2021 via email

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

No branches or pull requests

2 participants