Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.998e-05, allocations: 0 / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3469, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5247/0.8716, allocations: 114.2 MB / 472.4 MB, free: 47.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003903/0.8721, allocations: 102.2 kB / 472.5 MB, free: 47.52 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/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 Notification: Performance of FrontEnd: time 0.133/1.005, allocations: 29.02 MB / 0.4897 GB, free: 45.03 MB / 394.7 MB