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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001182, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001682, allocations: 187 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4211/0.4211, allocations: 39.93 MB / 309.4 MB, free: 8.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 66.56 kB / 377.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1656, allocations: 56.89 MB / 434 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.3507/0.5163, allocations: 51.23 MB / 485.2 MB, free: 23.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02198/0.5384, allocations: 19.19 MB / 0.4926 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.5416, allocations: 52.56 kB / 0.4927 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.5445, allocations: 0.8334 MB / 0.4935 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.5566, allocations: 3.696 MB / 0.4971 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008956/0.5656, allocations: 2.633 MB / 0.4996 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008877/0.5745, allocations: 4.615 MB / 0.5042 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.5782, allocations: 1.247 MB / 0.5054 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007198/0.5854, allocations: 1.893 MB / 0.5072 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004557/0.5901, allocations: 1.43 MB / 0.5086 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008171/0.5909, allocations: 153.3 kB / 0.5088 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/0.6028, allocations: 3.849 MB / 0.5125 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.6044, allocations: 493.6 kB / 0.513 GB, free: 388 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002939/0.6073, allocations: 1.032 MB / 0.514 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.6199, allocations: 4.409 MB / 0.5183 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.62, allocations: 0 / 0.5183 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.62, allocations: 0 / 0.5183 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-05/0.6201, allocations: 4 kB / 0.5183 GB, free: 14.04 MB / 398.1 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.006276/0.6264, allocations: 2.293 MB / 0.5205 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6264, allocations: 9.062 kB / 0.5206 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.628, allocations: 235.2 kB / 0.5208 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.6307, allocations: 1.072 MB / 0.5218 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.6308, allocations: 100 kB / 0.5219 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.631, allocations: 132.9 kB / 0.522 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/0.6352, allocations: 1.91 MB / 0.5239 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.6352, allocations: 10.94 kB / 0.5239 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.6354, allocations: 68.88 kB / 0.524 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/0.6355, allocations: 37.88 kB / 0.524 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.6385, allocations: 1.613 MB / 0.5256 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.6501, allocations: 9.234 MB / 0.5346 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.6523, allocations: 1.043 MB / 0.5356 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/0.6532, allocations: 0.5123 MB / 0.5361 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007638/0.6609, allocations: 5.519 MB / 0.5415 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/0.661, allocations: 51.56 kB / 0.5416 GB, free: 9.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 3.757e-06/0.661, allocations: 0 / 0.5416 GB, free: 9.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.004203/0.6652, allocations: 1.381 MB / 0.5429 GB, free: 7.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002136/0.6655, allocations: 380.8 kB / 0.5433 GB, free: 7.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.6672, allocations: 1.149 MB / 0.5444 GB, free: 6.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002177/0.6674, allocations: 49.7 kB / 0.5445 GB, free: 6.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/0.6681, allocations: 0.7669 MB / 0.5452 GB, free: 5.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.6684, allocations: 335.3 kB / 0.5455 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/0.6689, allocations: 303.2 kB / 0.5458 GB, free: 4.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6691, allocations: 357.9 kB / 0.5462 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007834/0.6698, allocations: 399.8 kB / 0.5465 GB, free: 4.113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.6712, allocations: 1.003 MB / 0.5475 GB, free: 2.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.6732, allocations: 1.427 MB / 0.5489 GB, free: 1.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.6732, allocations: 5.562 kB / 0.5489 GB, free: 1.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002974/0.6762, allocations: 1.515 MB / 0.5504 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.6762, allocations: 16.88 kB / 0.5504 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/0.6763, allocations: 20 kB / 0.5504 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.364e-05/0.6763, allocations: 27.98 kB / 0.5505 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/0.6791, allocations: 0.5148 MB / 0.551 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.6806, allocations: 1.871 MB / 0.5528 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.6825, allocations: 206.4 kB / 0.553 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.6827, allocations: 87.97 kB / 0.5531 GB, free: 12.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009789/0.6837, allocations: 357.2 kB / 0.5534 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/0.6841, allocations: 154.2 kB / 0.5536 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/0.6884, allocations: 2.415 MB / 0.5559 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.6884, allocations: 23.98 kB / 0.5559 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6885, allocations: 0 / 0.5559 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.6885, allocations: 7.969 kB / 0.5559 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005167/0.6936, allocations: 3.886 MB / 0.5597 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.6937, allocations: 8 kB / 0.5597 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.6943, allocations: 219.6 kB / 0.56 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007997/0.6951, allocations: 186.9 kB / 0.5601 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.6952, allocations: 51.97 kB / 0.5602 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.6966, allocations: 1.684 MB / 0.5618 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.6966, allocations: 11.94 kB / 0.5618 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.6991, allocations: 1.705 MB / 0.5635 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.6997, allocations: 266.6 kB / 0.5638 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.6999, allocations: 39.98 kB / 0.5638 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.701, allocations: 107.6 kB / 0.5639 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.7011, allocations: 120.7 kB / 0.564 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.7013, allocations: 79.94 kB / 0.5641 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.7023, allocations: 0.8838 MB / 0.565 GB, free: 88 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7023, allocations: 0 / 0.565 GB, free: 88 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002734/0.7051, allocations: 0.8544 MB / 0.5658 GB, free: 15.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (130): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/0.7071, allocations: 0.8813 MB / 0.5667 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004891/0.712, allocations: 1.494 MB / 0.5681 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.712, allocations: 4.656 kB / 0.5681 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.7138, allocations: 0.6752 MB / 0.5688 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006527/0.7204, allocations: 0.9723 MB / 0.5697 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006403/0.7268, allocations: 3.511 MB / 0.5732 GB, free: 7.586 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009264/0.7278, allocations: 1.269 MB / 0.5744 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002416/0.7302, allocations: 486.5 kB / 0.5749 GB, free: 5.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.7307, allocations: 195.3 kB / 0.575 GB, free: 5.613 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7307, allocations: 7.938 kB / 0.5751 GB, free: 5.605 MB / 446.1 MB Notification: Performance of Templates: time 0.07526/0.8059, allocations: 45.25 MB / 0.6192 GB, free: 8.336 MB / 494.1 MB 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 -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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:1051:158: 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[191] /* from_dp3.m_flow variable */) = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, tmp0, tmp1, (data->localData[0]->realVars[188] /* from_dp3.dp variable */)); ^~~~ ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_functions.h:587: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