Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") 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.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001753/0.001753, allocations: 176 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007924/0.0007925, allocations: 96.02 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3566/0.3566, allocations: 43.57 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.000548, allocations: 16 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1516, allocations: 58.85 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.593/1.744, allocations: 0.6174 GB / 1.097 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/1.745, allocations: 99.56 kB / 1.097 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8161/2.561, allocations: 244.8 MB / 1.337 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.909e-06/2.561, allocations: 1.5 kB / 1.337 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.459e-05/2.561, allocations: 17.19 kB / 1.337 GB, free: 102.5 MB / 0.5105 GB 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.004411/2.566, allocations: 1.039 MB / 1.338 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/2.566, allocations: 10.56 kB / 1.338 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/2.567, allocations: 143.2 kB / 1.338 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/2.569, allocations: 0.5083 MB / 1.338 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/2.569, allocations: 27.69 kB / 1.338 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/2.569, allocations: 42.84 kB / 1.338 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/2.571, allocations: 0.6058 MB / 1.339 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/2.571, allocations: 0 / 1.339 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/2.571, allocations: 22.62 kB / 1.339 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/2.571, allocations: 18.45 kB / 1.339 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/2.572, allocations: 494.4 kB / 1.339 GB, free: 101.5 MB / 0.5105 GB 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.003899/2.576, allocations: 2.642 MB / 1.342 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/2.577, allocations: 329.6 kB / 1.342 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/2.577, allocations: 165 kB / 1.342 GB, free: 99.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/2.578, allocations: 1.309 MB / 1.344 GB, free: 98.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/2.578, allocations: 41.08 kB / 1.344 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 5.05e-06/2.578, allocations: 0 / 1.344 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001767/2.58, allocations: 0.7147 MB / 1.344 GB, free: 98.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/2.58, allocations: 135.4 kB / 1.345 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008075/2.581, allocations: 0.49 MB / 1.345 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.966e-05/2.581, allocations: 30.98 kB / 1.345 GB, free: 98.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/2.581, allocations: 277.7 kB / 1.345 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/2.581, allocations: 118.4 kB / 1.346 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/2.582, allocations: 11.88 kB / 1.346 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000142/2.582, allocations: 364 kB / 1.346 GB, free: 97.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/2.582, allocations: 188.8 kB / 1.346 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/2.583, allocations: 329.2 kB / 1.346 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/2.584, allocations: 494.4 kB / 1.347 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/2.584, allocations: 1.062 kB / 1.347 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001562/2.585, allocations: 0.6429 MB / 1.347 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/2.585, allocations: 10.31 kB / 1.347 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/2.585, allocations: 2.781 kB / 1.347 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/2.587, allocations: 236.8 kB / 1.348 GB, free: 97.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/2.587, allocations: 138.2 kB / 1.348 GB, free: 97.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008238/2.595, allocations: 23.12 MB / 1.37 GB, free: 73.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/2.596, allocations: 69.56 kB / 1.37 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/2.597, allocations: 47.8 kB / 1.371 GB, free: 73.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 45 * 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.0007221/2.597, allocations: 187.3 kB / 1.371 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/2.598, allocations: 54.31 kB / 1.371 GB, free: 73.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/2.6, allocations: 0.689 MB / 1.371 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/2.6, allocations: 3.094 kB / 1.371 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/2.6, allocations: 0 / 1.371 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/2.6, allocations: 4.672 kB / 1.371 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/2.602, allocations: 0.9556 MB / 1.372 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/2.602, allocations: 4.438 kB / 1.372 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/2.602, allocations: 54.97 kB / 1.372 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/2.603, allocations: 230.9 kB / 1.373 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/2.603, allocations: 13.66 kB / 1.373 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004573/2.604, allocations: 0.5951 MB / 1.373 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/2.604, allocations: 1.125 kB / 1.373 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/2.605, allocations: 490 kB / 1.374 GB, free: 72.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/2.605, allocations: 163.2 kB / 1.374 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/2.605, allocations: 13.31 kB / 1.374 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/2.606, allocations: 39.16 kB / 1.374 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/2.606, allocations: 22.09 kB / 1.374 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/2.606, allocations: 14.23 kB / 1.374 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000658/2.607, allocations: 383.8 kB / 1.374 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.054e-06/2.607, allocations: 3.531 kB / 1.374 GB, free: 71.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00298/2.61, allocations: 484.7 kB / 1.375 GB, free: 71.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (25): * Single equations (assignments): 24 * 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.003776/2.613, allocations: 1.223 MB / 1.376 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001529/2.615, allocations: 465 kB / 1.376 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/2.615, allocations: 0.9062 kB / 1.376 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000383/2.615, allocations: 156.3 kB / 1.377 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/2.617, allocations: 282 kB / 1.377 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/2.62, allocations: 1.058 MB / 1.378 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/2.62, allocations: 0.8597 MB / 1.379 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001022/2.621, allocations: 201 kB / 1.379 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/2.621, allocations: 70.52 kB / 1.379 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/2.621, allocations: 0 / 1.379 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of Templates: time 0.04505/2.666, allocations: 27 MB / 1.405 GB, free: 68.76 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_3_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.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c:266:157: 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[6] /* 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[11] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[10] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[12] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[9] /* 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[19] /* fitting1.dp variable */, data->localData[0]->realVars[20] /* fitting1.eta_a variable */, data->localData[0]->realVars[21] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[19] /* fitting1.dp variable */, data->localData[0]->realVars[17] /* fitting1.d_a variable */, data->localData[0]->realVars[18] /* fitting1.d_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[19] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.h:1811: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. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o] Error 1