Opened 8 years ago

Closed 6 years ago

#4172 closed defect (fixed)

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

Reported by: Michael Wetter 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 by Christoph Buchner <buchner@…>, 8 years ago

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 by Francesco Casella, 7 years ago

Component: *unknown*Frontend
Milestone: Future2.0.0
Priority: highblocker

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 by Francesco Casella, 7 years ago

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 by Francesco Casella, 6 years ago

Resolution: fixed
Status: newclosed

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.