Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.256/2.256, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.016e-05, allocations: 4 kB / 305 MB, free: 5.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3275, allocations: 54.86 MB / 359.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.477, allocations: 97.43 MB / 457.2 MB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.4774, allocations: 91.94 kB / 457.3 MB, free: 15.42 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.2/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.2/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.08154/0.5589, allocations: 17.76 MB / 475.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.748e-06/0.559, allocations: 0 / 475.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.559, allocations: 4 kB / 475.1 MB, free: 13.59 MB / 410.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.001216/0.5602, allocations: 0.623 MB / 475.7 MB, free: 12.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5603, allocations: 8.031 kB / 475.7 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.5604, allocations: 39.61 kB / 475.8 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.5608, allocations: 234.7 kB / 476 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.5608, allocations: 20.78 kB / 476 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/0.5609, allocations: 35.92 kB / 476.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.5618, allocations: 438 kB / 476.5 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5618, allocations: 3.953 kB / 476.5 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.5619, allocations: 8 kB / 476.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-05/0.562, allocations: 40.75 kB / 476.5 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009839/0.563, allocations: 0.5129 MB / 477 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.5656, allocations: 1.354 MB / 478.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.5663, allocations: 257.9 kB / 478.6 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.5665, allocations: 88.81 kB / 478.7 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.5666, allocations: 12.38 kB / 478.7 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.5666, allocations: 34.56 kB / 478.8 MB, free: 9.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.539e-06/0.5667, allocations: 0 / 478.8 MB, free: 9.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005854/0.5673, allocations: 225.6 kB / 479 MB, free: 9.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.5673, allocations: 55.41 kB / 479.1 MB, free: 9.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.5675, allocations: 126.6 kB / 479.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.5675, allocations: 29.7 kB / 479.2 MB, free: 9.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.5677, allocations: 187.9 kB / 479.4 MB, free: 9.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.5678, allocations: 94.69 kB / 479.5 MB, free: 8.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.5679, allocations: 4 kB / 479.5 MB, free: 8.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5681, allocations: 326.8 kB / 479.8 MB, free: 8.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.5683, allocations: 75.91 kB / 479.9 MB, free: 8.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.5685, allocations: 158.2 kB / 480 MB, free: 8.328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.5688, allocations: 99.86 kB / 480.1 MB, free: 8.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.5688, allocations: 0 / 480.1 MB, free: 8.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000655/0.5695, allocations: 289 kB / 480.4 MB, free: 7.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5695, allocations: 5.719 kB / 480.4 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5695, allocations: 4.344 kB / 480.4 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5696, allocations: 8 kB / 480.4 MB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000757/0.5703, allocations: 131.8 kB / 480.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.5722, allocations: 2.364 MB / 482.9 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.5724, allocations: 36.02 kB / 483 MB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.5725, allocations: 19.98 kB / 483 MB, free: 5.285 MB / 410.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.000156/0.5727, allocations: 124.8 kB / 483.1 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.5727, allocations: 15.89 kB / 483.1 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.5737, allocations: 338.9 kB / 483.4 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.092e-06/0.5737, allocations: 7.953 kB / 483.5 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.311e-06/0.5738, allocations: 0 / 483.5 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.977e-06/0.5738, allocations: 3.984 kB / 483.5 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.5744, allocations: 337.3 kB / 483.8 MB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-06/0.5744, allocations: 0 / 483.8 MB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.5751, allocations: 119.8 kB / 483.9 MB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5751, allocations: 4 kB / 483.9 MB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.5751, allocations: 15.98 kB / 483.9 MB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.5769, allocations: 2.36 MB / 486.3 MB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.37e-06/0.5769, allocations: 0 / 486.3 MB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.5776, allocations: 347.7 kB / 486.6 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.5777, allocations: 96.81 kB / 486.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.5777, allocations: 4 kB / 486.7 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.5779, allocations: 15.98 kB / 486.7 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.578, allocations: 23.97 kB / 486.8 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.5781, allocations: 8 kB / 486.8 MB, free: 1.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.814e-05/0.5782, allocations: 102.5 kB / 486.9 MB, free: 1.211 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.5782, allocations: 0 / 486.9 MB, free: 1.211 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001091/0.5793, allocations: 271.3 kB / 487.1 MB, free: 0.9453 MB / 410.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.0009018/0.5802, allocations: 390.5 kB / 487.5 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008429/0.5811, allocations: 248.9 kB / 487.8 MB, free: 316 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.181e-06/0.5811, allocations: 0 / 487.8 MB, free: 316 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.5816, allocations: 155.8 kB / 487.9 MB, free: 160 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.5819, allocations: 8 kB / 487.9 MB, free: 152 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.5829, allocations: 400.5 kB / 488.3 MB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.5835, allocations: 0.8138 MB / 489.1 MB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.5839, allocations: 97.84 kB / 489.2 MB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.584, allocations: 31.42 kB / 489.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.671e-06/0.5841, allocations: 0 / 489.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of Templates: time 0.01555/0.5996, allocations: 5.807 MB / 495.1 MB, free: 8.965 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.c clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.c ModelicaTest_3.2.2_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.2_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.2_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.2_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 errors generated. : recipe for target 'ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o] Error 1