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.0008952/0.0008957, 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.0008992/0.0008995, 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.823/1.823, 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.3894/0.3894, allocations: 48.77 MB / 321.1 MB, free: 11.22 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.0005458/0.0005458, allocations: 15.09 kB / 391.8 MB, free: 50.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1452, allocations: 60.28 MB / 452.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.565/0.7103, allocations: 146.3 MB / 0.5844 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.7215, allocations: 9.281 MB / 0.5935 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006074/0.7221, allocations: 6.969 kB / 0.5935 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.7226, allocations: 76.53 kB / 0.5935 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005567/0.7282, allocations: 1.67 MB / 0.5952 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00886/0.7371, allocations: 1.992 MB / 0.5971 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002393/0.7395, allocations: 2.051 MB / 0.5991 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006576/0.7401, allocations: 463.2 kB / 0.5996 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007709/0.7409, allocations: 0.5271 MB / 0.6001 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.7449, allocations: 2.161 MB / 0.6022 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.7451, allocations: 52.59 kB / 0.6022 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.7583, allocations: 5.636 MB / 0.6077 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009065/0.7592, allocations: 0.5378 MB / 0.6083 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.7597, allocations: 235.8 kB / 0.6085 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007058/0.7668, allocations: 2.935 MB / 0.6113 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.7669, allocations: 0 / 0.6113 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7669, allocations: 0 / 0.6113 GB, free: 8.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.7669, allocations: 0 / 0.6113 GB, free: 8.121 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.005509/0.7724, allocations: 1.653 MB / 0.613 GB, free: 7.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.7725, allocations: 10.88 kB / 0.613 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.7751, allocations: 279.2 kB / 0.6132 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.7764, allocations: 0.583 MB / 0.6138 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/0.7765, allocations: 77.45 kB / 0.6139 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.7766, allocations: 91.22 kB / 0.614 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/0.7802, allocations: 1.658 MB / 0.6156 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.7802, allocations: 7.938 kB / 0.6156 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.7803, allocations: 38.5 kB / 0.6156 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.7804, allocations: 27.98 kB / 0.6157 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.7838, allocations: 1.684 MB / 0.6173 GB, free: 4.152 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.007806/0.7916, allocations: 5.622 MB / 0.6228 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.7955, allocations: 2.037 MB / 0.6248 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.797, allocations: 0.9554 MB / 0.6257 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04069/0.8377, allocations: 20.27 MB / 0.6455 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/0.8379, allocations: 56.48 kB / 0.6456 GB, free: 5.867 MB / 462.1 MB Notification: Performance of pre-optimization done (n=180): time 3.797e-06/0.8379, allocations: 0 / 0.6456 GB, free: 5.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=180): time 0.05813/0.896, allocations: 14.19 MB / 0.6594 GB, free: 7.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.8961, allocations: 69.41 kB / 0.6595 GB, free: 7.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.8968, allocations: 449.8 kB / 0.6599 GB, free: 7.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.8969, allocations: 53.7 kB / 0.66 GB, free: 7.047 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.8971, allocations: 265.9 kB / 0.6602 GB, free: 6.781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007005/0.8979, allocations: 0.6122 MB / 0.6608 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.898, allocations: 32 kB / 0.6608 GB, free: 6.129 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.8982, allocations: 406.7 kB / 0.6612 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.8995, allocations: 0.7378 MB / 0.662 GB, free: 4.984 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.9009, allocations: 0.9548 MB / 0.6629 GB, free: 3.969 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.9025, allocations: 0.9038 MB / 0.6638 GB, free: 3.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9025, allocations: 4 kB / 0.6638 GB, free: 3.066 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004797/0.9073, allocations: 2.746 MB / 0.6665 GB, free: 316 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.9074, allocations: 7.984 kB / 0.6665 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.9074, allocations: 4 kB / 0.6665 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009742/0.9172, allocations: 2.233 MB / 0.6686 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.918, allocations: 163.8 kB / 0.6688 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005936/0.924, allocations: 3.533 MB / 0.6723 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.9254, allocations: 146.6 kB / 0.6724 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.9256, allocations: 71.97 kB / 0.6725 GB, free: 10.13 MB / 494.1 MB 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 (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 100} Notification: Performance of prepare postOptimizeDAE: time 0.0006508/0.9262, allocations: 337.4 kB / 0.6728 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.9264, allocations: 98.88 kB / 0.6729 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.9401, allocations: 9.366 MB / 0.682 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001255/0.9403, allocations: 111.8 kB / 0.6821 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.9403, allocations: 0 / 0.6821 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.9403, allocations: 11.95 kB / 0.6821 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.9552, allocations: 10.73 MB / 0.6926 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.9553, allocations: 3.953 kB / 0.6926 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.9559, allocations: 123.8 kB / 0.6927 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01248/0.9684, allocations: 4.981 MB / 0.6976 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004105/0.9689, allocations: 47.98 kB / 0.6977 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.9794, allocations: 7.858 MB / 0.7053 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9794, allocations: 0 / 0.7053 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.9896, allocations: 7.511 MB / 0.7127 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.9911, allocations: 0.6448 MB / 0.7133 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.9913, allocations: 44 kB / 0.7133 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/0.9921, allocations: 95.78 kB / 0.7134 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.9924, allocations: 133.8 kB / 0.7136 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.9925, allocations: 67.98 kB / 0.7136 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005501/0.9931, allocations: 410.8 kB / 0.714 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9931, allocations: 0 / 0.714 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004524/0.9976, allocations: 1.195 MB / 0.7152 GB, free: 13.95 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 (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 147} Notification: Performance of Backend phase and start with SimCode phase: time 0.004602/1.002, allocations: 1.029 MB / 0.7162 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007011/1.009, allocations: 3.384 MB / 0.7195 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.009, allocations: 4.062 kB / 0.7195 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004902/1.014, allocations: 2.697 MB / 0.7221 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/1.018, allocations: 0.7308 MB / 0.7228 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2723/1.29, allocations: 6.321 MB / 0.729 GB, free: 207.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/1.292, allocations: 1.592 MB / 0.7306 GB, free: 206.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/1.292, allocations: 73.75 kB / 0.7306 GB, free: 206.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/1.292, allocations: 1.375 kB / 0.7306 GB, free: 206.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.08161/1.374, allocations: 42.05 MB / 0.7717 GB, free: 183.4 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.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