Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.572/2.572, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.674e-05/4.697e-05, allocations: 4 kB / 323.5 MB, free: 4.195 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4468, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.7045, allocations: 121.1 MB / 0.4916 GB, free: 3.234 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003776/0.7049, allocations: 99.88 kB / 0.4917 GB, free: 3.137 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5926/1.298, allocations: 45.6 MB / 0.5363 GB, free: 129.9 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.695e-06/1.298, allocations: 7.5 kB / 0.5363 GB, free: 129.9 MB / 458.8 MB Notification: Performance of Transformations before backend: time 2.765e-05/1.298, allocations: 11.72 kB / 0.5363 GB, free: 129.9 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004416/1.302, allocations: 1.396 MB / 0.5376 GB, free: 129.3 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.302, allocations: 14.72 kB / 0.5377 GB, free: 129.3 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002882/1.302, allocations: 152.2 kB / 0.5378 GB, free: 129.2 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/1.303, allocations: 100 kB / 0.5379 GB, free: 129.2 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/1.304, allocations: 459.8 kB / 0.5383 GB, free: 128.9 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/1.304, allocations: 61.06 kB / 0.5384 GB, free: 128.9 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/1.304, allocations: 88.34 kB / 0.5385 GB, free: 128.9 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/1.307, allocations: 1.393 MB / 0.5398 GB, free: 128.7 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/1.307, allocations: 0 / 0.5398 GB, free: 128.7 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/1.307, allocations: 44.14 kB / 0.5399 GB, free: 128.7 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/1.307, allocations: 70.84 kB / 0.5399 GB, free: 128.7 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/1.31, allocations: 1.413 MB / 0.5413 GB, free: 128.6 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006475/1.316, allocations: 3.773 MB / 0.545 GB, free: 126.2 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.318, allocations: 0.7703 MB / 0.5458 GB, free: 125.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/1.319, allocations: 389.8 kB / 0.5461 GB, free: 125.5 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.135e-05/1.319, allocations: 18.16 kB / 0.5462 GB, free: 125.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/1.319, allocations: 58.03 kB / 0.5462 GB, free: 125.4 MB / 458.8 MB Notification: Performance of pre-optimization done (n=38): time 4.238e-06/1.319, allocations: 3.875 kB / 0.5462 GB, free: 125.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=38): time 0.002285/1.321, allocations: 0.7166 MB / 0.5469 GB, free: 125.2 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/1.321, allocations: 0.492 MB / 0.5474 GB, free: 124.6 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/1.323, allocations: 0.7763 MB / 0.5481 GB, free: 124.3 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/1.323, allocations: 32.58 kB / 0.5482 GB, free: 124.3 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/1.323, allocations: 0.5283 MB / 0.5487 GB, free: 123.9 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/1.323, allocations: 150.7 kB / 0.5488 GB, free: 123.8 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/1.324, allocations: 19.84 kB / 0.5489 GB, free: 123.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000141/1.324, allocations: 400.2 kB / 0.5492 GB, free: 123.4 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009818/1.325, allocations: 417.2 kB / 0.5496 GB, free: 123.3 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/1.326, allocations: 1.068 MB / 0.5507 GB, free: 122.3 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.327, allocations: 0.5524 MB / 0.5512 GB, free: 122.2 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/1.327, allocations: 10.94 kB / 0.5512 GB, free: 122.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003336/1.331, allocations: 1.375 MB / 0.5526 GB, free: 121.8 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.331, allocations: 13.84 kB / 0.5526 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.331, allocations: 26.69 kB / 0.5526 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.524e-05/1.331, allocations: 33.97 kB / 0.5526 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/1.333, allocations: 364.3 kB / 0.553 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.72e-05/1.333, allocations: 52.41 kB / 0.553 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/1.335, allocations: 270.9 kB / 0.5533 GB, free: 121.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/1.336, allocations: 77.44 kB / 0.5534 GB, free: 121.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 50 (IN_con_2[5].geodeticPressureLoss,IN_con_2[5].massFlowRateCorrection,IN_con_2[5].momentumPressureLoss,IN_con_2[5].voidFractionApproach,IN_con_2[5].frictionalPressureLoss,IN_con_2[4].geodeticPressureLoss,IN_con_2[4].massFlowRateCorrection,IN_con_2[4].momentumPressureLoss,IN_con_2[4].voidFractionApproach,IN_con_2[4].frictionalPressureLoss,IN_con_2[3].geodeticPressureLoss,IN_con_2[3].massFlowRateCorrection,IN_con_2[3].momentumPressureLoss,IN_con_2[3].voidFractionApproach,IN_con_2[3].frictionalPressureLoss,IN_con_2[2].geodeticPressureLoss,IN_con_2[2].massFlowRateCorrection,IN_con_2[2].momentumPressureLoss,IN_con_2[2].voidFractionApproach,IN_con_2[2].frictionalPressureLoss,IN_con_2[1].geodeticPressureLoss,IN_con_2[1].massFlowRateCorrection,IN_con_2[1].momentumPressureLoss,IN_con_2[1].voidFractionApproach,IN_con_2[1].frictionalPressureLoss,IN_con_1[5].geodeticPressureLoss,IN_con_1[5].massFlowRateCorrection,IN_con_1[5].momentumPressureLoss,IN_con_1[5].voidFractionApproach,IN_con_1[5].frictionalPressureLoss,IN_con_1[4].geodeticPressureLoss,IN_con_1[4].massFlowRateCorrection,IN_con_1[4].momentumPressureLoss,IN_con_1[4].voidFractionApproach,IN_con_1[4].frictionalPressureLoss,IN_con_1[3].geodeticPressureLoss,IN_con_1[3].massFlowRateCorrection,IN_con_1[3].momentumPressureLoss,IN_con_1[3].voidFractionApproach,IN_con_1[3].frictionalPressureLoss,IN_con_1[2].geodeticPressureLoss,IN_con_1[2].massFlowRateCorrection,IN_con_1[2].momentumPressureLoss,IN_con_1[2].voidFractionApproach,IN_con_1[2].frictionalPressureLoss,IN_con_1[1].geodeticPressureLoss,IN_con_1[1].massFlowRateCorrection,IN_con_1[1].momentumPressureLoss,IN_con_1[1].voidFractionApproach,IN_con_1[1].frictionalPressureLoss) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003321/1.336, allocations: 229 kB / 0.5536 GB, free: 121.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/1.337, allocations: 78.62 kB / 0.5537 GB, free: 121.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/1.338, allocations: 498.9 kB / 0.5541 GB, free: 121.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.338, allocations: 7.75 kB / 0.5542 GB, free: 121.3 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.338, allocations: 7 kB / 0.5542 GB, free: 121.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.338, allocations: 7.375 kB / 0.5542 GB, free: 121.3 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/1.341, allocations: 0.6997 MB / 0.5548 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.341, allocations: 7.453 kB / 0.5549 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.342, allocations: 233.5 kB / 0.5551 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/1.343, allocations: 7.812 kB / 0.5551 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.343, allocations: 21.94 kB / 0.5551 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/1.343, allocations: 11.94 kB / 0.5551 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.343, allocations: 10.69 kB / 0.5551 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/1.345, allocations: 2.263 MB / 0.5573 GB, free: 118.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/1.345, allocations: 159.4 kB / 0.5575 GB, free: 118.5 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.345, allocations: 11.95 kB / 0.5575 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.348, allocations: 170.2 kB / 0.5577 GB, free: 118.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/1.348, allocations: 136 kB / 0.5578 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/1.348, allocations: 30.38 kB / 0.5578 GB, free: 118.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.000975/1.349, allocations: 0.555 MB / 0.5584 GB, free: 117.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.152e-06/1.349, allocations: 0 / 0.5584 GB, free: 117.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.003443/1.353, allocations: 0.5249 MB / 0.5589 GB, free: 117.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004544/1.357, allocations: 4.454 MB / 0.5632 GB, free: 112.9 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.002363/1.36, allocations: 0.9234 MB / 0.5641 GB, free: 112.2 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.36, allocations: 4.062 kB / 0.5641 GB, free: 112.2 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/1.362, allocations: 0.732 MB / 0.5648 GB, free: 111.6 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/1.363, allocations: 114.2 kB / 0.565 GB, free: 111.5 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/1.37, allocations: 1.756 MB / 0.5667 GB, free: 110 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/1.37, allocations: 1.14 MB / 0.5678 GB, free: 109 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002033/1.372, allocations: 439.6 kB / 0.5682 GB, free: 108.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007176/1.373, allocations: 303.9 kB / 0.5685 GB, free: 108.4 MB / 458.8 MB Notification: Performance of SimCode: time 1.623e-06/1.373, allocations: 0 / 0.5685 GB, free: 108.4 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06211/1.435, allocations: 22.5 MB / 0.5905 GB, free: 86.2 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.436, allocations: 208.2 kB / 0.5907 GB, free: 85.97 MB / 458.8 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_functions.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_functions.c:196:455: error: passing 'Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__overall__IN__con' to parameter of incompatible type 'Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__con' _DP = (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_min, _Re_lam_max, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__laminar__DP(threadData, _IN_con_lam, _IN_var, _m_flow)) + (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_max, _Re_lam_min, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__DP(threadData, _IN_con, _IN_var, _m_flow)); ^~~~~~~ ./ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_functions.h:463:192: note: passing argument to parameter '_IN_con' here modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__DP(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__var _IN_var, modelica_real _m_flow); ^ 2 warnings and 1 error generated. : recipe for target 'ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_functions.o' failed make: *** [ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_functions.o] Error 1