Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002931/0.002936, allocations: 359.5 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.348/4.348, allocations: 388.9 MB / 405.6 MB, free: 9.664 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.006135/0.006134, allocations: 228.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5806/0.5806, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004979, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1004, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.255/2.356, allocations: 0.6137 GB / 1.294 GB, free: 152.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005029/2.356, allocations: 104.3 kB / 1.294 GB, free: 152.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313/3.669, allocations: 243.1 MB / 1.531 GB, free: 105 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.996e-06/3.669, allocations: 0 / 1.531 GB, free: 105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.772e-05/3.669, allocations: 14.91 kB / 1.531 GB, free: 105 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003584/3.673, allocations: 1.04 MB / 1.532 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/3.673, allocations: 10.94 kB / 1.532 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/3.675, allocations: 137.2 kB / 1.532 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/3.676, allocations: 0.5463 MB / 1.533 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/3.676, allocations: 32.5 kB / 1.533 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/3.677, allocations: 43.53 kB / 1.533 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/3.678, allocations: 0.5879 MB / 1.534 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/3.678, allocations: 5.875 kB / 1.534 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.985e-05/3.678, allocations: 20.28 kB / 1.534 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/3.678, allocations: 16.84 kB / 1.534 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/3.68, allocations: 484.8 kB / 1.534 GB, free: 104 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/3.684, allocations: 2.597 MB / 1.537 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/3.686, allocations: 315.3 kB / 1.537 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/3.686, allocations: 176.4 kB / 1.537 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001754/3.688, allocations: 1.311 MB / 1.538 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/3.688, allocations: 44.31 kB / 1.539 GB, free: 101 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.437e-06/3.688, allocations: 0 / 1.539 GB, free: 101 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002586/3.691, allocations: 0.6823 MB / 1.539 GB, free: 100.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/3.691, allocations: 133.7 kB / 1.539 GB, free: 100.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/3.691, allocations: 437.5 kB / 1.54 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/3.692, allocations: 35.89 kB / 1.54 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/3.692, allocations: 291.1 kB / 1.54 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/3.692, allocations: 118.8 kB / 1.54 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/3.692, allocations: 11.53 kB / 1.54 GB, free: 100.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/3.692, allocations: 359.5 kB / 1.54 GB, free: 100 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/3.693, allocations: 192.4 kB / 1.541 GB, free: 100 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/3.693, allocations: 369.1 kB / 1.541 GB, free: 99.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/3.694, allocations: 244.3 kB / 1.541 GB, free: 99.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/3.694, allocations: 0 / 1.541 GB, free: 99.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001829/3.696, allocations: 0.6655 MB / 1.542 GB, free: 99.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/3.696, allocations: 7.594 kB / 1.542 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/3.696, allocations: 7.062 kB / 1.542 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/3.698, allocations: 243 kB / 1.542 GB, free: 99.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/3.699, allocations: 154 kB / 1.542 GB, free: 99.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007895/3.707, allocations: 23.11 MB / 1.565 GB, free: 75.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/3.708, allocations: 69.11 kB / 1.565 GB, free: 75.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/3.708, allocations: 57.3 kB / 1.565 GB, free: 75.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004206/3.709, allocations: 196.5 kB / 1.565 GB, free: 75.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/3.709, allocations: 47.12 kB / 1.565 GB, free: 75.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/3.711, allocations: 0.6713 MB / 1.566 GB, free: 75.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/3.711, allocations: 3.844 kB / 1.566 GB, free: 75.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/3.711, allocations: 3.891 kB / 1.566 GB, free: 75.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/3.711, allocations: 0 / 1.566 GB, free: 75.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/3.714, allocations: 1.488 MB / 1.567 GB, free: 74.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/3.714, allocations: 0 / 1.567 GB, free: 74.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/3.715, allocations: 62.78 kB / 1.567 GB, free: 74.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/3.717, allocations: 232.4 kB / 1.568 GB, free: 74.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/3.717, allocations: 15.3 kB / 1.568 GB, free: 74.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005145/3.718, allocations: 0.6003 MB / 1.568 GB, free: 74.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/3.718, allocations: 0 / 1.568 GB, free: 74.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/3.719, allocations: 0.5211 MB / 1.569 GB, free: 73.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/3.719, allocations: 147.6 kB / 1.569 GB, free: 73.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/3.72, allocations: 10.81 kB / 1.569 GB, free: 73.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/3.72, allocations: 37.34 kB / 1.569 GB, free: 73.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/3.72, allocations: 35.75 kB / 1.569 GB, free: 73.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/3.72, allocations: 12.75 kB / 1.569 GB, free: 73.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005614/3.721, allocations: 326.3 kB / 1.569 GB, free: 73.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.721, allocations: 0 / 1.569 GB, free: 73.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00296/3.724, allocations: 485 kB / 1.57 GB, free: 73.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003512/3.727, allocations: 1.226 MB / 1.571 GB, free: 73.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/3.729, allocations: 482.9 kB / 1.571 GB, free: 72.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/3.729, allocations: 0 / 1.571 GB, free: 72.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/3.73, allocations: 176.8 kB / 1.572 GB, free: 72.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/3.732, allocations: 240.8 kB / 1.572 GB, free: 72.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/3.736, allocations: 1.64 MB / 1.573 GB, free: 72.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/3.737, allocations: 0.8701 MB / 1.574 GB, free: 71.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001379/3.738, allocations: 183.4 kB / 1.574 GB, free: 71.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/3.738, allocations: 76.11 kB / 1.574 GB, free: 71.32 MB / 490.7 MB Notification: Performance of SimCode: time 1.793e-06/3.738, allocations: 0 / 1.574 GB, free: 71.32 MB / 490.7 MB Notification: Performance of Templates: time 0.07712/3.816, allocations: 25.38 MB / 1.599 GB, free: 53.39 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile b'clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_TestComponents_NewFittings_Bends_CurvedBend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c\nModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c:313:157: error: passing \'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry\' to parameter of incompatible type \'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con\'\n data->localData[0]->realVars[8] /* boundary.m_flow_in variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[7] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[6] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[8] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[5] /* fitting1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[22] /* fitting1.eta_a variable */, data->localData[0]->realVars[23] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[19] /* fitting1.d_a variable */, data->localData[0]->realVars[20] /* fitting1.d_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[21] /* fitting1.dp variable */);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.h:1811:187: note: passing argument to parameter \'_IN_con\' here\nmodelica_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);\n ^\n1 error generated.\n: recipe for target \'ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o\' failed\nmake: *** [ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o] Error 1\n'