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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.241/2.241, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004344, allocations: 11.98 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.418, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5598/0.9779, allocations: 115 MB / 484.4 MB, free: 44.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/0.9784, allocations: 104.4 kB / 484.5 MB, free: 44.64 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.1254/1.104, allocations: 29.27 MB / 0.5017 GB, free: 40.64 MB / 394.7 MB