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

Error parsing Modelica packages correctly #221

Open
anandkp92 opened this issue Dec 7, 2023 · 0 comments
Open

Error parsing Modelica packages correctly #221

anandkp92 opened this issue Dec 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@anandkp92
Copy link
Member

To recreate this issue:
Set up modelica-json and add $MODELICAJSONPATH to environment variables

git clone https://github.com/ibpsa/project1-boptest
cd /path/to/project1-boptest
node $MODELICAJSONPATH/app.js -f testcases/multizone_simple_office_air/models/MultiZoneSimpleOfficeAir.TestCases.TestCase.mo -o semantic -m modelica -d m2j_output

This does not generate JSON or objects for MultiZoneSimpleOfficeAir.BaseClasses.*
It works when you change the working directory to project1-boptest/testcases/multizone_simple_office_air/models.

This should be fixed because we know the package of MultiZoneSimpleOfficeAir.TestCases.TestCase.

@anandkp92 anandkp92 added the bug Something isn't working label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant