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.0008058/0.0008058, allocations: 101.6 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.0009012/0.0009013, allocations: 171.7 kB / 16.58 MB, free: 6.863 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.776/1.776, allocations: 205.4 MB / 222.8 MB, free: 5.887 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.885/1.885, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0006025/0.0006026, allocations: 18.56 kB / 0.6744 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3451, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004429/0.3496, allocations: 2.421 MB / 0.7903 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.3526, allocations: 1.519 MB / 0.7918 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.353, allocations: 11.94 kB / 0.7918 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.354, allocations: 274.8 kB / 0.7921 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004458/0.3545, allocations: 155.3 kB / 0.7922 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.3554, allocations: 275.3 kB / 0.7925 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007975/0.3562, allocations: 0.6402 MB / 0.7931 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006641/0.3569, allocations: 386 kB / 0.7935 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.3572, allocations: 211.1 kB / 0.7937 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.3576, allocations: 226.9 kB / 0.7939 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.3577, allocations: 24 kB / 0.7939 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.3579, allocations: 67.91 kB / 0.794 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.3581, allocations: 155.5 kB / 0.7941 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3583, allocations: 137.3 kB / 0.7942 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006725/0.359, allocations: 0.5341 MB / 0.7948 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.359, allocations: 0 / 0.7948 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.737e-06/0.359, allocations: 0 / 0.7948 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.359, allocations: 0 / 0.7948 GB, free: 4.914 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.001713/0.3608, allocations: 0.8808 MB / 0.7956 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.3608, allocations: 8.031 kB / 0.7956 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.361, allocations: 90.92 kB / 0.7957 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.3618, allocations: 472 kB / 0.7962 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.3619, allocations: 45.3 kB / 0.7962 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.362, allocations: 56 kB / 0.7963 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.3631, allocations: 0.6051 MB / 0.7969 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.3631, allocations: 0 / 0.7969 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.3632, allocations: 24 kB / 0.7969 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.3632, allocations: 12 kB / 0.7969 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.3639, allocations: 383.5 kB / 0.7973 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.3669, allocations: 2.58 MB / 0.7998 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.3676, allocations: 277.5 kB / 0.8 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.3678, allocations: 152.5 kB / 0.8002 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.3679, allocations: 4 kB / 0.8002 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.3683, allocations: 201.9 kB / 0.8004 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/0.3683, allocations: 0 / 0.8004 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0009581/0.3693, allocations: 457.9 kB / 0.8008 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.3694, allocations: 93.03 kB / 0.8009 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.3701, allocations: 0.6285 MB / 0.8015 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.3701, allocations: 49.64 kB / 0.8016 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.3704, allocations: 356.4 kB / 0.8019 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.89e-05/0.3705, allocations: 102.7 kB / 0.802 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.3706, allocations: 12 kB / 0.802 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.3708, allocations: 378.8 kB / 0.8024 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.371, allocations: 125.2 kB / 0.8025 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.3714, allocations: 339.6 kB / 0.8028 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.3717, allocations: 140.8 kB / 0.803 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3717, allocations: 0 / 0.803 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008522/0.3726, allocations: 0.5145 MB / 0.8035 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3726, allocations: 8 kB / 0.8035 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3726, allocations: 8 kB / 0.8035 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.3727, allocations: 8 kB / 0.8035 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.3729, allocations: 75.78 kB / 0.8036 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.3729, allocations: 16.47 kB / 0.8036 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.3732, allocations: 63.42 kB / 0.8036 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.3733, allocations: 28 kB / 0.8037 GB, free: 11.35 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,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,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 (77): * Single equations (assignments): 77 * 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.0003417/0.3736, allocations: 266.8 kB / 0.8039 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.3737, allocations: 59.25 kB / 0.804 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.3744, allocations: 407.3 kB / 0.8044 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3744, allocations: 8 kB / 0.8044 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3744, allocations: 3.953 kB / 0.8044 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3744, allocations: 0 / 0.8044 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.376, allocations: 1.043 MB / 0.8054 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.376, allocations: 4 kB / 0.8054 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3761, allocations: 27.92 kB / 0.8054 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.3762, allocations: 7.953 kB / 0.8054 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.3762, allocations: 8 kB / 0.8054 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3762, allocations: 0 / 0.8054 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3762, allocations: 3.938 kB / 0.8054 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.377, allocations: 475.2 kB / 0.8059 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3771, allocations: 140.2 kB / 0.806 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.3772, allocations: 19.88 kB / 0.806 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3773, allocations: 23.98 kB / 0.8061 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3775, allocations: 39.94 kB / 0.8061 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.3775, allocations: 19.98 kB / 0.8061 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004901/0.378, allocations: 407 kB / 0.8065 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.378, allocations: 0 / 0.8065 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005842/0.3786, allocations: 127.7 kB / 0.8066 GB, free: 8.195 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 (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.001204/0.3798, allocations: 459.9 kB / 0.8071 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006906/0.3805, allocations: 375.4 kB / 0.8074 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3806, allocations: 0 / 0.8074 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.3808, allocations: 172.1 kB / 0.8076 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.3814, allocations: 86.94 kB / 0.8077 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3833, allocations: 1.315 MB / 0.809 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.3839, allocations: 0.9341 MB / 0.8099 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.3841, allocations: 47.42 kB / 0.8099 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.3841, allocations: 0 / 0.8099 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.01401/0.3981, allocations: 7.669 MB / 0.8174 GB, free: 13.3 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++ 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_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