Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001546, allocations: 176.4 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 436.7 MB / 0.7113 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 8 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9045/0.9049, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.2023/1.107, allocations: 165.1 MB / 1.183 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01935/1.127, allocations: 12.43 MB / 1.195 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/1.129, allocations: 27.81 kB / 1.195 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/1.131, allocations: 373.7 kB / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008715/1.14, allocations: 1.733 MB / 1.197 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004565/1.144, allocations: 0.8604 MB / 1.198 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006558/1.151, allocations: 2.611 MB / 1.201 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/1.153, allocations: 0.6098 MB / 1.201 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/1.155, allocations: 0.7233 MB / 1.202 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/1.157, allocations: 0.6494 MB / 1.202 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/1.157, allocations: 40 kB / 1.203 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005497/1.162, allocations: 1.782 MB / 1.204 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004321/1.163, allocations: 275 kB / 1.205 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005588/1.164, allocations: 249 kB / 1.205 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003699/1.167, allocations: 1.913 MB / 1.207 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/1.167, allocations: 4 kB / 1.207 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.767e-06/1.167, allocations: 0 / 1.207 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.02e-05/1.167, allocations: 0 / 1.207 GB, free: 3.227 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003163/1.17, allocations: 1.576 MB / 1.208 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.171, allocations: 8.031 kB / 1.208 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/1.171, allocations: 234.2 kB / 1.208 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/1.173, allocations: 1.079 MB / 1.209 GB, free: 224 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/1.173, allocations: 49.31 kB / 1.21 GB, free: 172 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.173, allocations: 63.95 kB / 1.21 GB, free: 108 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/1.175, allocations: 0.7597 MB / 1.21 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.175, allocations: 3.938 kB / 1.21 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/1.175, allocations: 28 kB / 1.21 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/1.175, allocations: 12 kB / 1.21 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/1.176, allocations: 0.7507 MB / 1.211 GB, free: 14.53 MB / 0.9669 GB 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.004313/1.181, allocations: 3.097 MB / 1.214 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.182, allocations: 0.7595 MB / 1.215 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/1.183, allocations: 339.7 kB / 1.215 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004285/1.187, allocations: 3.62 MB / 1.219 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007387/1.188, allocations: 385.3 kB / 1.219 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 2.485e-06/1.188, allocations: 0 / 1.219 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.004692/1.193, allocations: 1.507 MB / 1.221 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/1.193, allocations: 81.55 kB / 1.221 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/1.194, allocations: 1.148 MB / 1.222 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/1.194, allocations: 49.64 kB / 1.222 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/1.195, allocations: 0.4888 MB / 1.222 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/1.195, allocations: 177.5 kB / 1.222 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/1.195, allocations: 16 kB / 1.222 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.195, allocations: 333.9 kB / 1.223 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/1.196, allocations: 309.2 kB / 1.223 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008102/1.197, allocations: 0.5989 MB / 1.224 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/1.197, allocations: 362 kB / 1.224 GB, free: 452 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.197, allocations: 0 / 1.224 GB, free: 452 kB / 0.9669 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001936/1.199, allocations: 0.9954 MB / 1.225 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.199, allocations: 160.4 kB / 1.225 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.199, allocations: 4 kB / 1.225 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838/3.038, allocations: 193.5 MB / 1.414 GB, free: 88.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/3.038, allocations: 132.4 kB / 1.414 GB, free: 88.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/3.04, allocations: 1.283 MB / 1.415 GB, free: 86.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/3.041, allocations: 106.3 kB / 1.416 GB, free: 86.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/3.041, allocations: 32.72 kB / 1.416 GB, free: 86.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/3.041, allocations: 4 kB / 1.416 GB, free: 86.86 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001739/3.043, allocations: 0.8749 MB / 1.416 GB, free: 86.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/3.043, allocations: 4 kB / 1.416 GB, free: 86.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001/4.043, allocations: 193.5 MB / 1.605 GB, free: 4.609 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/4.044, allocations: 130.7 kB / 1.606 GB, free: 4.484 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/4.046, allocations: 1.285 MB / 1.607 GB, free: 3.242 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/4.047, allocations: 94.7 kB / 1.607 GB, free: 3.184 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/4.047, allocations: 33.23 kB / 1.607 GB, free: 3.156 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009279/4.048, allocations: 380.5 kB / 1.607 GB, free: 2.781 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/4.048, allocations: 114.1 kB / 1.607 GB, free: 2.73 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/4.05, allocations: 0.9563 MB / 1.608 GB, free: 1.781 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/4.05, allocations: 4 kB / 1.608 GB, free: 1.777 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/4.05, allocations: 0 / 1.608 GB, free: 1.777 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/4.052, allocations: 0.9968 MB / 1.609 GB, free: 0.707 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/4.056, allocations: 2.101 MB / 1.611 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/4.056, allocations: 0 / 1.611 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/4.057, allocations: 80.77 kB / 1.611 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273/5.33, allocations: 96.83 MB / 1.706 GB, free: 439 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/5.33, allocations: 17.52 kB / 1.706 GB, free: 439 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/5.331, allocations: 0.7427 MB / 1.707 GB, free: 438.5 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/5.331, allocations: 1.5 kB / 1.707 GB, free: 438.5 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/5.336, allocations: 1.504 MB / 1.708 GB, free: 438.3 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007641/5.337, allocations: 298.9 kB / 1.709 GB, free: 438.2 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/5.337, allocations: 15.11 kB / 1.709 GB, free: 438.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/5.337, allocations: 48.97 kB / 1.709 GB, free: 438.2 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/5.338, allocations: 40 kB / 1.709 GB, free: 438.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.176e-05/5.338, allocations: 26.16 kB / 1.709 GB, free: 438.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001703/5.339, allocations: 0.8058 MB / 1.709 GB, free: 437.8 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/5.339, allocations: 0 / 1.709 GB, free: 437.8 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002858/5.342, allocations: 0.7113 MB / 1.71 GB, free: 437.8 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002753/5.345, allocations: 0.9199 MB / 1.711 GB, free: 437.6 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003404/5.348, allocations: 1.205 MB / 1.712 GB, free: 437.3 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/5.348, allocations: 1.578 kB / 1.712 GB, free: 437.3 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/5.349, allocations: 371.7 kB / 1.713 GB, free: 437.1 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/5.352, allocations: 487.9 kB / 1.713 GB, free: 437 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/5.357, allocations: 2.346 MB / 1.715 GB, free: 435.8 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/5.358, allocations: 1.082 MB / 1.716 GB, free: 435 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/5.359, allocations: 101.1 kB / 1.716 GB, free: 435 MB / 1.201 GB Notification: Performance of SimCode: time 1.583e-06/5.359, allocations: 0 / 1.716 GB, free: 435 MB / 1.201 GB Notification: Performance of Templates: time 0.05586/5.415, allocations: 27.77 MB / 1.744 GB, free: 418.8 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlusCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlusCalcHelperMain.o] Error 1