Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006944/0.0006942, allocations: 93.31 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.0007244/0.0007245, allocations: 175.5 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.16/1.16, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2347/0.2347, allocations: 48.78 MB / 321.5 MB, free: 11.13 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.0004412/0.0004412, allocations: 17.89 kB / 392.5 MB, free: 50.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07855/0.079, allocations: 60.26 MB / 452.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3122/0.3913, allocations: 157.4 MB / 0.5958 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009292/0.4006, allocations: 10.47 MB / 0.6061 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.4008, allocations: 3.312 kB / 0.6061 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.4011, allocations: 77.84 kB / 0.6061 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.4049, allocations: 1.684 MB / 0.6078 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.4092, allocations: 2.11 MB / 0.6099 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.411, allocations: 2.425 MB / 0.6122 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.4114, allocations: 467.1 kB / 0.6127 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.4119, allocations: 0.5221 MB / 0.6132 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.414, allocations: 1.519 MB / 0.6147 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.4141, allocations: 49.66 kB / 0.6147 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007848/0.422, allocations: 5.848 MB / 0.6204 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.4224, allocations: 0.5219 MB / 0.6209 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.4229, allocations: 0.6083 MB / 0.6215 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.4256, allocations: 2.946 MB / 0.6244 GB, free: 14.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4257, allocations: 0 / 0.6244 GB, free: 14.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4257, allocations: 0 / 0.6244 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.4257, allocations: 0 / 0.6244 GB, free: 14.86 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.003529/0.4292, allocations: 1.642 MB / 0.626 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.4293, allocations: 12.03 kB / 0.626 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.4314, allocations: 279.5 kB / 0.6263 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.4321, allocations: 0.5966 MB / 0.6269 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.4322, allocations: 74.31 kB / 0.6269 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.4323, allocations: 96.56 kB / 0.627 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.4351, allocations: 1.671 MB / 0.6287 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4351, allocations: 0 / 0.6287 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.4352, allocations: 39.98 kB / 0.6287 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.4353, allocations: 27.98 kB / 0.6287 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.4382, allocations: 1.694 MB / 0.6304 GB, free: 8.59 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.005654/0.4438, allocations: 5.625 MB / 0.6359 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/0.4471, allocations: 2.045 MB / 0.6379 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.4484, allocations: 0.9593 MB / 0.6388 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03825/0.4866, allocations: 20.26 MB / 0.6586 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.4867, allocations: 55.19 kB / 0.6586 GB, free: 9.051 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 3.537e-06/0.4867, allocations: 0 / 0.6586 GB, free: 9.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=180): time 0.06376/0.5505, allocations: 14.73 MB / 0.673 GB, free: 10.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.5505, allocations: 69.41 kB / 0.6731 GB, free: 10.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.551, allocations: 449.8 kB / 0.6735 GB, free: 9.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.5511, allocations: 53.7 kB / 0.6736 GB, free: 9.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.5513, allocations: 265.9 kB / 0.6738 GB, free: 9.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000434/0.5517, allocations: 0.6083 MB / 0.6744 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.5519, allocations: 129.6 kB / 0.6745 GB, free: 8.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.552, allocations: 334 kB / 0.6749 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.5531, allocations: 0.7456 MB / 0.6756 GB, free: 7.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.5543, allocations: 0.9671 MB / 0.6765 GB, free: 6.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.5568, allocations: 1.886 MB / 0.6784 GB, free: 4.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5568, allocations: 3.984 kB / 0.6784 GB, free: 4.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004062/0.5608, allocations: 2.761 MB / 0.6811 GB, free: 1.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5609, allocations: 8 kB / 0.6811 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5609, allocations: 4 kB / 0.6811 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009661/0.5705, allocations: 2.241 MB / 0.6833 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.5712, allocations: 163.8 kB / 0.6834 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/0.5762, allocations: 3.553 MB / 0.6869 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008502/0.577, allocations: 154.5 kB / 0.6871 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.5772, allocations: 67.86 kB / 0.6871 GB, free: 11.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (65): * Single equations (assignments): 64 * 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,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0004233/0.5776, allocations: 333.5 kB / 0.6874 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.5778, allocations: 98.88 kB / 0.6875 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.5885, allocations: 9.385 MB / 0.6967 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.172e-05/0.5887, allocations: 123.7 kB / 0.6968 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5887, allocations: 0 / 0.6968 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/0.5887, allocations: 11.95 kB / 0.6968 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.5996, allocations: 10.78 MB / 0.7074 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5997, allocations: 0 / 0.7074 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.6002, allocations: 115.9 kB / 0.7075 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01167/0.6118, allocations: 4.993 MB / 0.7123 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.612, allocations: 55.97 kB / 0.7124 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008742/0.6207, allocations: 7.889 MB / 0.7201 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6207, allocations: 0 / 0.7201 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008276/0.629, allocations: 7.554 MB / 0.7275 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/0.6298, allocations: 0.6409 MB / 0.7281 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.63, allocations: 44 kB / 0.7281 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008352/0.6308, allocations: 99.62 kB / 0.7282 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.6311, allocations: 133.8 kB / 0.7284 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.6312, allocations: 71.97 kB / 0.7284 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004174/0.6316, allocations: 410.8 kB / 0.7288 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6316, allocations: 0 / 0.7288 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.1676/0.7992, allocations: 1.188 MB / 0.73 GB, free: 210.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003957/0.8032, allocations: 1.017 MB / 0.731 GB, free: 210.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006166/0.8094, allocations: 3.398 MB / 0.7343 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.8094, allocations: 1.344 kB / 0.7343 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004589/0.814, allocations: 2.708 MB / 0.7369 GB, free: 209.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.8175, allocations: 0.7252 MB / 0.7377 GB, free: 209.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.8241, allocations: 6.425 MB / 0.7439 GB, free: 206.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8251, allocations: 1.589 MB / 0.7455 GB, free: 205.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.8253, allocations: 71.06 kB / 0.7455 GB, free: 205.6 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.8253, allocations: 4 kB / 0.7456 GB, free: 205.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.03931/0.8646, allocations: 42.11 MB / 0.7867 GB, free: 170.8 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.TestCoolingTowerStaticCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStaticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStaticCalcHelperMain.o] Error 1