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.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.905/1.905, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.771e-05, allocations: 4 kB / 273.1 MB, free: 212 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08464, allocations: 48.7 MB / 321.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.4591, allocations: 90.66 MB / 412.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00058/0.4598, allocations: 95.92 kB / 412.6 MB, free: 14.89 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.08306/0.5429, allocations: 17.75 MB / 430.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5429, allocations: 0 / 430.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.5429, allocations: 4 kB / 430.3 MB, free: 13.02 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.001209/0.5442, allocations: 0.6268 MB / 431 MB, free: 12.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5442, allocations: 12.03 kB / 431 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.5443, allocations: 35.58 kB / 431 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.5447, allocations: 234.7 kB / 431.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.5447, allocations: 24.77 kB / 431.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.5448, allocations: 28 kB / 431.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008745/0.5457, allocations: 438 kB / 431.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5457, allocations: 3.938 kB / 431.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.5458, allocations: 8 kB / 431.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-05/0.5459, allocations: 40.75 kB / 431.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.5469, allocations: 0.5129 MB / 432.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.5495, allocations: 1.349 MB / 433.6 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.5501, allocations: 266.4 kB / 433.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.5504, allocations: 88.81 kB / 434 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.5504, allocations: 8.391 kB / 434 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.5505, allocations: 34.56 kB / 434 MB, free: 9.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.43e-06/0.5505, allocations: 0 / 434 MB, free: 9.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005911/0.5511, allocations: 217.8 kB / 434.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.5511, allocations: 55.41 kB / 434.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.5513, allocations: 125.2 kB / 434.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.5514, allocations: 25.7 kB / 434.4 MB, free: 8.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.5515, allocations: 199.7 kB / 434.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.5516, allocations: 90.75 kB / 434.7 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.5517, allocations: 8 kB / 434.7 MB, free: 8.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5518, allocations: 322.8 kB / 435 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.552, allocations: 75.83 kB / 435.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.5523, allocations: 158.2 kB / 435.3 MB, free: 7.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.5526, allocations: 100.1 kB / 435.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.179e-06/0.5526, allocations: 4 kB / 435.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006926/0.5533, allocations: 285.1 kB / 435.6 MB, free: 7.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5533, allocations: 4 kB / 435.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5533, allocations: 12.27 kB / 435.7 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.5534, allocations: 11.94 kB / 435.7 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/0.5542, allocations: 127.8 kB / 435.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.556, allocations: 2.364 MB / 438.2 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.5562, allocations: 32.02 kB / 438.2 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.5563, allocations: 23.95 kB / 438.2 MB, free: 4.719 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.0001418/0.5565, allocations: 124.8 kB / 438.3 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.5565, allocations: 11.91 kB / 438.3 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/0.5575, allocations: 342.4 kB / 438.7 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.5575, allocations: 4 kB / 438.7 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.5575, allocations: 0 / 438.7 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.63e-06/0.5576, allocations: 4 kB / 438.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.5581, allocations: 349.2 kB / 439 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-06/0.5582, allocations: 0 / 439 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.5589, allocations: 115.9 kB / 439.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.5589, allocations: 4 kB / 439.1 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.5589, allocations: 11.98 kB / 439.2 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.5607, allocations: 2.364 MB / 441.5 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.878e-06/0.5607, allocations: 0 / 441.5 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.5613, allocations: 335.5 kB / 441.8 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.5614, allocations: 96.84 kB / 441.9 MB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.5615, allocations: 4 kB / 441.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.5617, allocations: 15.98 kB / 442 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.5618, allocations: 31.92 kB / 442 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.5618, allocations: 8 kB / 442 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.595e-05/0.5619, allocations: 100.5 kB / 442.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.562, allocations: 0 / 442.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001004/0.563, allocations: 263.3 kB / 442.4 MB, free: 388 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.000943/0.5639, allocations: 395 kB / 442.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008917/0.5648, allocations: 251.6 kB / 443 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5649, allocations: 0.6875 kB / 443 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.5654, allocations: 152.3 kB / 443.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.5657, allocations: 11.94 kB / 443.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.5667, allocations: 400.4 kB / 443.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.5673, allocations: 0.8102 MB / 444.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004492/0.5677, allocations: 93.81 kB / 444.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.5678, allocations: 31.42 kB / 444.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.861e-06/0.5679, allocations: 0 / 444.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01541/0.5833, allocations: 5.805 MB / 450.3 MB, free: 8.402 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.1_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_1_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.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 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_1_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.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 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 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