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.001156/0.001156, allocations: 110.4 kB / 17.16 MB, free: 6.082 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.001052/0.001052, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.926/1.926, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4173/0.4173, allocations: 48.84 MB / 320.1 MB, free: 11.29 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.001431/0.001431, allocations: 63.5 kB / 390 MB, free: 49.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1541, allocations: 59.16 MB / 449.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.6047/0.7588, allocations: 159.5 MB / 0.5944 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.7745, allocations: 10.62 MB / 0.6048 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005789/0.7752, allocations: 6.469 kB / 0.6048 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.7757, allocations: 82.09 kB / 0.6049 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006615/0.7824, allocations: 1.677 MB / 0.6065 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009819/0.7923, allocations: 2.108 MB / 0.6086 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.7959, allocations: 2.643 MB / 0.6112 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007649/0.7966, allocations: 0.544 MB / 0.6117 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009962/0.7976, allocations: 0.6197 MB / 0.6123 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.8018, allocations: 1.605 MB / 0.6139 GB, free: 200 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.8021, allocations: 60.16 kB / 0.6139 GB, free: 200 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.817, allocations: 5.85 MB / 0.6196 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.8182, allocations: 0.5689 MB / 0.6202 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.8194, allocations: 0.6342 MB / 0.6208 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007774/0.8271, allocations: 3.099 MB / 0.6238 GB, free: 8.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.8272, allocations: 4 kB / 0.6238 GB, free: 8.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8272, allocations: 0 / 0.6238 GB, free: 8.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.8272, allocations: 0 / 0.6238 GB, free: 8.078 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.007009/0.8342, allocations: 1.98 MB / 0.6258 GB, free: 6.047 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.8343, allocations: 8.031 kB / 0.6258 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.837, allocations: 287.5 kB / 0.6261 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.8384, allocations: 0.6473 MB / 0.6267 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.8385, allocations: 82.38 kB / 0.6268 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.8387, allocations: 128.4 kB / 0.6269 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/0.8426, allocations: 1.761 MB / 0.6286 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.8426, allocations: 4 kB / 0.6286 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.8427, allocations: 40 kB / 0.6286 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.8428, allocations: 24 kB / 0.6287 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.8466, allocations: 1.842 MB / 0.6305 GB, free: 1.172 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.008078/0.8547, allocations: 4.728 MB / 0.6351 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005405/0.8601, allocations: 2.485 MB / 0.6375 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.8619, allocations: 1.096 MB / 0.6386 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04423/0.9061, allocations: 20.05 MB / 0.6582 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.683e-05/0.9063, allocations: 52.56 kB / 0.6582 GB, free: 2.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=207): time 4.729e-06/0.9063, allocations: 0 / 0.6582 GB, free: 2.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=207): time 0.01642/0.9227, allocations: 6.331 MB / 0.6644 GB, free: 11.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.9229, allocations: 73.41 kB / 0.6645 GB, free: 11.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/0.9235, allocations: 385.7 kB / 0.6648 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.9237, allocations: 65.7 kB / 0.6649 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.924, allocations: 207.4 kB / 0.6651 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000953/0.9249, allocations: 0.7315 MB / 0.6658 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006245/0.9256, allocations: 339.6 kB / 0.6661 GB, free: 9.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.9258, allocations: 334 kB / 0.6665 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.9275, allocations: 0.9408 MB / 0.6674 GB, free: 8.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.9295, allocations: 1.095 MB / 0.6684 GB, free: 7.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/0.9331, allocations: 2.161 MB / 0.6706 GB, free: 5.211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.9331, allocations: 0 / 0.6706 GB, free: 5.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006106/0.9392, allocations: 3.257 MB / 0.6737 GB, free: 1.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.9393, allocations: 4 kB / 0.6737 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.9393, allocations: 0 / 0.6737 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/0.9524, allocations: 2.661 MB / 0.6763 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.954, allocations: 239.7 kB / 0.6766 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007959/0.9619, allocations: 4.095 MB / 0.6806 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.9635, allocations: 162.3 kB / 0.6807 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.9637, allocations: 71.97 kB / 0.6808 GB, free: 10.68 MB / 0.4981 GB 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.0007763/0.9645, allocations: 337.6 kB / 0.6811 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.9649, allocations: 98.88 kB / 0.6812 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.979, allocations: 8.971 MB / 0.69 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001381/0.9791, allocations: 111.8 kB / 0.6901 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/0.9792, allocations: 4 kB / 0.6901 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.698e-05/0.9792, allocations: 11.95 kB / 0.6901 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.9972, allocations: 10.68 MB / 0.7005 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.9972, allocations: 0 / 0.7005 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002919/1, allocations: 0.5111 MB / 0.701 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005866/1.006, allocations: 2.2 MB / 0.7032 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004426/1.007, allocations: 79.95 kB / 0.7032 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/1.026, allocations: 19.72 MB / 0.7225 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/1.027, allocations: 3.984 kB / 0.7225 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.045, allocations: 9.704 MB / 0.732 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.046, allocations: 0.6526 MB / 0.7326 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/1.047, allocations: 79.77 kB / 0.7327 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.048, allocations: 95.7 kB / 0.7328 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/1.048, allocations: 181.9 kB / 0.733 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.048, allocations: 75.97 kB / 0.733 GB, free: 3.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005961/1.049, allocations: 378.8 kB / 0.7334 GB, free: 2.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.016e-06/1.049, allocations: 0 / 0.7334 GB, free: 2.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005424/1.055, allocations: 1.269 MB / 0.7346 GB, free: 1.516 MB / 0.545 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.005805/1.06, allocations: 1.067 MB / 0.7357 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3076/1.368, allocations: 3.914 MB / 0.7395 GB, free: 223.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.368, allocations: 1.156 kB / 0.7395 GB, free: 223.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007602/1.376, allocations: 3.745 MB / 0.7432 GB, free: 222.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/1.38, allocations: 0.7611 MB / 0.7439 GB, free: 222.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.396, allocations: 8.294 MB / 0.752 GB, free: 217.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/1.398, allocations: 1.651 MB / 0.7536 GB, free: 216.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009495/1.399, allocations: 111.3 kB / 0.7537 GB, free: 216.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/1.399, allocations: 0 / 0.7537 GB, free: 216.8 MB / 0.545 GB Notification: Performance of Templates: time 0.118/1.517, allocations: 99.65 MB / 0.851 GB, free: 126.4 MB / 0.545 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