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.006355/0.006355, allocations: 165.7 kB / 15.11 MB, free: 5.969 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.328/1.328, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001671/0.001671, allocations: 107.3 kB / 226.2 MB, free: 10.11 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.3254/0.3254, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003924, allocations: 16 kB / 362.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 48.7 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9501/1.088, allocations: 326.9 MB / 0.7211 GB, free: 19.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/1.088, allocations: 99.05 kB / 0.7212 GB, free: 19.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.887/2.975, allocations: 449.7 MB / 1.16 GB, free: 41.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.765e-06/2.975, allocations: 6.125 kB / 1.16 GB, free: 41.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001215/2.975, allocations: 45.12 kB / 1.16 GB, free: 41.07 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.007284/2.983, allocations: 2.12 MB / 1.163 GB, free: 39.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.729e-05/2.983, allocations: 11.06 kB / 1.163 GB, free: 39.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/2.984, allocations: 231.6 kB / 1.163 GB, free: 39.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/2.987, allocations: 1.182 MB / 1.164 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/2.987, allocations: 98.06 kB / 1.164 GB, free: 39.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/2.987, allocations: 127 kB / 1.164 GB, free: 39.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/2.991, allocations: 1.9 MB / 1.166 GB, free: 39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/2.991, allocations: 9.344 kB / 1.166 GB, free: 39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/2.991, allocations: 66.28 kB / 1.166 GB, free: 39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/2.991, allocations: 36.25 kB / 1.166 GB, free: 39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/2.993, allocations: 1.598 MB / 1.168 GB, free: 38.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008899/3.002, allocations: 9.146 MB / 1.177 GB, free: 33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/3.004, allocations: 1.043 MB / 1.178 GB, free: 32.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006804/3.011, allocations: 6.551 MB / 1.184 GB, free: 27.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/3.011, allocations: 39.06 kB / 1.184 GB, free: 27.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 2.856e-06/3.011, allocations: 0 / 1.184 GB, free: 27.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.002048/3.013, allocations: 0.7147 MB / 1.185 GB, free: 27.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/3.013, allocations: 370.7 kB / 1.185 GB, free: 26.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/3.015, allocations: 1.089 MB / 1.186 GB, free: 26.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/3.015, allocations: 39.08 kB / 1.186 GB, free: 26.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/3.016, allocations: 0.9925 MB / 1.187 GB, free: 25.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/3.016, allocations: 174.7 kB / 1.187 GB, free: 25.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/3.016, allocations: 33.41 kB / 1.187 GB, free: 25.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/3.016, allocations: 363.4 kB / 1.188 GB, free: 25.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/3.016, allocations: 285.6 kB / 1.188 GB, free: 25.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/3.017, allocations: 1.359 MB / 1.189 GB, free: 24.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007496/3.018, allocations: 0.5233 MB / 1.19 GB, free: 23.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/3.018, allocations: 10.5 kB / 1.19 GB, free: 23.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002557/3.021, allocations: 1.597 MB / 1.191 GB, free: 23.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/3.021, allocations: 19.44 kB / 1.191 GB, free: 23.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/3.021, allocations: 39.97 kB / 1.191 GB, free: 23.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.709e-05/3.021, allocations: 51.47 kB / 1.191 GB, free: 23.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/3.025, allocations: 0.6941 MB / 1.192 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/3.026, allocations: 1.907 MB / 1.194 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/3.028, allocations: 266.5 kB / 1.194 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/3.028, allocations: 112.1 kB / 1.194 GB, free: 21.75 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 () * 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.0008289/3.029, allocations: 388.5 kB / 1.195 GB, free: 21.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/3.029, allocations: 147 kB / 1.195 GB, free: 21.51 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/3.032, allocations: 1.284 MB / 1.196 GB, free: 21.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/3.032, allocations: 7.719 kB / 1.196 GB, free: 21.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/3.032, allocations: 7.656 kB / 1.196 GB, free: 21.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/3.032, allocations: 3.562 kB / 1.196 GB, free: 21.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/3.034, allocations: 0.9867 MB / 1.197 GB, free: 21.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/3.034, allocations: 0 / 1.197 GB, free: 21.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/3.034, allocations: 209.2 kB / 1.197 GB, free: 21.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/3.035, allocations: 53.62 kB / 1.197 GB, free: 21.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/3.035, allocations: 22.94 kB / 1.197 GB, free: 21.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008807/3.036, allocations: 1.759 MB / 1.199 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/3.036, allocations: 0 / 1.199 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/3.037, allocations: 0.8093 MB / 1.2 GB, free: 19.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008805/3.038, allocations: 343.8 kB / 1.2 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/3.038, allocations: 21.09 kB / 1.2 GB, free: 18.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009168/3.039, allocations: 50.91 kB / 1.2 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/3.039, allocations: 55.64 kB / 1.2 GB, free: 18.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/3.039, allocations: 29.47 kB / 1.2 GB, free: 18.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001693/3.041, allocations: 0.8407 MB / 1.201 GB, free: 18.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/3.041, allocations: 0 / 1.201 GB, free: 18.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004479/3.046, allocations: 0.8093 MB / 1.202 GB, free: 18.63 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 () * 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.003492/3.049, allocations: 1.109 MB / 1.203 GB, free: 18.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005006/3.054, allocations: 1.175 MB / 1.204 GB, free: 18.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/3.054, allocations: 4 kB / 1.204 GB, free: 18.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/3.055, allocations: 372.1 kB / 1.205 GB, free: 18.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/3.059, allocations: 0.5415 MB / 1.205 GB, free: 18.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/3.065, allocations: 3.217 MB / 1.208 GB, free: 16.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/3.067, allocations: 1.276 MB / 1.209 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002033/3.069, allocations: 374.5 kB / 1.21 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/3.069, allocations: 148.3 kB / 1.21 GB, free: 15.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.372e-06/3.069, allocations: 0 / 1.21 GB, free: 15.72 MB / 442.7 MB Notification: Performance of Templates: time 0.0611/3.13, allocations: 32.05 MB / 1.241 GB, free: 15.15 MB / 458.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: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.1_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.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.o] Error 1