Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.329e-05/4.39e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.5725, allocations: 90.66 MB / 412.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003915/0.5729, allocations: 91.94 kB / 412.6 MB, free: 14.86 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6094:11-6097:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.08958/0.6625, allocations: 17.76 MB / 430.4 MB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6626, allocations: 3.938 kB / 430.4 MB, free: 13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.6626, allocations: 4 kB / 430.4 MB, free: 13 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001493/0.6641, allocations: 0.6269 MB / 431 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.6642, allocations: 12.03 kB / 431 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.6643, allocations: 78.52 kB / 431.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.073e-05/0.6644, allocations: 31.58 kB / 431.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.6649, allocations: 234.7 kB / 431.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.6649, allocations: 24.77 kB / 431.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.665, allocations: 28 kB / 431.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.6661, allocations: 443.5 kB / 431.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.6661, allocations: 0 / 431.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.6662, allocations: 12 kB / 431.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.344e-05/0.6663, allocations: 44.75 kB / 431.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.6676, allocations: 0.5145 MB / 432.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.671, allocations: 1.345 MB / 433.8 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/0.6719, allocations: 278.4 kB / 434 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.6722, allocations: 84.83 kB / 434.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.6723, allocations: 4 kB / 434.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.6723, allocations: 38.5 kB / 434.2 MB, free: 8.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.116e-06/0.6724, allocations: 0 / 434.2 MB, free: 8.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007212/0.6731, allocations: 217.8 kB / 434.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.6731, allocations: 55.41 kB / 434.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.6733, allocations: 125.2 kB / 434.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.6734, allocations: 33.7 kB / 434.6 MB, free: 8.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.6735, allocations: 196.1 kB / 434.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.6737, allocations: 86.75 kB / 434.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.6737, allocations: 8 kB / 434.9 MB, free: 8.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6739, allocations: 326.8 kB / 435.2 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.6741, allocations: 75.81 kB / 435.3 MB, free: 7.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.6744, allocations: 154.3 kB / 435.4 MB, free: 7.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.6748, allocations: 112 kB / 435.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6748, allocations: 0 / 435.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000855/0.6757, allocations: 289.5 kB / 435.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.6757, allocations: 7.938 kB / 435.8 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6757, allocations: 4 kB / 435.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.6758, allocations: 7.984 kB / 435.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6769, allocations: 135.8 kB / 436 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.6786, allocations: 2.364 MB / 438.3 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.679, allocations: 35.8 kB / 438.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.6791, allocations: 15.98 kB / 438.4 MB, free: 4.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.6793, allocations: 124.9 kB / 438.5 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.6793, allocations: 15.84 kB / 438.5 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.6805, allocations: 342.4 kB / 438.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6805, allocations: 0 / 438.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.6806, allocations: 8 kB / 438.8 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6806, allocations: 3.984 kB / 438.9 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.6813, allocations: 345.2 kB / 439.2 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6813, allocations: 4 kB / 439.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009903/0.6823, allocations: 119.9 kB / 439.3 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.6823, allocations: 0 / 439.3 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.6824, allocations: 8 kB / 439.3 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.684, allocations: 2.36 MB / 441.7 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.684, allocations: 288 / 441.7 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.6848, allocations: 339.3 kB / 442 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.6849, allocations: 96.8 kB / 442.1 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.6849, allocations: 8 kB / 442.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.6852, allocations: 19.94 kB / 442.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.6854, allocations: 23.91 kB / 442.2 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.6854, allocations: 15.98 kB / 442.2 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.6855, allocations: 100.5 kB / 442.3 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6855, allocations: 0 / 442.3 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001115/0.6866, allocations: 267.3 kB / 442.5 MB, free: 236 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002398/0.6891, allocations: 1.153 MB / 443.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.6902, allocations: 255.7 kB / 443.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6903, allocations: 0 / 443.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006465/0.6909, allocations: 147.8 kB / 444.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.6912, allocations: 16.58 kB / 444.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.6933, allocations: 0.5915 MB / 444.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.6939, allocations: 0.8023 MB / 445.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000576/0.6945, allocations: 97.86 kB / 445.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.6947, allocations: 91.39 kB / 445.7 MB, free: 13 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6947, allocations: 0 / 445.7 MB, free: 13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04867/0.7434, allocations: 8.392 MB / 454.1 MB, free: 4.715 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.7438, allocations: 233.7 kB / 454.3 MB, free: 4.445 MB / 378.7 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_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_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_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_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_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c:246: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_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.h:385: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); ^ ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c:581: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' _M_FLOW = (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_min, _Re_turb, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__laminar__MFLOW(threadData, _IN_con_lam, _IN_var, _dp)) + (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_turb, _Re_lam_min, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__MFLOW(threadData, _IN_con, _IN_var, _dp)); ^~~~~~~ ./ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.h:411:195: note: passing argument to parameter '_IN_con' here modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__MFLOW(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 _dp); ^ 2 warnings and 2 errors generated. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o] Error 1