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.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.429/2.429, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.392e-05/5.377e-05, allocations: 3.938 kB / 323.4 MB, free: 4.301 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3199, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4752, allocations: 102.4 MB / 484.6 MB, free: 6.078 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.4756, allocations: 99.92 kB / 484.7 MB, free: 5.98 MB / 410.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.3/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.3/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.3/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.3/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.07984/0.5555, allocations: 17.81 MB / 0.4908 GB, free: 4.047 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.052e-06/0.5555, allocations: 0 / 0.4908 GB, free: 4.047 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.5555, allocations: 4 kB / 0.4908 GB, free: 4.043 MB / 426.8 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.001237/0.5568, allocations: 0.6373 MB / 0.4914 GB, free: 3.363 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5568, allocations: 8.031 kB / 0.4914 GB, free: 3.355 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.5569, allocations: 35.58 kB / 0.4914 GB, free: 3.32 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.5573, allocations: 242.6 kB / 0.4917 GB, free: 3.043 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.5574, allocations: 28.75 kB / 0.4917 GB, free: 3.016 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.5574, allocations: 24 kB / 0.4917 GB, free: 2.992 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008721/0.5583, allocations: 434 kB / 0.4921 GB, free: 2.559 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5583, allocations: 0 / 0.4921 GB, free: 2.559 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.5584, allocations: 12 kB / 0.4922 GB, free: 2.547 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/0.5585, allocations: 36.75 kB / 0.4922 GB, free: 2.512 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.5595, allocations: 0.5168 MB / 0.4927 GB, free: 1.996 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.562, allocations: 1.35 MB / 0.494 GB, free: 0.5273 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.5627, allocations: 258.5 kB / 0.4943 GB, free: 272 kB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.5629, allocations: 84.81 kB / 0.4943 GB, free: 184 kB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.563, allocations: 12.38 kB / 0.4944 GB, free: 172 kB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.563, allocations: 34.56 kB / 0.4944 GB, free: 128 kB / 426.8 MB Notification: Performance of pre-optimization done (n=25): time 3.191e-06/0.563, allocations: 0 / 0.4944 GB, free: 128 kB / 426.8 MB Notification: Performance of matching and sorting (n=25): time 0.000587/0.5636, allocations: 221.7 kB / 0.4946 GB, free: 15.9 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5637, allocations: 55.41 kB / 0.4947 GB, free: 15.84 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.5638, allocations: 125.2 kB / 0.4948 GB, free: 15.7 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.5639, allocations: 29.7 kB / 0.4948 GB, free: 15.67 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.5641, allocations: 195.8 kB / 0.495 GB, free: 15.47 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.5642, allocations: 86.75 kB / 0.4951 GB, free: 15.38 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.5642, allocations: 8 kB / 0.4951 GB, free: 15.38 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5644, allocations: 330.8 kB / 0.4954 GB, free: 15.04 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.5646, allocations: 71.97 kB / 0.4955 GB, free: 14.97 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.5648, allocations: 158.1 kB / 0.4956 GB, free: 14.78 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.5651, allocations: 107.8 kB / 0.4957 GB, free: 14.68 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.563e-06/0.5651, allocations: 0 / 0.4957 GB, free: 14.68 MB / 442.8 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006586/0.5658, allocations: 285.1 kB / 0.496 GB, free: 14.39 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5658, allocations: 8 kB / 0.496 GB, free: 14.38 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.824e-06/0.5658, allocations: 4.344 kB / 0.496 GB, free: 14.38 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5659, allocations: 8 kB / 0.496 GB, free: 14.37 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/0.5666, allocations: 123.8 kB / 0.4961 GB, free: 14.25 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.5685, allocations: 2.364 MB / 0.4984 GB, free: 11.79 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.5687, allocations: 39.62 kB / 0.4985 GB, free: 11.75 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.5688, allocations: 24.27 kB / 0.4985 GB, free: 11.73 MB / 442.8 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.0001323/0.569, allocations: 116.9 kB / 0.4986 GB, free: 11.61 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.569, allocations: 11.91 kB / 0.4986 GB, free: 11.6 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009473/0.57, allocations: 345.8 kB / 0.4989 GB, free: 11.25 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-06/0.57, allocations: 4 kB / 0.4989 GB, free: 11.24 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.57, allocations: 0 / 0.4989 GB, free: 11.24 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.468e-06/0.57, allocations: 3.984 kB / 0.499 GB, free: 11.24 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.5707, allocations: 341.3 kB / 0.4993 GB, free: 10.86 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.996e-06/0.5707, allocations: 4 kB / 0.4993 GB, free: 10.85 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/0.5714, allocations: 115.9 kB / 0.4994 GB, free: 10.74 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.961e-06/0.5714, allocations: 7.922 kB / 0.4994 GB, free: 10.73 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.5714, allocations: 8 kB / 0.4994 GB, free: 10.72 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.5732, allocations: 2.36 MB / 0.5017 GB, free: 8.27 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-06/0.5732, allocations: 0 / 0.5017 GB, free: 8.27 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.5738, allocations: 343.8 kB / 0.502 GB, free: 7.918 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.5739, allocations: 92.86 kB / 0.5021 GB, free: 7.809 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.574, allocations: 8 kB / 0.5021 GB, free: 7.801 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.5742, allocations: 19.94 kB / 0.5022 GB, free: 7.781 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.5743, allocations: 19.97 kB / 0.5022 GB, free: 7.762 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.5743, allocations: 8 kB / 0.5022 GB, free: 7.754 MB / 442.8 MB Notification: Performance of sorting global known variables: time 9.851e-05/0.5744, allocations: 101.5 kB / 0.5023 GB, free: 7.656 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.39e-07/0.5744, allocations: 3.938 kB / 0.5023 GB, free: 7.652 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001012/0.5755, allocations: 263.3 kB / 0.5025 GB, free: 7.395 MB / 442.8 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.0009692/0.5764, allocations: 408.8 kB / 0.5029 GB, free: 6.988 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0008076/0.5773, allocations: 247.7 kB / 0.5032 GB, free: 6.746 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.1e-06/0.5773, allocations: 0.6875 kB / 0.5032 GB, free: 6.746 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.5778, allocations: 151.8 kB / 0.5033 GB, free: 6.598 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.5781, allocations: 8 kB / 0.5033 GB, free: 6.59 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009937/0.5791, allocations: 393.3 kB / 0.5037 GB, free: 6.188 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.5796, allocations: 0.8102 MB / 0.5045 GB, free: 5.352 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0004724/0.5801, allocations: 105.8 kB / 0.5046 GB, free: 5.246 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.5802, allocations: 27.42 kB / 0.5046 GB, free: 5.219 MB / 442.8 MB Notification: Performance of SimCode: time 1.578e-06/0.5802, allocations: 0 / 0.5046 GB, free: 5.219 MB / 442.8 MB Notification: Performance of Templates: time 0.01498/0.5952, allocations: 5.803 MB / 0.5103 GB, free: 15.42 MB / 458.8 MB make -j1 -f ModelicaTest_3.2.3_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_3_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.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.o ModelicaTest_3.2.3_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_3_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.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.c ModelicaTest_3.2.3_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.3_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.3_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.3_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.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_functions.o] Error 1