Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_latest_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.001109/0.001109, allocations: 102.3 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.001571/0.001571, allocations: 178.9 kB / 16.58 MB, free: 6.133 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.468/1.468, 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.816/2.816, allocations: 436.7 MB / 0.7113 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 12.22 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8175, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003472/0.821, allocations: 2.426 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.8238, allocations: 1.58 MB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.8241, allocations: 12 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008961/0.825, allocations: 278.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.8254, allocations: 151.3 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008945/0.8264, allocations: 290.1 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.8271, allocations: 0.6519 MB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/0.8276, allocations: 389.8 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.8279, allocations: 215.1 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.8282, allocations: 246.8 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.8282, allocations: 20 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.8285, allocations: 71.95 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.8287, allocations: 163.4 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.8288, allocations: 133.3 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.8294, allocations: 0.5397 MB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.8294, allocations: 4 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8294, allocations: 4 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.8294, allocations: 0 / 1.029 GB, free: 9.934 MB / 0.7794 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.001312/0.8308, allocations: 0.8907 MB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.8308, allocations: 11.98 kB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.831, allocations: 86.97 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.8316, allocations: 467.9 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.8316, allocations: 45.31 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/0.8317, allocations: 67.92 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009137/0.8326, allocations: 0.613 MB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.8327, allocations: 7.938 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.8327, allocations: 20 kB / 1.031 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.8328, allocations: 16 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.8334, allocations: 375.5 kB / 1.031 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.836, allocations: 2.6 MB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.8367, allocations: 372.2 kB / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.8369, allocations: 173.1 kB / 1.034 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.837, allocations: 11.89 kB / 1.034 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/0.8375, allocations: 285.6 kB / 1.035 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 5.1e-06/0.8375, allocations: 3.984 kB / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.0009785/0.8385, allocations: 0.5 MB / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.8386, allocations: 221.5 kB / 1.035 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006854/0.8393, allocations: 0.6041 MB / 1.036 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.8394, allocations: 49.69 kB / 1.036 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.8396, allocations: 344.6 kB / 1.036 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.8397, allocations: 115.2 kB / 1.036 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.8398, allocations: 16 kB / 1.036 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.84, allocations: 378.8 kB / 1.037 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.8402, allocations: 141.2 kB / 1.037 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.8406, allocations: 343.6 kB / 1.037 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.8409, allocations: 152.8 kB / 1.037 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8409, allocations: 4 kB / 1.037 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000771/0.8417, allocations: 0.5345 MB / 1.038 GB, free: 4 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.8417, allocations: 9.453 kB / 1.038 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8417, allocations: 12 kB / 1.038 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.8418, allocations: 12 kB / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.842, allocations: 79.72 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.842, allocations: 12 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.8422, allocations: 59.42 kB / 1.038 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.8423, allocations: 24 kB / 1.038 GB, free: 15.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition2.t_start,transition2.t_start,$PRE.transition1.t_start,transition1.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition5.t_start,transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.8426, allocations: 281.5 kB / 1.038 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.8427, allocations: 67.2 kB / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.8433, allocations: 399.1 kB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8434, allocations: 8 kB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8434, allocations: 0 / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.8434, allocations: 15.91 kB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.8447, allocations: 1.067 MB / 1.04 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.8448, allocations: 0 / 1.04 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.8449, allocations: 31.92 kB / 1.04 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.8449, allocations: 0 / 1.04 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.8449, allocations: 15.98 kB / 1.04 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8449, allocations: 4 kB / 1.04 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.8449, allocations: 0 / 1.04 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.8456, allocations: 0.5329 MB / 1.04 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.8457, allocations: 144.2 kB / 1.041 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.8458, allocations: 20 kB / 1.041 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.8459, allocations: 15.98 kB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.846, allocations: 51.88 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.8461, allocations: 23.98 kB / 1.041 GB, free: 13.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004023/0.8465, allocations: 394.8 kB / 1.041 GB, free: 12.63 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8465, allocations: 0 / 1.041 GB, free: 12.63 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005033/0.847, allocations: 139.6 kB / 1.041 GB, free: 12.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,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: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.848, allocations: 471.3 kB / 1.042 GB, free: 12.19 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.8487, allocations: 398.6 kB / 1.042 GB, free: 11.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8487, allocations: 0 / 1.042 GB, free: 11.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.849, allocations: 196.4 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.8496, allocations: 92.41 kB / 1.042 GB, free: 11.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.8514, allocations: 1.351 MB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.8519, allocations: 0.9302 MB / 1.044 GB, free: 9.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.852, allocations: 51.42 kB / 1.045 GB, free: 9.109 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.852, allocations: 0 / 1.045 GB, free: 9.109 MB / 0.795 GB Notification: Performance of Templates: time 0.01135/0.8634, allocations: 7.786 MB / 1.052 GB, free: 1.355 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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 OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDownCalcHelperMain.o] Error 1