Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 209.2 MB / 224.8 MB, free: 0.7578 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004818, allocations: 11.94 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 48.7 MB / 331.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.6104, allocations: 104.9 MB / 436.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/0.6109, allocations: 95.94 kB / 436.4 MB, free: 12.02 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Dissipation.mo:5644:9-5652: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.1628/0.7736, allocations: 29.35 MB / 465.7 MB, free: 14.48 MB / 394.7 MB