Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004384/0.004389, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.812/3.812, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003605/0.003604, allocations: 218.1 kB / 397.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6502/0.6502, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008292/0.0008296, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09699, allocations: 48.71 MB / 0.6067 GB, free: 4.625 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.078/2.175, allocations: 0.6068 GB / 1.214 GB, free: 59.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/2.175, allocations: 97.25 kB / 1.214 GB, free: 58.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451/3.627, allocations: 243 MB / 1.451 GB, free: 74.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.365e-06/3.627, allocations: 0 / 1.451 GB, free: 74.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.887e-05/3.627, allocations: 15.89 kB / 1.451 GB, free: 74.83 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003492/3.63, allocations: 1.032 MB / 1.452 GB, free: 74.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/3.63, allocations: 7.188 kB / 1.452 GB, free: 74.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/3.632, allocations: 140.7 kB / 1.452 GB, free: 74.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/3.634, allocations: 0.5451 MB / 1.453 GB, free: 74.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/3.634, allocations: 31.59 kB / 1.453 GB, free: 74.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/3.634, allocations: 40.06 kB / 1.453 GB, free: 74.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/3.636, allocations: 0.5908 MB / 1.453 GB, free: 74.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/3.636, allocations: 8.531 kB / 1.453 GB, free: 74.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/3.636, allocations: 20.59 kB / 1.453 GB, free: 74.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/3.636, allocations: 10.91 kB / 1.453 GB, free: 74.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/3.638, allocations: 492.1 kB / 1.454 GB, free: 74.03 MB / 442.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.00446/3.642, allocations: 2.595 MB / 1.456 GB, free: 72.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/3.643, allocations: 315.4 kB / 1.457 GB, free: 72.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/3.644, allocations: 170 kB / 1.457 GB, free: 72.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/3.646, allocations: 1.312 MB / 1.458 GB, free: 71.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/3.646, allocations: 39.75 kB / 1.458 GB, free: 71.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/3.646, allocations: 0 / 1.458 GB, free: 71.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002867/3.649, allocations: 0.6864 MB / 1.459 GB, free: 70.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/3.649, allocations: 137.6 kB / 1.459 GB, free: 70.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/3.649, allocations: 442.2 kB / 1.459 GB, free: 70.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/3.65, allocations: 30.98 kB / 1.459 GB, free: 70.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/3.65, allocations: 289.5 kB / 1.46 GB, free: 70.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/3.65, allocations: 122.8 kB / 1.46 GB, free: 70.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/3.65, allocations: 12.86 kB / 1.46 GB, free: 70.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/3.65, allocations: 358.9 kB / 1.46 GB, free: 70.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/3.651, allocations: 194 kB / 1.46 GB, free: 70.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/3.651, allocations: 365.2 kB / 1.461 GB, free: 69.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/3.652, allocations: 245.2 kB / 1.461 GB, free: 69.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/3.652, allocations: 7.641 kB / 1.461 GB, free: 69.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00199/3.654, allocations: 0.6694 MB / 1.462 GB, free: 69.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/3.654, allocations: 7.812 kB / 1.462 GB, free: 69.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/3.654, allocations: 4.875 kB / 1.462 GB, free: 69.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/3.656, allocations: 241.2 kB / 1.462 GB, free: 69.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009672/3.657, allocations: 153.1 kB / 1.462 GB, free: 69.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00766/3.665, allocations: 23.1 MB / 1.485 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/3.666, allocations: 65.91 kB / 1.485 GB, free: 46.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/3.666, allocations: 49.64 kB / 1.485 GB, free: 46.06 MB / 442.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.0004217/3.667, allocations: 199.5 kB / 1.485 GB, free: 45.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/3.667, allocations: 47.84 kB / 1.485 GB, free: 45.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/3.669, allocations: 0.6737 MB / 1.486 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/3.669, allocations: 3.125 kB / 1.486 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/3.669, allocations: 0 / 1.486 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/3.669, allocations: 7.797 kB / 1.486 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/3.672, allocations: 1.48 MB / 1.487 GB, free: 45.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/3.672, allocations: 3.312 kB / 1.487 GB, free: 45.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/3.673, allocations: 59.66 kB / 1.487 GB, free: 45.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/3.675, allocations: 235.2 kB / 1.487 GB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/3.675, allocations: 12.53 kB / 1.487 GB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000463/3.675, allocations: 0.5971 MB / 1.488 GB, free: 44.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/3.675, allocations: 3.969 kB / 1.488 GB, free: 44.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/3.676, allocations: 0.5204 MB / 1.488 GB, free: 44.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/3.677, allocations: 150.2 kB / 1.489 GB, free: 44.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/3.677, allocations: 8.969 kB / 1.489 GB, free: 44.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/3.677, allocations: 32.55 kB / 1.489 GB, free: 44.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/3.677, allocations: 26.5 kB / 1.489 GB, free: 44.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/3.677, allocations: 26.33 kB / 1.489 GB, free: 44.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005316/3.678, allocations: 324.6 kB / 1.489 GB, free: 44.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/3.678, allocations: 0.9688 kB / 1.489 GB, free: 44.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002657/3.681, allocations: 487.5 kB / 1.489 GB, free: 44.1 MB / 442.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.003289/3.684, allocations: 1.222 MB / 1.491 GB, free: 43.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/3.686, allocations: 476.1 kB / 1.491 GB, free: 43.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/3.686, allocations: 1.312 kB / 1.491 GB, free: 43.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/3.687, allocations: 171.2 kB / 1.491 GB, free: 43.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/3.689, allocations: 250.7 kB / 1.491 GB, free: 43.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/3.693, allocations: 1.637 MB / 1.493 GB, free: 43.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/3.694, allocations: 0.8755 MB / 1.494 GB, free: 42.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00145/3.695, allocations: 174.9 kB / 1.494 GB, free: 42.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/3.696, allocations: 76.52 kB / 1.494 GB, free: 42.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/3.696, allocations: 0 / 1.494 GB, free: 42.64 MB / 442.7 MB Notification: Performance of Templates: time 0.06005/3.756, allocations: 25.39 MB / 1.519 GB, free: 41.63 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_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_1_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.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c\nModelicaTest_3.2.1_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.1_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.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o\' failed\nmake: *** [ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o] Error 1\n'