Opened 7 years ago

Closed 5 years ago

#4172 closed defect (fixed)

Medium propagation fails in Buildings.Fluid.Boilers.Examples.BoilerPolynomial

Reported by: mwetter Owned by: somebody
Priority: blocker Milestone: 2.0.0
Component: Frontend Version:
Keywords: Cc:

Description

Translation of this model fails with

Error: component boi1 contains the definition of a partial class Medium.
Please redeclare it to any package compatible with Modelica.Media.Interfaces.PartialMedium.
Error: Error occurred while flattening model Buildings.Fluid.Boilers.Examples.BoilerPolynomial

I don't see anything wrong in the propagation of the medium.

Change History (4)

comment:1 Changed 7 years ago by Christoph Buchner <buchner@…>

I guess you're luckier than me - I just tried to repro this, and trying to open that example crashes OMEdit :D (twice in a row now, so probably not a fluke)
OMEdit v1.11.0-dev-273-g6e7e014 (64-bit)

comment:2 Changed 6 years ago by casella

  • Component changed from *unknown* to Frontend
  • Milestone changed from Future to 2.0.0
  • Priority changed from high to blocker

The model is opened successfully with the current nightly build, but the reported error is still there.

It should definitely be fixed with the new front end.

comment:3 Changed 6 years ago by casella

This is the test report when using the new front-end. Currently the issue is

[NFFrontEnd/NFRecord.mo:183:9-183:99:writable]
Error: Internal error NFRecord.collectRecordParams got non-instantiated function

which is unrelated to this issue. I opened #4929 on this topic.

Note that you can follow the progress of the coverage of the Buildings library on this diagram:

https://libraries.openmodelica.org/branches/history/newInst/Buildings_latest.svg

and by checking the detailed report. As of May 9, about 30% of models pass the new front-end and 25% simulate. We expect these figures to grow substantially in the next few weeks, as a few key remaining issues are fixed.

comment:4 Changed 5 years ago by casella

  • Resolution set to fixed
  • Status changed from new to closed

After 11 months, the situation has much improved, 71% of models now simulate successfully with the new front-end. In particular, Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim now simulates successfully.

Note: See TracTickets for help on using tickets.