Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001437/0.001437, allocations: 182.3 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.459/1.459, allocations: 194.3 MB / 207.5 MB, free: 3.469 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001479/0.001479, allocations: 112.2 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2165/0.2165, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.552e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9994/1.111, allocations: 333.3 MB / 0.77 GB, free: 96.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.112, allocations: 87.61 kB / 0.7701 GB, free: 96.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541/2.653, allocations: 448.1 MB / 1.208 GB, free: 38.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.653, allocations: 0 / 1.208 GB, free: 38.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001204/2.653, allocations: 47.92 kB / 1.208 GB, free: 38.68 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005267/2.658, allocations: 1.921 MB / 1.21 GB, free: 36.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/2.658, allocations: 8.031 kB / 1.21 GB, free: 36.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009951/2.659, allocations: 233.8 kB / 1.21 GB, free: 36.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/2.662, allocations: 1.181 MB / 1.211 GB, free: 35.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/2.662, allocations: 94.66 kB / 1.211 GB, free: 35.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/2.662, allocations: 128 kB / 1.211 GB, free: 35.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/2.665, allocations: 1.874 MB / 1.213 GB, free: 32.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/2.665, allocations: 11.92 kB / 1.213 GB, free: 32.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/2.665, allocations: 64 kB / 1.213 GB, free: 32.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/2.665, allocations: 36 kB / 1.213 GB, free: 32.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/2.667, allocations: 1.547 MB / 1.215 GB, free: 31.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007724/2.675, allocations: 9.152 MB / 1.224 GB, free: 21.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/2.676, allocations: 1.011 MB / 1.225 GB, free: 20.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/2.677, allocations: 482.7 kB / 1.225 GB, free: 20.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006057/2.683, allocations: 6.902 MB / 1.232 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/2.683, allocations: 50.48 kB / 1.232 GB, free: 12.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 2.225e-06/2.683, allocations: 0 / 1.232 GB, free: 12.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.001576/2.685, allocations: 0.5698 MB / 1.232 GB, free: 11.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.685, allocations: 379.6 kB / 1.233 GB, free: 11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/2.686, allocations: 1.077 MB / 1.234 GB, free: 9.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/2.686, allocations: 33.7 kB / 1.234 GB, free: 9.871 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/2.686, allocations: 0.9967 MB / 1.235 GB, free: 8.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/2.686, allocations: 165.9 kB / 1.235 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/2.687, allocations: 32 kB / 1.235 GB, free: 8.664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/2.687, allocations: 369.9 kB / 1.235 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/2.687, allocations: 275.9 kB / 1.236 GB, free: 8.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007662/2.688, allocations: 1.342 MB / 1.237 GB, free: 6.148 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/2.688, allocations: 0.5172 MB / 1.237 GB, free: 5.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/2.688, allocations: 12 kB / 1.237 GB, free: 5.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002097/2.691, allocations: 1.563 MB / 1.239 GB, free: 4.051 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/2.691, allocations: 23.98 kB / 1.239 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/2.691, allocations: 36 kB / 1.239 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.825e-05/2.691, allocations: 52 kB / 1.239 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/2.694, allocations: 0.6906 MB / 1.24 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009824/2.695, allocations: 1.902 MB / 1.242 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/2.697, allocations: 274 kB / 1.242 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/2.697, allocations: 112 kB / 1.242 GB, free: 0.8984 MB / 490.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.0002155/2.697, allocations: 239.9 kB / 1.242 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/2.697, allocations: 142.4 kB / 1.242 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/2.7, allocations: 1.263 MB / 1.244 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/2.7, allocations: 12 kB / 1.244 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/2.7, allocations: 0 / 1.244 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/2.7, allocations: 3.984 kB / 1.244 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/2.702, allocations: 0.9872 MB / 1.245 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/2.702, allocations: 0 / 1.245 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/2.703, allocations: 203.7 kB / 1.245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/2.703, allocations: 56.78 kB / 1.245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/2.703, allocations: 20 kB / 1.245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/2.705, allocations: 1.756 MB / 1.247 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.705, allocations: 0 / 1.247 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/2.707, allocations: 0.7881 MB / 1.247 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/2.707, allocations: 259 kB / 1.248 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/2.708, allocations: 15.84 kB / 1.248 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/2.708, allocations: 59.98 kB / 1.248 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/2.708, allocations: 44.5 kB / 1.248 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/2.708, allocations: 35.97 kB / 1.248 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001397/2.71, allocations: 0.8268 MB / 1.249 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/2.71, allocations: 0 / 1.249 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003235/2.713, allocations: 0.8073 MB / 1.249 GB, free: 9.23 MB / 0.4948 GB 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.002407/2.715, allocations: 1.096 MB / 1.25 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004687/2.72, allocations: 1.15 MB / 1.252 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.72, allocations: 3.938 kB / 1.252 GB, free: 7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/2.721, allocations: 363.2 kB / 1.252 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/2.725, allocations: 0.5488 MB / 1.252 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/2.729, allocations: 1.995 MB / 1.254 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/2.73, allocations: 1.271 MB / 1.256 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001668/2.732, allocations: 383.6 kB / 1.256 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/2.732, allocations: 147.3 kB / 1.256 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of SimCode: time 2.685e-06/2.732, allocations: 4 kB / 1.256 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of Templates: time 0.3962/3.129, allocations: 32.98 MB / 1.288 GB, free: 62.35 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.makefile make -j1 -f ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.c ModelicaTest_3.2.2_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.2_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.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.o] Error 1