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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001228/0.001228, allocations: 194 kB / 16.25 MB, free: 6.617 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.566/1.566, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3356/0.3356, allocations: 37.97 MB / 307.4 MB, free: 10.12 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.1. 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.001481/0.001481, allocations: 66.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1375, allocations: 56.47 MB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.3035/0.4411, allocations: 51.23 MB / 482.4 MB, free: 26.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0209/0.4621, allocations: 19.19 MB / 0.4899 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/0.4661, allocations: 52.69 kB / 0.4899 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.4696, allocations: 0.8312 MB / 0.4907 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.4805, allocations: 3.676 MB / 0.4943 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007716/0.4883, allocations: 2.636 MB / 0.4969 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007049/0.4953, allocations: 4.629 MB / 0.5014 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.4976, allocations: 1.242 MB / 0.5026 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004867/0.5025, allocations: 1.897 MB / 0.5045 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0039/0.5064, allocations: 1.433 MB / 0.5059 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006109/0.507, allocations: 150.1 kB / 0.506 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.5193, allocations: 3.845 MB / 0.5098 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.5207, allocations: 493.2 kB / 0.5103 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003035/0.5237, allocations: 1.031 MB / 0.5113 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.5379, allocations: 4.412 MB / 0.5156 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.538, allocations: 4.188 kB / 0.5156 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.538, allocations: 0 / 0.5156 GB, free: 1.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.08e-05/0.5381, allocations: 3.938 kB / 0.5156 GB, free: 1.043 MB / 382.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.005508/0.5436, allocations: 2.3 MB / 0.5178 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5437, allocations: 8.625 kB / 0.5178 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.545, allocations: 235.5 kB / 0.5181 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.547, allocations: 1.067 MB / 0.5191 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.5471, allocations: 96.81 kB / 0.5192 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.5473, allocations: 136.4 kB / 0.5193 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.5512, allocations: 1.917 MB / 0.5212 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.5512, allocations: 7.531 kB / 0.5212 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.5514, allocations: 64.06 kB / 0.5213 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/0.5515, allocations: 35.25 kB / 0.5213 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/0.5544, allocations: 1.622 MB / 0.5229 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.5668, allocations: 9.233 MB / 0.5319 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.5688, allocations: 1.04 MB / 0.5329 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.5696, allocations: 0.5082 MB / 0.5334 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006925/0.5765, allocations: 5.521 MB / 0.5388 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.5766, allocations: 56.03 kB / 0.5389 GB, free: 13.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 5.981e-06/0.5766, allocations: 0 / 0.5389 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.004038/0.5807, allocations: 1.381 MB / 0.5402 GB, free: 12.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.5809, allocations: 376.8 kB / 0.5406 GB, free: 11.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.5824, allocations: 1.146 MB / 0.5417 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.5826, allocations: 49.7 kB / 0.5417 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.5832, allocations: 0.7708 MB / 0.5425 GB, free: 9.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.5835, allocations: 343.2 kB / 0.5428 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/0.5839, allocations: 299.3 kB / 0.5431 GB, free: 9.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.5841, allocations: 361.9 kB / 0.5434 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/0.5849, allocations: 395.8 kB / 0.5438 GB, free: 8.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.5861, allocations: 0.9988 MB / 0.5448 GB, free: 7.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.5882, allocations: 1.435 MB / 0.5462 GB, free: 5.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.5882, allocations: 4 kB / 0.5462 GB, free: 5.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003064/0.5913, allocations: 1.519 MB / 0.5477 GB, free: 4.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.5913, allocations: 12 kB / 0.5477 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.5914, allocations: 20 kB / 0.5477 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/0.5914, allocations: 24 kB / 0.5477 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/0.5942, allocations: 0.5033 MB / 0.5482 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.5959, allocations: 1.871 MB / 0.5501 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.5976, allocations: 206.2 kB / 0.5503 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.5978, allocations: 83.97 kB / 0.5503 GB, free: 1.293 MB / 414.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.0007934/0.5986, allocations: 361.2 kB / 0.5507 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.599, allocations: 154.3 kB / 0.5508 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.6036, allocations: 2.413 MB / 0.5532 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.6036, allocations: 15.98 kB / 0.5532 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6036, allocations: 3.938 kB / 0.5532 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.6036, allocations: 7.969 kB / 0.5532 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006113/0.6098, allocations: 3.894 MB / 0.557 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.6098, allocations: 8 kB / 0.557 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.6105, allocations: 219.8 kB / 0.5572 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008421/0.6113, allocations: 190.3 kB / 0.5574 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/0.6114, allocations: 51.97 kB / 0.5575 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.613, allocations: 1.684 MB / 0.5591 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/0.613, allocations: 11.94 kB / 0.5591 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.6162, allocations: 1.709 MB / 0.5608 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007464/0.6169, allocations: 262.7 kB / 0.561 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/0.6173, allocations: 43.89 kB / 0.5611 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.6185, allocations: 103.8 kB / 0.5612 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.6187, allocations: 112.7 kB / 0.5613 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/0.6189, allocations: 83.92 kB / 0.5614 GB, free: 5.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.6201, allocations: 0.8877 MB / 0.5622 GB, free: 4.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6201, allocations: 0 / 0.5622 GB, free: 4.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003104/0.6232, allocations: 0.8544 MB / 0.5631 GB, free: 3.688 MB / 430.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.002071/0.6253, allocations: 0.8774 MB / 0.5639 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005212/0.6305, allocations: 1.498 MB / 0.5654 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.6305, allocations: 8.516 kB / 0.5654 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.6322, allocations: 0.6752 MB / 0.5661 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/0.6374, allocations: 0.9636 MB / 0.567 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/0.643, allocations: 3.512 MB / 0.5704 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.6438, allocations: 1.277 MB / 0.5717 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001939/0.6458, allocations: 498.4 kB / 0.5721 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.6462, allocations: 191.3 kB / 0.5723 GB, free: 10.06 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6462, allocations: 4 kB / 0.5723 GB, free: 10.05 MB / 446.1 MB Notification: Performance of Templates: time 0.07513/0.7213, allocations: 45.23 MB / 0.6165 GB, free: 12.8 MB / 494.1 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 -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_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: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.1_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.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.o] Error 1