Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|d_hyd|A_cross|eta|rho|Re_cir|Re_rec|vel_cir|vel_rec|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow|input_p2.y|IN_p2.ports.1..m_flow|IN_p2.ports.1..p|IN_p2.ports.1..h_outflow|OUT_dp2.ports.1..m_flow|OUT_dp2.ports.1..p|OUT_dp2.ports.1..h_outflow|OUT_mflow2.ports.1..m_flow|OUT_mflow2.ports.1..p|OUT_mflow2.ports.1..h_outflow|IN_mflow2.ports.1..m_flow|IN_mflow2.ports.1..p|IN_mflow2.ports.1..h_outflow|from_dp2.port_b.m_flow|from_dp2.port_b.p|from_dp2.port_b.h_outflow|from_mflow2.port_b.m_flow|from_mflow2.port_b.p|from_mflow2.port_b.h_outflow|input_p3.y|IN_p3.ports.1..m_flow|IN_p3.ports.1..p|IN_p3.ports.1..h_outflow|OUT_dp3.ports.1..m_flow|OUT_dp3.ports.1..p|OUT_dp3.ports.1..h_outflow|OUT_mflow3.ports.1..m_flow|OUT_mflow3.ports.1..p|OUT_mflow3.ports.1..h_outflow|IN_mflow3.ports.1..m_flow|IN_mflow3.ports.1..p|IN_mflow3.ports.1..h_outflow|from_dp3.port_b.m_flow|from_dp3.port_b.p|from_dp3.port_b.h_outflow|from_mflow3.port_b.m_flow|from_mflow3.port_b.p|from_mflow3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") Notification: Performance of loadModel(ModelicaTest): time 2.029/2.029, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.242e-05, allocations: 0 / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3585, allocations: 48.69 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.0811/0.4397, allocations: 41.08 MB / 366 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03207/0.4718, allocations: 14.84 MB / 380.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.4746, allocations: 71.5 kB / 380.9 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.478, allocations: 0.7111 MB / 381.6 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.4884, allocations: 2.317 MB / 383.9 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.5002, allocations: 2.366 MB / 386.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00606/0.5063, allocations: 2.051 MB / 388.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.5085, allocations: 0.8713 MB / 389.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/0.513, allocations: 1.399 MB / 390.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/0.5156, allocations: 0.8842 MB / 391.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.5279, allocations: 3.417 MB / 394.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002134/0.5301, allocations: 128 kB / 395 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.5317, allocations: 362.8 kB / 395.4 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.5335, allocations: 220 kB / 395.6 MB, free: 8.645 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.5456, allocations: 2.658 MB / 398.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5457, allocations: 0 / 398.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.566e-06/0.5457, allocations: 4 kB / 398.3 MB, free: 5.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001182/0.5459, allocations: 0 / 398.3 MB, free: 5.977 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00723/0.5531, allocations: 1.701 MB / 400 MB, free: 4.223 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.5532, allocations: 8.031 kB / 400 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/0.5561, allocations: 237.8 kB / 400.2 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/0.5606, allocations: 1.056 MB / 401.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.5609, allocations: 98.66 kB / 401.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004476/0.5613, allocations: 128 kB / 401.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008266/0.5696, allocations: 1.888 MB / 403.4 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-05/0.5698, allocations: 11.92 kB / 403.4 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005396/0.5703, allocations: 71.95 kB / 403.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.83e-05/0.5704, allocations: 36 kB / 403.5 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008323/0.5788, allocations: 1.601 MB / 405.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.6066, allocations: 9.274 MB / 414.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.6118, allocations: 1.052 MB / 415.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/0.6276, allocations: 6.318 MB / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.447e-05/0.6277, allocations: 46.56 kB / 421.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 4.839e-06/0.6278, allocations: 0 / 421.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.004755/0.6325, allocations: 0.7176 MB / 422.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002649/0.6329, allocations: 367.8 kB / 422.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005048/0.6379, allocations: 1.099 MB / 424 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00029/0.6383, allocations: 33.7 kB / 424 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/0.6406, allocations: 0.9928 MB / 425 MB, free: 9.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006219/0.6413, allocations: 169.8 kB / 425.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.6416, allocations: 36 kB / 425.2 MB, free: 8.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003506/0.642, allocations: 361.9 kB / 425.5 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.6436, allocations: 283.8 kB / 425.8 MB, free: 8.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.6462, allocations: 1.365 MB / 427.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.6485, allocations: 0.5239 MB / 427.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/0.6485, allocations: 8 kB / 427.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004527/0.6531, allocations: 1.59 MB / 429.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.6532, allocations: 20.19 kB / 429.3 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.853e-05/0.6532, allocations: 40 kB / 429.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.61e-05/0.6533, allocations: 52 kB / 429.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007742/0.6611, allocations: 0.6942 MB / 430.1 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.6634, allocations: 1.906 MB / 432 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.6663, allocations: 265.9 kB / 432.3 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/0.6667, allocations: 112 kB / 432.4 MB, free: 1.164 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001002/0.6678, allocations: 380.9 kB / 432.7 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/0.6682, allocations: 146.3 kB / 432.9 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/0.6733, allocations: 1.414 MB / 434.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.6734, allocations: 8 kB / 434.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.6734, allocations: 3.984 kB / 434.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.6734, allocations: 3.984 kB / 434.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.676, allocations: 1.011 MB / 435.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.676, allocations: 4 kB / 435.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.6769, allocations: 119.8 kB / 435.5 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.6784, allocations: 182.3 kB / 435.6 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.6785, allocations: 16 kB / 435.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.68, allocations: 1.653 MB / 437.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6801, allocations: 0 / 437.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.6827, allocations: 0.8886 MB / 438.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009838/0.6837, allocations: 342.6 kB / 438.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/0.6842, allocations: 16 kB / 438.5 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.6854, allocations: 51.95 kB / 438.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6855, allocations: 48.59 kB / 438.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.6857, allocations: 35.97 kB / 438.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001999/0.6877, allocations: 0.8357 MB / 439.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.6877, allocations: 0 / 439.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0035/0.6913, allocations: 0.7332 MB / 440.2 MB, free: 9.086 MB / 378.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 (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002841/0.6942, allocations: 0.6552 MB / 440.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008531/0.7027, allocations: 1.187 MB / 442.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.7028, allocations: 0 / 442.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.704, allocations: 332 kB / 442.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004757/0.7088, allocations: 0.5476 MB / 443 MB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.7151, allocations: 2.865 MB / 445.8 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.7163, allocations: 1.286 MB / 447.1 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002496/0.7188, allocations: 385.2 kB / 447.5 MB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.7193, allocations: 147.4 kB / 447.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7193, allocations: 0 / 447.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of Templates: time 0.08531/0.8046, allocations: 28.78 MB / 476.4 MB, free: 4.934 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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_TestCases_PressureLoss_SeveralTestCases -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.c ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.c:613:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry' to parameter of incompatible type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con' data->localData[0]->realVars[233] /* from_dp3.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[69] /* from_dp3.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[68] /* from_dp3.geometry.R_0 PARAM */, data->simulationInfo->realParameter[70] /* from_dp3.geometry.delta PARAM */, data->simulationInfo->realParameter[67] /* from_dp3.geometry.K PARAM */), tmp0, data->localData[0]->realVars[230] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_functions.h:567:187: note: passing argument to parameter '_IN_con' here modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _dp); ^ 1 error generated. : recipe for target 'ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.o' failed make: *** [ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.o] Error 1