Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001393/0.001393, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.206/1.206, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001666/0.001666, allocations: 99.52 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2174/0.2174, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.445e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8492/0.9613, allocations: 326.8 MB / 0.7153 GB, free: 54.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.9615, allocations: 91.69 kB / 0.7154 GB, free: 54.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.567/2.529, allocations: 448.1 MB / 1.153 GB, free: 42.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/2.529, allocations: 0.875 kB / 1.153 GB, free: 42.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001091/2.529, allocations: 45.03 kB / 1.153 GB, free: 42.48 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003915/2.533, allocations: 1.924 MB / 1.155 GB, free: 41.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/2.533, allocations: 15.5 kB / 1.155 GB, free: 41.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009528/2.534, allocations: 235.6 kB / 1.155 GB, free: 41.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/2.536, allocations: 1.174 MB / 1.156 GB, free: 41.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/2.536, allocations: 104.5 kB / 1.156 GB, free: 41.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/2.536, allocations: 125.8 kB / 1.157 GB, free: 41.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/2.539, allocations: 1.877 MB / 1.158 GB, free: 40.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/2.539, allocations: 6.781 kB / 1.158 GB, free: 40.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/2.539, allocations: 69.73 kB / 1.158 GB, free: 40.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/2.539, allocations: 37.44 kB / 1.159 GB, free: 40.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/2.541, allocations: 1.546 MB / 1.16 GB, free: 40.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007564/2.549, allocations: 9.15 MB / 1.169 GB, free: 34.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/2.551, allocations: 1.012 MB / 1.17 GB, free: 34.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/2.551, allocations: 477.1 kB / 1.17 GB, free: 34.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005735/2.557, allocations: 6.898 MB / 1.177 GB, free: 28.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/2.557, allocations: 43.53 kB / 1.177 GB, free: 28.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 2.024e-06/2.557, allocations: 0 / 1.177 GB, free: 28.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.001573/2.559, allocations: 0.5803 MB / 1.178 GB, free: 28.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/2.559, allocations: 373.8 kB / 1.178 GB, free: 28.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/2.56, allocations: 1.084 MB / 1.179 GB, free: 28.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/2.56, allocations: 36.2 kB / 1.179 GB, free: 28.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/2.561, allocations: 0.992 MB / 1.18 GB, free: 27.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.796e-05/2.561, allocations: 170.6 kB / 1.18 GB, free: 27.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/2.561, allocations: 32.66 kB / 1.18 GB, free: 27.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/2.561, allocations: 370 kB / 1.181 GB, free: 27.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/2.561, allocations: 268 kB / 1.181 GB, free: 27.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/2.562, allocations: 1.342 MB / 1.182 GB, free: 25.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/2.563, allocations: 0.5121 MB / 1.183 GB, free: 25.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/2.563, allocations: 13.84 kB / 1.183 GB, free: 25.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002075/2.565, allocations: 1.568 MB / 1.184 GB, free: 25.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/2.565, allocations: 22.12 kB / 1.184 GB, free: 25.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/2.565, allocations: 34 kB / 1.184 GB, free: 25.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.505e-05/2.565, allocations: 52.22 kB / 1.184 GB, free: 25.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003575/2.569, allocations: 0.6957 MB / 1.185 GB, free: 25.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009794/2.57, allocations: 1.905 MB / 1.187 GB, free: 23.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/2.571, allocations: 267.7 kB / 1.187 GB, free: 23.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/2.571, allocations: 110.2 kB / 1.187 GB, free: 23.68 MB / 442.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.0002009/2.572, allocations: 237.3 kB / 1.188 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/2.572, allocations: 146.1 kB / 1.188 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/2.574, allocations: 1.273 MB / 1.189 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/2.574, allocations: 12.03 kB / 1.189 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/2.574, allocations: 3.953 kB / 1.189 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/2.574, allocations: 3.094 kB / 1.189 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/2.575, allocations: 0.9853 MB / 1.19 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/2.575, allocations: 0 / 1.19 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/2.576, allocations: 200.2 kB / 1.19 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003068/2.576, allocations: 61.72 kB / 1.19 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/2.576, allocations: 17.83 kB / 1.19 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006011/2.577, allocations: 1.759 MB / 1.192 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/2.577, allocations: 1.438 kB / 1.192 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/2.578, allocations: 0.7829 MB / 1.193 GB, free: 21.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/2.579, allocations: 350.8 kB / 1.193 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/2.579, allocations: 17.52 kB / 1.193 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/2.579, allocations: 60.23 kB / 1.193 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/2.579, allocations: 46.5 kB / 1.193 GB, free: 20.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/2.579, allocations: 32.09 kB / 1.193 GB, free: 20.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008619/2.58, allocations: 0.8247 MB / 1.194 GB, free: 20.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/2.58, allocations: 1.875 kB / 1.194 GB, free: 20.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002303/2.583, allocations: 0.8084 MB / 1.195 GB, free: 20.64 MB / 442.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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/2.584, allocations: 1.11 MB / 1.196 GB, free: 20.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003893/2.588, allocations: 1.142 MB / 1.197 GB, free: 20.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/2.588, allocations: 0 / 1.197 GB, free: 20.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008327/2.589, allocations: 370.5 kB / 1.197 GB, free: 20.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/2.592, allocations: 0.5399 MB / 1.198 GB, free: 20.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/2.595, allocations: 1.989 MB / 1.2 GB, free: 19.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/2.595, allocations: 1.276 MB / 1.201 GB, free: 18.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001283/2.597, allocations: 375.8 kB / 1.201 GB, free: 18.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/2.597, allocations: 143.9 kB / 1.202 GB, free: 18.86 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/2.597, allocations: 0 / 1.202 GB, free: 18.86 MB / 442.7 MB Notification: Performance of Templates: time 0.04516/2.642, allocations: 33 MB / 1.234 GB, free: 16 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.makefile make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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:436:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp324geometry' (aka '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[229] /* from_dp3.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp324geometry(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 */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[226] /* from_dp3.dp variable */, 0.001, 0.001, data->simulationInfo->realParameter[65] /* from_dp3.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[226] /* from_dp3.dp variable */, 995.586, 995.586, data->simulationInfo->realParameter[65] /* from_dp3.dp_small PARAM */)), data->localData[0]->realVars[226] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_functions.h:1923: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.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.o] Error 1