Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008301/0.0008303, allocations: 91.61 kB / 16.02 MB, free: 80 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.001055/0.001054, allocations: 177 kB / 16.92 MB, free: 6.652 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.884/1.884, allocations: 205.4 MB / 223.1 MB, free: 5.414 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.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.0008677/0.0008677, allocations: 19.14 kB / 0.675 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3589, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003839/0.3628, allocations: 2.506 MB / 0.791 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.3659, allocations: 1.569 MB / 0.7925 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.3662, allocations: 11.94 kB / 0.7925 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.3675, allocations: 299.5 kB / 0.7928 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005192/0.368, allocations: 151.3 kB / 0.793 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3691, allocations: 318.5 kB / 0.7933 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000811/0.3699, allocations: 0.691 MB / 0.7939 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.3705, allocations: 406.7 kB / 0.7943 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.3708, allocations: 211.1 kB / 0.7945 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.3711, allocations: 238.7 kB / 0.7948 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.3712, allocations: 20 kB / 0.7948 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.3715, allocations: 71.92 kB / 0.7948 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.3717, allocations: 155.4 kB / 0.795 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.372, allocations: 315.6 kB / 0.7953 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.3726, allocations: 0.5262 MB / 0.7958 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3726, allocations: 0 / 0.7958 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3726, allocations: 4 kB / 0.7958 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3726, allocations: 0 / 0.7958 GB, free: 4.09 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001552/0.3742, allocations: 0.881 MB / 0.7967 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3742, allocations: 12.03 kB / 0.7967 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3744, allocations: 83.91 kB / 0.7968 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.3751, allocations: 488.7 kB / 0.7972 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.3751, allocations: 45.69 kB / 0.7973 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.3752, allocations: 68.11 kB / 0.7973 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.3763, allocations: 0.6091 MB / 0.7979 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3763, allocations: 3.938 kB / 0.7979 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.3764, allocations: 16 kB / 0.7979 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3764, allocations: 16 kB / 0.798 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.377, allocations: 375.6 kB / 0.7983 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.38, allocations: 2.58 MB / 0.8008 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.3806, allocations: 285.3 kB / 0.8011 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.3809, allocations: 136.7 kB / 0.8012 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.3809, allocations: 12 kB / 0.8013 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.3813, allocations: 209.8 kB / 0.8015 GB, free: 14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.525e-06/0.3813, allocations: 0 / 0.8015 GB, free: 14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0008526/0.3822, allocations: 461.8 kB / 0.8019 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/0.3823, allocations: 89.09 kB / 0.802 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.383, allocations: 0.6247 MB / 0.8026 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.3831, allocations: 45.69 kB / 0.8026 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.3834, allocations: 368.3 kB / 0.803 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3835, allocations: 102.7 kB / 0.8031 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3837, allocations: 93.66 kB / 0.8032 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.3839, allocations: 374.8 kB / 0.8035 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.3842, allocations: 129.2 kB / 0.8037 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.3846, allocations: 342.9 kB / 0.804 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.3852, allocations: 416.9 kB / 0.8044 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.553e-05/0.3852, allocations: 4 kB / 0.8044 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008483/0.3861, allocations: 0.5144 MB / 0.8049 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.3861, allocations: 11.94 kB / 0.8049 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3862, allocations: 7.938 kB / 0.8049 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.3862, allocations: 12.66 kB / 0.8049 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.3864, allocations: 75.83 kB / 0.805 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.3865, allocations: 15.94 kB / 0.805 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.3867, allocations: 59.52 kB / 0.8051 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.3868, allocations: 24 kB / 0.8051 GB, free: 10.06 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003675/0.3872, allocations: 263.5 kB / 0.8053 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.3873, allocations: 71.14 kB / 0.8054 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007811/0.3881, allocations: 415.3 kB / 0.8058 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.3881, allocations: 4 kB / 0.8058 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3881, allocations: 0 / 0.8058 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3881, allocations: 0 / 0.8058 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.3898, allocations: 1.051 MB / 0.8068 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3898, allocations: 4 kB / 0.8068 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.3899, allocations: 23.92 kB / 0.8069 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3899, allocations: 0 / 0.8069 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3899, allocations: 12 kB / 0.8069 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3899, allocations: 4 kB / 0.8069 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3899, allocations: 0 / 0.8069 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.3906, allocations: 483.1 kB / 0.8073 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3908, allocations: 136.3 kB / 0.8075 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.3909, allocations: 16 kB / 0.8075 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.391, allocations: 15.98 kB / 0.8075 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3912, allocations: 43.89 kB / 0.8075 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.3912, allocations: 15.98 kB / 0.8075 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005745/0.3918, allocations: 415 kB / 0.8079 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3918, allocations: 0 / 0.8079 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007138/0.3925, allocations: 139.5 kB / 0.8081 GB, free: 6.879 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.3939, allocations: 459.4 kB / 0.8085 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008691/0.3948, allocations: 375.2 kB / 0.8089 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3948, allocations: 0.5 kB / 0.8089 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.3952, allocations: 179.8 kB / 0.809 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.3959, allocations: 90.88 kB / 0.8091 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.3981, allocations: 1.37 MB / 0.8105 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.3987, allocations: 0.9341 MB / 0.8114 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3989, allocations: 51.42 kB / 0.8114 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.3989, allocations: 0 / 0.8114 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of Templates: time 0.01359/0.4125, allocations: 7.647 MB / 0.8189 GB, free: 11.94 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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 OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.o] Error 1