Opened 10 years ago
Closed 10 years ago
#2761 closed defect (fixed)
Buildings.Examples.Tutorial.Boiler failing
Reported by: | Léonard Favre | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
as can be seen at https://test.openmodelica.org/libraries/Buildings/BuildModelRecursive.html, the following models are failing:
- Buildings.Examples.Tutorial.Boiler.System2
- Buildings.Examples.Tutorial.Boiler.System3
- ...
- Buildings.Examples.Tutorial.Boiler.System7
the error message I am getting (for System2) is the following (not very helpful):
"OMEdit - Error - Connection with the OpenModelica Compiler has been lost. - OMEdit will close."
does anyone have an idea if there is a hope it can be fixed soon?
I have none (am Modelica beginner), unfortunately. I would badly need it to work. I know Buildings is being developed using Dymola.
thanks for reading!
Attachments (1)
Change History (6)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
Yes, probably some circularity somewhere the instantiation of the model.
I'll do some debugging and see where the problem is.
by , 10 years ago
Attachment: | system2.mo added |
---|
Minimal model for Buildings.Examples.Tutorial.Boiler.System2.
comment:3 by , 10 years ago
I added a minimal model for System2 that still fails in the same way as the full model. The issue seems to be that the Buildings library contains self-references for some reason, which our lookup has problems with. Changing line 21 in the minimal model to be just h_pTX() without the self-reference makes the model work for example. I've looked into similar issues earlier, and it's probably not feasible to fix until Adrian's new instantiation stuff is done.
comment:4 by , 10 years ago
Component: | Unknown → Frontend |
---|---|
Owner: | changed from | to
Status: | accepted → assigned |
This is working now (r22496). I will add a test case.
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This usually means a stack overflow or similar crash in the omc kernel.