Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008827/0.0008827, allocations: 92.23 kB / 16.95 MB, free: 5.953 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.0009251/0.0009252, allocations: 177.4 kB / 17.84 MB, free: 5.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.8/1.8, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3966/0.3966, allocations: 48.78 MB / 321.1 MB, free: 11.31 MB / 270.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: Performance of FrontEnd - loaded program: time 0.0005288/0.0005288, allocations: 14.31 kB / 391.8 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1446, allocations: 60.27 MB / 452.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.5599/0.7045, allocations: 146.3 MB / 0.5844 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.7164, allocations: 9.284 MB / 0.5935 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.7171, allocations: 7.188 kB / 0.5935 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.7176, allocations: 77.7 kB / 0.5935 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006641/0.7242, allocations: 1.672 MB / 0.5952 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008205/0.7325, allocations: 1.986 MB / 0.5971 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002673/0.7351, allocations: 2.229 MB / 0.5993 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007781/0.7359, allocations: 0.5409 MB / 0.5998 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.737, allocations: 0.6229 MB / 0.6004 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005084/0.7421, allocations: 2.234 MB / 0.6026 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.7423, allocations: 64.19 kB / 0.6027 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/0.7553, allocations: 5.644 MB / 0.6082 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.7565, allocations: 0.5943 MB / 0.6088 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005799/0.7571, allocations: 237.6 kB / 0.609 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007929/0.7651, allocations: 3.051 MB / 0.612 GB, free: 8.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.7651, allocations: 3.25 kB / 0.612 GB, free: 8.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.7651, allocations: 0 / 0.612 GB, free: 8.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.7652, allocations: 0 / 0.612 GB, free: 8.289 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.006853/0.772, allocations: 1.776 MB / 0.6137 GB, free: 7.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.7721, allocations: 10.88 kB / 0.6137 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.7746, allocations: 289.4 kB / 0.614 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.776, allocations: 0.6264 MB / 0.6146 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.7761, allocations: 86.58 kB / 0.6147 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.7764, allocations: 131.5 kB / 0.6148 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.7802, allocations: 1.754 MB / 0.6165 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.7803, allocations: 0 / 0.6165 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.7804, allocations: 38.25 kB / 0.6166 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.7805, allocations: 24 kB / 0.6166 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/0.7843, allocations: 1.855 MB / 0.6184 GB, free: 3.777 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00774/0.792, allocations: 4.719 MB / 0.623 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006937/0.799, allocations: 2.476 MB / 0.6254 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.8018, allocations: 1.092 MB / 0.6265 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05834/0.8602, allocations: 20.25 MB / 0.6463 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.899e-05/0.8603, allocations: 56.56 kB / 0.6463 GB, free: 5.406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=207): time 9.157e-06/0.8604, allocations: 0 / 0.6463 GB, free: 5.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=207): time 0.01832/0.8787, allocations: 6.351 MB / 0.6525 GB, free: 14.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.8788, allocations: 77.41 kB / 0.6526 GB, free: 14.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/0.8795, allocations: 385.7 kB / 0.653 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00043/0.88, allocations: 61.7 kB / 0.653 GB, free: 14.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.8802, allocations: 207.3 kB / 0.6532 GB, free: 13.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009244/0.8811, allocations: 0.7276 MB / 0.6539 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.8812, allocations: 32 kB / 0.654 GB, free: 13.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.8815, allocations: 422.7 kB / 0.6544 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.8831, allocations: 0.9369 MB / 0.6553 GB, free: 11.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.8849, allocations: 1.091 MB / 0.6563 GB, free: 10.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.8867, allocations: 1.111 MB / 0.6574 GB, free: 9.574 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.8868, allocations: 0 / 0.6574 GB, free: 9.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005694/0.8925, allocations: 3.238 MB / 0.6606 GB, free: 6.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.8925, allocations: 8 kB / 0.6606 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.8925, allocations: 0 / 0.6606 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/0.9038, allocations: 2.673 MB / 0.6632 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.9052, allocations: 243.7 kB / 0.6634 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.912, allocations: 4.095 MB / 0.6674 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.9135, allocations: 158.5 kB / 0.6676 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.9137, allocations: 71.97 kB / 0.6677 GB, free: 15.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 117} Notification: Performance of prepare postOptimizeDAE: time 0.0006585/0.9143, allocations: 329.6 kB / 0.668 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.9146, allocations: 102.9 kB / 0.6681 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.9277, allocations: 8.944 MB / 0.6768 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001218/0.9278, allocations: 119.8 kB / 0.6769 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.9279, allocations: 0 / 0.6769 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/0.9279, allocations: 15.94 kB / 0.6769 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.9442, allocations: 10.65 MB / 0.6873 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/0.9442, allocations: 0 / 0.6873 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002799/0.947, allocations: 0.5151 MB / 0.6878 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005203/0.9523, allocations: 2.195 MB / 0.69 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005502/0.9528, allocations: 83.94 kB / 0.6901 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.9706, allocations: 19.71 MB / 0.7093 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.9707, allocations: 0 / 0.7093 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/0.9863, allocations: 9.673 MB / 0.7188 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.9879, allocations: 0.6915 MB / 0.7194 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.9882, allocations: 67.97 kB / 0.7195 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.9893, allocations: 95.78 kB / 0.7196 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/0.9896, allocations: 174 kB / 0.7198 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.9898, allocations: 79.95 kB / 0.7198 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004994/0.9903, allocations: 374.8 kB / 0.7202 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9903, allocations: 0 / 0.7202 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004463/0.9948, allocations: 1.265 MB / 0.7214 GB, free: 5.969 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 9 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005119/0.9999, allocations: 1.074 MB / 0.7225 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008873/1.009, allocations: 3.919 MB / 0.7263 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.009, allocations: 0 / 0.7263 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2627/1.272, allocations: 3.747 MB / 0.73 GB, free: 205 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/1.276, allocations: 0.7717 MB / 0.7307 GB, free: 205 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.291, allocations: 8.635 MB / 0.7391 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/1.293, allocations: 1.639 MB / 0.7407 GB, free: 200.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007969/1.294, allocations: 112.6 kB / 0.7409 GB, free: 200.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.684e-06/1.294, allocations: 4 kB / 0.7409 GB, free: 200.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1105/1.404, allocations: 99.28 MB / 0.8378 GB, free: 114.5 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPackingCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPackingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPackingCalcHelperMain.o] Error 1