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.0006826/0.0006825, allocations: 92.92 kB / 17.31 MB, free: 6.535 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.0007641/0.0007642, allocations: 175.6 kB / 18.21 MB, free: 5.684 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.156/1.156, allocations: 205.4 MB / 224.4 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2288/0.2288, allocations: 48.78 MB / 321.5 MB, free: 11.12 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.0004494/0.0004495, allocations: 16.3 kB / 392.5 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07597/0.07643, allocations: 60.27 MB / 452.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3198/0.3963, allocations: 157.4 MB / 0.5959 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00949/0.4058, allocations: 10.46 MB / 0.6061 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.4063, allocations: 9.031 kB / 0.6061 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.4066, allocations: 85.91 kB / 0.6062 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.4105, allocations: 1.68 MB / 0.6078 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005075/0.4156, allocations: 2.106 MB / 0.6099 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.4175, allocations: 2.638 MB / 0.6124 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.418, allocations: 0.5508 MB / 0.613 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005419/0.4185, allocations: 0.6047 MB / 0.6136 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.4208, allocations: 1.615 MB / 0.6151 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4209, allocations: 58.22 kB / 0.6152 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008164/0.4291, allocations: 5.847 MB / 0.6209 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.4296, allocations: 0.5666 MB / 0.6215 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006724/0.4303, allocations: 0.6607 MB / 0.6221 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.4337, allocations: 3.06 MB / 0.6251 GB, free: 13.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4337, allocations: 0 / 0.6251 GB, free: 13.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4337, allocations: 0 / 0.6251 GB, free: 13.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4337, allocations: 0 / 0.6251 GB, free: 13.98 MB / 446.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.004742/0.4385, allocations: 1.767 MB / 0.6268 GB, free: 12.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4385, allocations: 16.03 kB / 0.6268 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.4408, allocations: 283.5 kB / 0.6271 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.4416, allocations: 0.6395 MB / 0.6277 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.4417, allocations: 82.38 kB / 0.6278 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.4419, allocations: 136.3 kB / 0.6279 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.445, allocations: 1.765 MB / 0.6297 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.445, allocations: 3.938 kB / 0.6297 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.4451, allocations: 43.31 kB / 0.6297 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.4451, allocations: 27.98 kB / 0.6297 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/0.4483, allocations: 1.85 MB / 0.6315 GB, free: 7.266 MB / 446.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.005636/0.454, allocations: 4.717 MB / 0.6361 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/0.4585, allocations: 2.49 MB / 0.6386 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.4599, allocations: 1.092 MB / 0.6396 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03862/0.4985, allocations: 20.25 MB / 0.6594 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.4986, allocations: 56.55 kB / 0.6595 GB, free: 8.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=207): time 3.307e-06/0.4986, allocations: 3.938 kB / 0.6595 GB, free: 8.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=207): time 0.01274/0.5114, allocations: 6.378 MB / 0.6657 GB, free: 1.418 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5114, allocations: 73.41 kB / 0.6658 GB, free: 1.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.5118, allocations: 393.6 kB / 0.6662 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.5119, allocations: 61.7 kB / 0.6662 GB, free: 0.875 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.5121, allocations: 199.5 kB / 0.6664 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005286/0.5126, allocations: 0.7315 MB / 0.6671 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.5128, allocations: 165.6 kB / 0.6673 GB, free: 15.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5129, allocations: 334 kB / 0.6676 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.5143, allocations: 0.9486 MB / 0.6685 GB, free: 14.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.5157, allocations: 1.095 MB / 0.6696 GB, free: 13.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.5187, allocations: 2.172 MB / 0.6717 GB, free: 11.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5187, allocations: 0 / 0.6717 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004694/0.5234, allocations: 3.265 MB / 0.6749 GB, free: 7.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5234, allocations: 4 kB / 0.6749 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5235, allocations: 0 / 0.6749 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/0.5348, allocations: 2.673 MB / 0.6775 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.5359, allocations: 239.7 kB / 0.6777 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/0.5419, allocations: 4.111 MB / 0.6818 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.5429, allocations: 150.5 kB / 0.6819 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.5431, allocations: 75.97 kB / 0.682 GB, free: 0.6445 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(36,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0004949/0.5436, allocations: 337.6 kB / 0.6823 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.5438, allocations: 102.9 kB / 0.6824 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.5547, allocations: 8.962 MB / 0.6911 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.134e-05/0.5548, allocations: 111.8 kB / 0.6912 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.5548, allocations: 4 kB / 0.6913 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.5549, allocations: 19.95 kB / 0.6913 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.568, allocations: 10.7 MB / 0.7017 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.568, allocations: 4 kB / 0.7017 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/0.5705, allocations: 0.5112 MB / 0.7022 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/0.5753, allocations: 2.199 MB / 0.7044 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.5755, allocations: 83.89 kB / 0.7045 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.5886, allocations: 19.72 MB / 0.7237 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5886, allocations: 3.938 kB / 0.7237 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.177/0.7656, allocations: 9.704 MB / 0.7332 GB, free: 205.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009491/0.7666, allocations: 0.7006 MB / 0.7339 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.7668, allocations: 73.78 kB / 0.7339 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009681/0.7678, allocations: 96.67 kB / 0.734 GB, free: 205.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/0.7682, allocations: 178.2 kB / 0.7342 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.7683, allocations: 83.81 kB / 0.7343 GB, free: 205 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003865/0.7687, allocations: 373.5 kB / 0.7346 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7687, allocations: 1.25 kB / 0.7346 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002796/0.7715, allocations: 1.264 MB / 0.7359 GB, free: 204.7 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 (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(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.003177/0.7747, allocations: 1.059 MB / 0.7369 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007139/0.7819, allocations: 3.94 MB / 0.7408 GB, free: 203.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7819, allocations: 0 / 0.7408 GB, free: 203.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/0.7867, allocations: 3.76 MB / 0.7444 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/0.7902, allocations: 0.77 MB / 0.7452 GB, free: 201.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.7981, allocations: 8.696 MB / 0.7537 GB, free: 196.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.7989, allocations: 1.644 MB / 0.7553 GB, free: 195.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.7993, allocations: 110.4 kB / 0.7554 GB, free: 195.5 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.7993, allocations: 5.312 kB / 0.7554 GB, free: 195.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.06995/0.8693, allocations: 99.46 MB / 0.8525 GB, free: 99.43 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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