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: Duplicate component in same class: input Real pi_e #212

Open
dhblum opened this issue Aug 5, 2020 · 0 comments
Open

Error: Duplicate component in same class: input Real pi_e #212

dhblum opened this issue Aug 5, 2020 · 0 comments

Comments

@dhblum
Copy link
Collaborator

dhblum commented Aug 5, 2020

This issue is to report a problem recently discovered, where if a Modelica model is compiled and used for compilation of an optimization problem with the objective class EnergyCostMin, and then that same model object is used to try compiling the optimization problem again, with objective class EnergyCostMin, then the following compilation errors are received:

Error: in file '/home/dhbubu/git/cerc/cerc-mpc-demo-59/models/Building59.mop':
Semantic error at line 6625, column 32:
  Cannot find class or component declaration for pi_e

Error: in file '/home/dhbubu/git/cerc/cerc-mpc-demo-59/models/Building59.mop':
Semantic error at line 6625, column 36:
  Duplicate component in same class: input Real pi_e
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

1 participant