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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.305e-05, allocations: 4 kB / 348.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 61.88 MB / 410.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.5756, allocations: 103.6 MB / 0.5018 GB, free: 472 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.5759, allocations: 95.94 kB / 0.5019 GB, free: 376 kB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6002:11-6008: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 trunk/Fluid/Dissipation.mo:6010:11-6013: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 trunk/Fluid/Dissipation.mo:6016:11-6022: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 trunk/Fluid/Dissipation.mo:6024:11-6027: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.08263/0.6586, allocations: 18.19 MB / 0.5197 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6586, allocations: 4 kB / 0.5197 GB, free: 14.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.6586, allocations: 4 kB / 0.5197 GB, free: 14.06 MB / 442.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.001215/0.6599, allocations: 0.6307 MB / 0.5203 GB, free: 13.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6599, allocations: 8.031 kB / 0.5203 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.66, allocations: 35.56 kB / 0.5204 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.6604, allocations: 238.7 kB / 0.5206 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.6605, allocations: 20.78 kB / 0.5206 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.6605, allocations: 39.92 kB / 0.5206 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.6615, allocations: 430 kB / 0.521 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6615, allocations: 0 / 0.521 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.6616, allocations: 12 kB / 0.5211 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.749e-05/0.6616, allocations: 40.75 kB / 0.5211 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.6627, allocations: 0.5129 MB / 0.5216 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.6653, allocations: 1.349 MB / 0.5229 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006642/0.666, allocations: 262.5 kB / 0.5232 GB, free: 10.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.6662, allocations: 80.83 kB / 0.5232 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.6663, allocations: 4 kB / 0.5232 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.6664, allocations: 46.45 kB / 0.5233 GB, free: 10.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.446e-06/0.6664, allocations: 4 kB / 0.5233 GB, free: 10.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006043/0.667, allocations: 219.3 kB / 0.5235 GB, free: 9.918 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.667, allocations: 51.41 kB / 0.5236 GB, free: 9.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.6672, allocations: 133.9 kB / 0.5237 GB, free: 9.715 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.6673, allocations: 25.7 kB / 0.5237 GB, free: 9.684 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.6674, allocations: 188.2 kB / 0.5239 GB, free: 9.492 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.6675, allocations: 90.73 kB / 0.524 GB, free: 9.402 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.6676, allocations: 4 kB / 0.524 GB, free: 9.398 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.6677, allocations: 330.8 kB / 0.5243 GB, free: 9.066 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.6679, allocations: 79.81 kB / 0.5244 GB, free: 8.988 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.6682, allocations: 150.3 kB / 0.5245 GB, free: 8.805 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.6685, allocations: 103 kB / 0.5246 GB, free: 8.707 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.05e-06/0.6685, allocations: 0 / 0.5246 GB, free: 8.707 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006708/0.6692, allocations: 289.1 kB / 0.5249 GB, free: 8.418 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.6692, allocations: 4 kB / 0.5249 GB, free: 8.414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6692, allocations: 7.953 kB / 0.5249 GB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6693, allocations: 4 kB / 0.5249 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.6701, allocations: 136.2 kB / 0.525 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.6719, allocations: 2.364 MB / 0.5273 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.6722, allocations: 35.72 kB / 0.5274 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.6723, allocations: 23.98 kB / 0.5274 GB, free: 5.754 MB / 442.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.0001497/0.6724, allocations: 125.1 kB / 0.5275 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.6725, allocations: 11.91 kB / 0.5275 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.6735, allocations: 345.8 kB / 0.5279 GB, free: 5.266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.618e-06/0.6735, allocations: 4 kB / 0.5279 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.856e-06/0.6735, allocations: 0 / 0.5279 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6736, allocations: 3.984 kB / 0.5279 GB, free: 5.258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.6742, allocations: 345.3 kB / 0.5282 GB, free: 4.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.531e-06/0.6742, allocations: 3.984 kB / 0.5282 GB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.6749, allocations: 111.9 kB / 0.5283 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.6749, allocations: 4 kB / 0.5283 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.6749, allocations: 8 kB / 0.5283 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.6768, allocations: 2.364 MB / 0.5306 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.989e-06/0.6768, allocations: 0 / 0.5306 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.6774, allocations: 345.2 kB / 0.531 GB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/0.6775, allocations: 92.86 kB / 0.531 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.6776, allocations: 4.188 kB / 0.531 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.6778, allocations: 19.98 kB / 0.5311 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.6779, allocations: 23.97 kB / 0.5311 GB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.6779, allocations: 8 kB / 0.5311 GB, free: 1.773 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.678, allocations: 99.77 kB / 0.5312 GB, free: 1.676 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.6781, allocations: 0 / 0.5312 GB, free: 1.676 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001044/0.6791, allocations: 263.3 kB / 0.5314 GB, free: 1.418 MB / 442.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.0009024/0.68, allocations: 400.9 kB / 0.5318 GB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008722/0.6809, allocations: 251.7 kB / 0.5321 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6809, allocations: 0 / 0.5321 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.6815, allocations: 148 kB / 0.5322 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.6817, allocations: 12 kB / 0.5322 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.6828, allocations: 399.3 kB / 0.5326 GB, free: 220 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.6834, allocations: 0.8062 MB / 0.5334 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004591/0.6838, allocations: 105.8 kB / 0.5335 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.6839, allocations: 23.44 kB / 0.5335 GB, free: 15.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.686e-06/0.684, allocations: 3.938 kB / 0.5335 GB, free: 15.25 MB / 458.7 MB Notification: Performance of Templates: time 0.0153/0.6993, allocations: 5.795 MB / 0.5392 GB, free: 9.453 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.o ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.c clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.c ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o] Error 1