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.001346/0.001346, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001672/0.001672, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.989/1.989, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3784/0.3784, allocations: 48.85 MB / 320.1 MB, free: 11.32 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.00167/0.00167, allocations: 68.77 kB / 390 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1632, allocations: 59.16 MB / 449.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.6408/0.804, allocations: 159.5 MB / 0.5944 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.8201, allocations: 10.62 MB / 0.6048 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005422/0.8208, allocations: 6.656 kB / 0.6048 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.8214, allocations: 78.95 kB / 0.6049 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007842/0.8293, allocations: 1.682 MB / 0.6065 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.8401, allocations: 2.104 MB / 0.6086 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003301/0.8434, allocations: 2.434 MB / 0.6109 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006313/0.8441, allocations: 474.8 kB / 0.6114 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.8449, allocations: 0.5197 MB / 0.6119 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.8488, allocations: 1.516 MB / 0.6134 GB, free: 424 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.849, allocations: 53.31 kB / 0.6134 GB, free: 424 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/0.8644, allocations: 5.843 MB / 0.6191 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.8659, allocations: 0.5221 MB / 0.6197 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.8682, allocations: 0.5874 MB / 0.6202 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008205/0.8764, allocations: 2.982 MB / 0.6231 GB, free: 8.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.8764, allocations: 0 / 0.6231 GB, free: 8.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.127e-06/0.8765, allocations: 3.938 kB / 0.6231 GB, free: 8.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.267e-05/0.8766, allocations: 3.938 kB / 0.6231 GB, free: 8.664 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.008293/0.8849, allocations: 1.829 MB / 0.6249 GB, free: 6.781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.208e-05/0.885, allocations: 8.031 kB / 0.6249 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/0.888, allocations: 279.5 kB / 0.6252 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.8897, allocations: 0.6082 MB / 0.6258 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.8898, allocations: 74.38 kB / 0.6259 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.8902, allocations: 88.56 kB / 0.626 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005014/0.8952, allocations: 1.668 MB / 0.6276 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.8953, allocations: 0 / 0.6276 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/0.8955, allocations: 40 kB / 0.6276 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.8955, allocations: 24 kB / 0.6276 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004654/0.9002, allocations: 1.686 MB / 0.6293 GB, free: 2.227 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.01008/0.9103, allocations: 5.618 MB / 0.6348 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004765/0.9151, allocations: 2.041 MB / 0.6368 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.9169, allocations: 0.9593 MB / 0.6377 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04902/0.9659, allocations: 20.05 MB / 0.6573 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.988e-05/0.9661, allocations: 56.56 kB / 0.6573 GB, free: 2.914 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 6.542e-06/0.9661, allocations: 0 / 0.6573 GB, free: 2.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=180): time 0.07432/1.04, allocations: 14.66 MB / 0.6717 GB, free: 4.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/1.041, allocations: 69.41 kB / 0.6717 GB, free: 4.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008826/1.042, allocations: 449.9 kB / 0.6722 GB, free: 3.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002677/1.042, allocations: 49.7 kB / 0.6722 GB, free: 3.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/1.042, allocations: 269.9 kB / 0.6725 GB, free: 3.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.043, allocations: 0.6044 MB / 0.673 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007185/1.044, allocations: 291.5 kB / 0.6733 GB, free: 2.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002628/1.044, allocations: 341.9 kB / 0.6737 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/1.046, allocations: 0.7455 MB / 0.6744 GB, free: 1.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/1.048, allocations: 0.9548 MB / 0.6753 GB, free: 368 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/1.052, allocations: 1.874 MB / 0.6771 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.052, allocations: 0 / 0.6771 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005985/1.058, allocations: 2.757 MB / 0.6798 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/1.058, allocations: 4 kB / 0.6798 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.058, allocations: 4 kB / 0.6798 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/1.069, allocations: 2.243 MB / 0.682 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/1.07, allocations: 163.8 kB / 0.6822 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/1.077, allocations: 3.534 MB / 0.6856 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.079, allocations: 154.5 kB / 0.6858 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/1.079, allocations: 67.97 kB / 0.6859 GB, free: 5.473 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.0009082/1.08, allocations: 329.5 kB / 0.6862 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/1.081, allocations: 98.88 kB / 0.6863 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/1.097, allocations: 9.383 MB / 0.6954 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001351/1.097, allocations: 123.8 kB / 0.6955 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.097, allocations: 1.188 kB / 0.6955 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/1.097, allocations: 11.95 kB / 0.6956 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/1.115, allocations: 10.77 MB / 0.7061 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.115, allocations: 0 / 0.7061 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/1.115, allocations: 115.8 kB / 0.7062 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01487/1.13, allocations: 4.997 MB / 0.7111 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/1.131, allocations: 55.97 kB / 0.7111 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/1.143, allocations: 7.874 MB / 0.7188 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.144, allocations: 4 kB / 0.7188 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.156, allocations: 7.535 MB / 0.7262 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.158, allocations: 0.6137 MB / 0.7268 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/1.158, allocations: 55.75 kB / 0.7268 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.16, allocations: 83.72 kB / 0.7269 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/1.16, allocations: 141.7 kB / 0.727 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.16, allocations: 71.98 kB / 0.7271 GB, free: 10.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006776/1.161, allocations: 410.8 kB / 0.7275 GB, free: 10.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/1.161, allocations: 7.938 kB / 0.7275 GB, free: 10.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005193/1.166, allocations: 1.191 MB / 0.7287 GB, free: 9.203 MB / 0.545 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.006722/1.173, allocations: 1.014 MB / 0.7297 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008869/1.182, allocations: 3.387 MB / 0.733 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.182, allocations: 0.5625 kB / 0.733 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006017/1.188, allocations: 2.697 MB / 0.7356 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/1.193, allocations: 0.7211 MB / 0.7363 GB, free: 1.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3223/1.515, allocations: 6.387 MB / 0.7425 GB, free: 222.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/1.517, allocations: 1.588 MB / 0.7441 GB, free: 222 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/1.517, allocations: 69.59 kB / 0.7442 GB, free: 222 MB / 0.545 GB Notification: Performance of SimCode: time 1.864e-06/1.517, allocations: 0 / 0.7442 GB, free: 222 MB / 0.545 GB Notification: Performance of Templates: time 0.07539/1.592, allocations: 42.27 MB / 0.7854 GB, free: 195.7 MB / 0.545 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