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.008038/0.008038, allocations: 174.1 kB / 15.12 MB, free: 5.984 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.737/1.737, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001884/0.001884, allocations: 124.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2104/0.2104, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 11.38 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.196, allocations: 333.4 MB / 0.7758 GB, free: 118.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004257/1.196, allocations: 98.08 kB / 0.7759 GB, free: 118.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582/2.778, allocations: 449.7 MB / 1.215 GB, free: 55.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.305e-06/2.778, allocations: 0 / 1.215 GB, free: 55.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000122/2.779, allocations: 46.52 kB / 1.215 GB, free: 55.27 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.006307/2.785, allocations: 2.118 MB / 1.217 GB, free: 53.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/2.785, allocations: 9.156 kB / 1.217 GB, free: 53.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/2.787, allocations: 238.5 kB / 1.217 GB, free: 53.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/2.789, allocations: 1.184 MB / 1.219 GB, free: 52.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/2.789, allocations: 96.03 kB / 1.219 GB, free: 52.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/2.789, allocations: 131.9 kB / 1.219 GB, free: 52.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/2.792, allocations: 1.901 MB / 1.221 GB, free: 51.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/2.792, allocations: 10.16 kB / 1.221 GB, free: 51.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/2.792, allocations: 68.59 kB / 1.221 GB, free: 51.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/2.792, allocations: 33.88 kB / 1.221 GB, free: 51.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/2.795, allocations: 1.597 MB / 1.222 GB, free: 50.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008102/2.803, allocations: 9.149 MB / 1.231 GB, free: 42.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/2.805, allocations: 1.032 MB / 1.232 GB, free: 41.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007243/2.812, allocations: 6.552 MB / 1.239 GB, free: 34.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/2.812, allocations: 43.97 kB / 1.239 GB, free: 34.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 2.174e-06/2.812, allocations: 0 / 1.239 GB, free: 34.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.001942/2.814, allocations: 0.7024 MB / 1.239 GB, free: 34.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/2.814, allocations: 367.6 kB / 1.24 GB, free: 33.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/2.815, allocations: 1.095 MB / 1.241 GB, free: 33.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/2.815, allocations: 37.7 kB / 1.241 GB, free: 33.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006039/2.816, allocations: 0.9895 MB / 1.242 GB, free: 32.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/2.816, allocations: 167.9 kB / 1.242 GB, free: 32.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/2.816, allocations: 31.94 kB / 1.242 GB, free: 32.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/2.816, allocations: 373.8 kB / 1.242 GB, free: 31.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/2.817, allocations: 283.8 kB / 1.243 GB, free: 31.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009263/2.818, allocations: 1.365 MB / 1.244 GB, free: 29.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/2.818, allocations: 0.5334 MB / 1.244 GB, free: 29.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/2.818, allocations: 8 kB / 1.244 GB, free: 29.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002278/2.821, allocations: 1.59 MB / 1.246 GB, free: 27.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/2.821, allocations: 24.25 kB / 1.246 GB, free: 27.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/2.821, allocations: 36 kB / 1.246 GB, free: 27.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.037e-05/2.821, allocations: 52 kB / 1.246 GB, free: 27.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/2.825, allocations: 0.6969 MB / 1.247 GB, free: 26.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/2.826, allocations: 1.906 MB / 1.249 GB, free: 24.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/2.827, allocations: 262 kB / 1.249 GB, free: 24.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/2.828, allocations: 116 kB / 1.249 GB, free: 24.26 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 () * Number of clocked 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.0007441/2.828, allocations: 388.9 kB / 1.249 GB, free: 23.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/2.829, allocations: 146.3 kB / 1.25 GB, free: 23.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/2.831, allocations: 1.289 MB / 1.251 GB, free: 22.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/2.831, allocations: 11.98 kB / 1.251 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/2.831, allocations: 0 / 1.251 GB, free: 22.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/2.831, allocations: 3.984 kB / 1.251 GB, free: 22.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/2.832, allocations: 0.9885 MB / 1.252 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/2.832, allocations: 3.312 kB / 1.252 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/2.833, allocations: 199.7 kB / 1.252 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/2.834, allocations: 56.8 kB / 1.252 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/2.834, allocations: 19.98 kB / 1.252 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000764/2.834, allocations: 1.76 MB / 1.254 GB, free: 19.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/2.834, allocations: 0 / 1.254 GB, free: 19.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/2.836, allocations: 0.8014 MB / 1.255 GB, free: 18.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/2.836, allocations: 262.9 kB / 1.255 GB, free: 18.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/2.836, allocations: 12 kB / 1.255 GB, free: 18.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/2.837, allocations: 67.92 kB / 1.255 GB, free: 18.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/2.837, allocations: 44.5 kB / 1.255 GB, free: 18.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/2.837, allocations: 31.97 kB / 1.255 GB, free: 18.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001077/2.838, allocations: 0.8395 MB / 1.256 GB, free: 17.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.838, allocations: 0 / 1.256 GB, free: 17.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003727/2.842, allocations: 0.7957 MB / 1.257 GB, free: 16.41 MB / 490.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 () * Number of clocked 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.002531/2.845, allocations: 1.112 MB / 1.258 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004453/2.849, allocations: 1.169 MB / 1.259 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/2.849, allocations: 7.906 kB / 1.259 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009129/2.85, allocations: 375 kB / 1.259 GB, free: 13.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/2.853, allocations: 0.5531 MB / 1.26 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/2.857, allocations: 3.211 MB / 1.263 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/2.858, allocations: 1.278 MB / 1.264 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001495/2.859, allocations: 371.4 kB / 1.264 GB, free: 8.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/2.859, allocations: 143.3 kB / 1.265 GB, free: 8.305 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/2.859, allocations: 0 / 1.265 GB, free: 8.305 MB / 490.7 MB Notification: Performance of Templates: time 0.3775/3.237, allocations: 32.04 MB / 1.296 GB, free: 68.78 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:440:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp3_24geometry' (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__omcQGeometry_24from_5F_5Fdp3_24geometry(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:2145: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