Notification: Performance of loadModel(ModelicaTest): time 1.76/1.76, allocations: 234.6 MB / 240.6 MB, free: 7.773 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2006/1.961, allocations: 56.71 MB / 297.3 MB, free: 8.547 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07627/2.037, allocations: 54.73 MB / 352 MB, free: 10.73 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/2.326, allocations: 114.1 MB / 466.1 MB, free: 31.25 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/2.326, allocations: 99.67 kB / 466.2 MB, free: 31.25 MB / 376.6 MB [Modelica 3.2.2/Fluid/Dissipation.mo:5707:9-5715:54:writable] Error: Type mismatch for positional argument 1 in Modelica.Fluid.Dissipation.Utilities.Functions.PressureLoss.TwoPhase.dp_twoPhaseFriedel_DP(IN_con=IN_con). The argument has type: record Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_IN_con Real(quantity = "Area", unit = "m2") A_cross; Real(quantity = "Length", unit = "m") perimeter; Real(quantity = "Length", unit = "m") length; enumeration(Friedel, Chisholm) frictionalPressureLoss; enumeration(Homogeneous, Momentum, Energy, Chisholm) voidFractionApproach; Boolean momentumPressureLoss; Boolean massFlowRateCorrection; Boolean geodeticPressureLoss; Real(quantity = "Angle", unit = "rad", displayUnit = "deg") phi; end Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_twoPhaseOverall_IN_con; expected type: record Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_con Real(quantity = "Area", unit = "m2") A_cross; Real(quantity = "Length", unit = "m") perimeter; Real(quantity = "Length", unit = "m") length; end Modelica.Fluid.Dissipation.Utilities.Records.General.TwoPhaseFlow_con; Error: Error occurred while flattening model ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP Error: Internal error SimCode: The model ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP could not be translated to FMU