Opened 6 years ago

Closed 6 years ago

#5238 closed defect (fixed)

The NF does not flatten a function in a Buildings model

Reported by: Francesco Casella Owned by: Per Östlund
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check Buildings.Airflow.Multizone.Examples.CO2TransportStep. The following error is reported:

In function `Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_eqFunction_23':
Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_06inz.c:(.text+0x9e9):
undefined reference to 
`omc_Buildings_Fluid_Interfaces_ConservationEquation_Medium_specificInternalEnergy'

In the flat model output there is indeed no definition of a specificInternalEnergy function anywhere.

Change History (3)

comment:1 by Francesco Casella, 6 years ago

Same problem in Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer with function Buildings.Electrical.AC.OnePhase.Conversion.ACACTransformer.PhaseSystem_n.phaseVoltages

comment:2 by Francesco Casella, 6 years ago

In fact, a lot more models are affected by this issue in Buildings

comment:3 by Per Östlund, 6 years ago

Resolution: fixed
Status: newclosed

Fixed in 95cbc5b4 or b4eed7b.

Note: See TracTickets for help on using tickets.