Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.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.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008977/0.0008976, allocations: 92.16 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.0009674/0.0009673, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004359, allocations: 6.844 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.319, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability): time 0.004467/0.3235, allocations: 3.511 MB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.328, allocations: 2.338 MB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.3291, allocations: 31.88 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.3303, allocations: 374.2 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009229/0.3312, allocations: 203 kB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.3342, allocations: 1.069 MB / 1.067 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003486/0.3377, allocations: 2.773 MB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.3406, allocations: 1.654 MB / 1.071 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.3421, allocations: 0.7552 MB / 1.072 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.3435, allocations: 0.8009 MB / 1.073 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.344, allocations: 80 kB / 1.073 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.3447, allocations: 143.9 kB / 1.073 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009321/0.3457, allocations: 0.588 MB / 1.073 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.3471, allocations: 0.8523 MB / 1.074 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.3495, allocations: 2.416 MB / 1.076 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3495, allocations: 4 kB / 1.076 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3495, allocations: 0 / 1.076 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001199/0.3497, allocations: 0 / 1.076 GB, free: 3.27 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 437 * Number of variables: 437 Notification: Performance of Generate backend data structure: time 0.004085/0.3537, allocations: 1.744 MB / 1.078 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3538, allocations: 19.97 kB / 1.078 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/0.3544, allocations: 218.5 kB / 1.078 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.3563, allocations: 1.181 MB / 1.08 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3565, allocations: 167.8 kB / 1.08 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/0.3568, allocations: 220.3 kB / 1.08 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.3604, allocations: 2.167 MB / 1.082 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.3604, allocations: 8.125 kB / 1.082 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.3606, allocations: 83.92 kB / 1.082 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.3606, allocations: 44 kB / 1.082 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.3633, allocations: 1.498 MB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.3734, allocations: 9.23 MB / 1.093 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.3753, allocations: 1.408 MB / 1.094 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009199/0.3762, allocations: 0.6967 MB / 1.095 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.3763, allocations: 28.83 kB / 1.095 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.3778, allocations: 1.064 MB / 1.096 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=145): time 5.099e-06/0.3778, allocations: 0 / 1.096 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=145): time 0.003132/0.381, allocations: 1.868 MB / 1.098 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/0.3812, allocations: 0.5083 MB / 1.098 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.3827, allocations: 1.168 MB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002784/0.383, allocations: 121.7 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/0.3837, allocations: 0.7128 MB / 1.1 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.384, allocations: 343.7 kB / 1.1 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000388/0.3844, allocations: 315.9 kB / 1.101 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.3845, allocations: 309.1 kB / 1.101 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/0.3855, allocations: 0.5468 MB / 1.102 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.3874, allocations: 1.694 MB / 1.103 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.3893, allocations: 1.564 MB / 1.105 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.3893, allocations: 8 kB / 1.105 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.002808/0.3921, allocations: 1.843 MB / 1.107 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.3922, allocations: 16 kB / 1.107 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.3922, allocations: 20 kB / 1.107 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.959e-05/0.3922, allocations: 40.03 kB / 1.107 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.3929, allocations: 223.4 kB / 1.107 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.641e-05/0.393, allocations: 47.8 kB / 1.107 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.3948, allocations: 278.6 kB / 1.107 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.395, allocations: 104 kB / 1.107 GB, free: 2.043 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 212 ($PRE.avaHeaCoo.trnToOff.enableFire,$PRE.avaHeaCoo.trnToCoo.enableFire,$PRE.avaHeaCoo.trnToHea.enableFire,$PRE.avaHeaCoo.trnToOff1.enableFire,$PRE.avaHeaCoo.trnToAvaTim.enableFire,$PRE.avaHeaCoo.trnToUna.enableFire,$PRE.avaHeaCoo.trnToAva.enableFire,$PRE.avaHeaCoo.trnToUna2.enableFire,$PRE.avaHeaCoo.trnToUna3.enableFire,$PRE.avaHea.trnToOff.enableFire,$PRE.avaHea.trnToCoo.enableFire,$PRE.avaHea.trnToHea.enableFire,$PRE.avaHea.trnToOff1.enableFire,$PRE.avaHea.trnToAvaTim.enableFire,$PRE.avaHea.trnToUna.enableFire,$PRE.avaHea.trnToAva.enableFire,$PRE.avaHea.trnToUna2.enableFire,$PRE.avaHea.trnToUna3.enableFire,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,avaHeaCoo.trnToOff.t_start,$PRE.avaHeaCoo.trnToOff.t_start,avaHeaCoo.trnToCoo.t_start,$PRE.avaHeaCoo.trnToCoo.t_start,avaHeaCoo.trnToHea.t_start,$PRE.avaHeaCoo.trnToHea.t_start,avaHeaCoo.trnToOff1.t_start,$PRE.avaHeaCoo.trnToOff1.t_start,avaHeaCoo.trnToUna.t_start,$PRE.avaHeaCoo.trnToUna.t_start,avaHeaCoo.trnToAva.t_start,$PRE.avaHeaCoo.trnToAva.t_start,avaHeaCoo.trnToUna2.t_start,$PRE.avaHeaCoo.trnToUna2.t_start,avaHeaCoo.trnToUna3.t_start,$PRE.avaHeaCoo.trnToUna3.t_start,avaHea.trnToOff.t_start,$PRE.avaHea.trnToOff.t_start,avaHea.trnToCoo.t_start,$PRE.avaHea.trnToCoo.t_start,avaHea.trnToHea.t_start,$PRE.avaHea.trnToHea.t_start,avaHea.trnToOff1.t_start,$PRE.avaHea.trnToOff1.t_start,avaHea.trnToUna.t_start,$PRE.avaHea.trnToUna.t_start,avaHea.trnToAva.t_start,$PRE.avaHea.trnToAva.t_start,avaHea.trnToUna2.t_start,$PRE.avaHea.trnToUna2.t_start,avaHea.trnToUna3.t_start,$PRE.avaHea.trnToUna3.t_start,avaHea.onAndCoo.u2,avaHea.coo.y,avaHea.trnToAvaTim.condition,avaHea.stateGraphRoot.resume,avaHea.stateGraphRoot.suspend,avaHeaCoo.trnToAvaTim.condition,avaHeaCoo.stateGraphRoot.resume,avaHeaCoo.stateGraphRoot.suspend,avaHea.phHea.ph.y,avaHea.trnToCoo.condition,avaHea.trnToCoo.enableFire,avaHea.trnToUna3.enableFire,avaHea.trnToUna2.enableFire,avaHea.trnToAva.enableFire,avaHea.trnToUna.enableFire,avaHea.unaSta.oldActive,$PRE.avaHea.unaSta.oldActive,avaHea.unaSta.newActive,$PRE.avaHea.unaSta.newActive,avaHea.unaSta.inPort[3].occupied,avaHea.unaSta.inPort[2].occupied,avaHea.unaSta.localActive,$PRE.avaHea.unaSta.localActive,avaHea.unaSta.active,avaHea.trnToAvaTim.t_start,$PRE.avaHea.trnToAvaTim.t_start,avaHea.trnToAvaTim.fire,avaHea.trnToAvaTim.enableFire,avaHea.offSta.oldActive,$PRE.avaHea.offSta.oldActive,avaHea.offSta.newActive,$PRE.avaHea.offSta.newActive,avaHea.offSta.inPort[2].occupied,avaHea.offSta.localActive,$PRE.avaHea.offSta.localActive,avaHea.offSta.active,avaHea.avaAllCoo.y,avaHea.trnToOff1.enableFire,avaHea.trnToHea.enableFire,avaHea.onCoo.active,avaHea.onCoo.oldActive,$PRE.avaHea.onCoo.oldActive,avaHea.onCoo.newActive,$PRE.avaHea.onCoo.newActive,avaHea.onCoo.outPort[2].available,avaHea.onCoo.localActive,$PRE.avaHea.onCoo.localActive,avaHea.trnToOff.enableFire,avaHea.avaMod.active,avaHea.avaMod.oldActive,$PRE.avaHea.avaMod.oldActive,avaHea.avaMod.newActive,$PRE.avaHea.avaMod.newActive,avaHea.avaMod.outPort[3].available,avaHea.avaMod.outPort[2].available,avaHea.avaMod.inPort[2].occupied,avaHea.avaMod.localActive,$PRE.avaHea.avaMod.localActive,avaHea.onHea.active,avaHea.onHea.oldActive,$PRE.avaHea.onHea.oldActive,avaHea.onHea.newActive,$PRE.avaHea.onHea.newActive,avaHea.onHea.outPort[2].available,avaHea.onHea.localActive,$PRE.avaHea.onHea.localActive,avaHea.stateGraphRoot.activeSteps,avaHea.y1Hea,u1Hea_actual.intTimTab.idx,$PRE.u1Hea_actual.intTimTab.idx,u1Hea_actual.intTimTab.y[1],$PRE.u1Hea_actual.intTimTab.y[1],u1Hea_actual.y[1],u1_actual.intTimTab.idx,$PRE.u1_actual.intTimTab.idx,u1_actual.intTimTab.y[1],$PRE.u1_actual.intTimTab.y[1],u1_actual.y[1],u1Ava.intTimTab.idx,$PRE.u1Ava.intTimTab.idx,u1Ava.intTimTab.y[1],$PRE.u1Ava.intTimTab.y[1],u1Ava.y[1],avaHeaCoo.trnToUna3.enableFire,avaHeaCoo.trnToUna2.enableFire,avaHeaCoo.trnToAva.enableFire,avaHeaCoo.trnToUna.enableFire,avaHeaCoo.unaSta.oldActive,$PRE.avaHeaCoo.unaSta.oldActive,avaHeaCoo.unaSta.newActive,$PRE.avaHeaCoo.unaSta.newActive,avaHeaCoo.unaSta.inPort[3].occupied,avaHeaCoo.unaSta.inPort[2].occupied,avaHeaCoo.unaSta.localActive,$PRE.avaHeaCoo.unaSta.localActive,avaHeaCoo.unaSta.active,avaHeaCoo.trnToAvaTim.t_start,$PRE.avaHeaCoo.trnToAvaTim.t_start,avaHeaCoo.trnToAvaTim.fire,avaHeaCoo.trnToAvaTim.enableFire,avaHeaCoo.offSta.oldActive,$PRE.avaHeaCoo.offSta.oldActive,avaHeaCoo.offSta.newActive,$PRE.avaHeaCoo.offSta.newActive,avaHeaCoo.offSta.inPort[2].occupied,avaHeaCoo.offSta.localActive,$PRE.avaHeaCoo.offSta.localActive,avaHeaCoo.offSta.active,avaHeaCoo.trnToOff1.enableFire,avaHeaCoo.trnToHea.enableFire,avaHeaCoo.trnToHea.condition,avaHeaCoo.trnToCoo.enableFire,avaHeaCoo.trnToCoo.condition,avaHeaCoo.onCoo.active,avaHeaCoo.onCoo.oldActive,$PRE.avaHeaCoo.onCoo.oldActive,avaHeaCoo.onCoo.newActive,$PRE.avaHeaCoo.onCoo.newActive,avaHeaCoo.onCoo.outPort[2].available,avaHeaCoo.onCoo.localActive,$PRE.avaHeaCoo.onCoo.localActive,avaHeaCoo.trnToOff.enableFire,avaHeaCoo.avaMod.active,avaHeaCoo.avaMod.oldActive,$PRE.avaHeaCoo.avaMod.oldActive,avaHeaCoo.avaMod.newActive,$PRE.avaHeaCoo.avaMod.newActive,avaHeaCoo.avaMod.outPort[3].available,avaHeaCoo.avaMod.outPort[2].available,avaHeaCoo.avaMod.inPort[2].occupied,avaHeaCoo.avaMod.localActive,$PRE.avaHeaCoo.avaMod.localActive,avaHeaCoo.onHea.active,avaHeaCoo.onHea.oldActive,$PRE.avaHeaCoo.onHea.oldActive,avaHeaCoo.onHea.newActive,$PRE.avaHeaCoo.onHea.newActive,avaHeaCoo.onHea.outPort[2].available,avaHeaCoo.onHea.localActive,$PRE.avaHeaCoo.onHea.localActive,avaHeaCoo.stateGraphRoot.activeSteps,avaHeaCoo.y1Coo,avaHeaCoo.y1Hea,$whenCondition1,$whenCondition19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 265 * 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.0009689/0.3959, allocations: 0.6446 MB / 1.108 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.3961, allocations: 134.4 kB / 1.108 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.3984, allocations: 1.459 MB / 1.109 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.3984, allocations: 20 kB / 1.109 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.3984, allocations: 8 kB / 1.109 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.3984, allocations: 11.97 kB / 1.109 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.4031, allocations: 3.267 MB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4031, allocations: 4 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.4034, allocations: 83.77 kB / 1.113 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.4034, allocations: 8 kB / 1.113 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.4035, allocations: 43.91 kB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/0.4035, allocations: 15.94 kB / 1.113 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4036, allocations: 4 kB / 1.113 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.4057, allocations: 1.646 MB / 1.114 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.406, allocations: 243.2 kB / 1.115 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.4061, allocations: 47.92 kB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.4065, allocations: 47.91 kB / 1.115 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/0.4069, allocations: 221 kB / 1.115 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.407, allocations: 63.97 kB / 1.115 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008487/0.4079, allocations: 0.6825 MB / 1.116 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4079, allocations: 0 / 1.116 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001589/0.4095, allocations: 454.4 kB / 1.116 GB, free: 8.785 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 148 (avaHea.trnToUna3.t_start,avaHea.trnToUna2.t_start,avaHea.trnToAva.t_start,avaHea.trnToUna.t_start,avaHea.trnToOff1.t_start,avaHea.trnToHea.t_start,avaHea.trnToCoo.t_start,avaHea.trnToOff.t_start,avaHeaCoo.trnToUna3.t_start,avaHeaCoo.trnToUna2.t_start,avaHeaCoo.trnToAva.t_start,avaHeaCoo.trnToUna.t_start,avaHeaCoo.trnToOff1.t_start,avaHeaCoo.trnToHea.t_start,avaHeaCoo.trnToCoo.t_start,avaHeaCoo.trnToOff.t_start,avaHeaCoo.onHea.localActive,avaHeaCoo.avaMod.localActive,avaHeaCoo.trnToAvaTim.enableFire,avaHeaCoo.onCoo.localActive,avaHeaCoo.offSta.localActive,avaHeaCoo.unaSta.localActive,avaHea.onHea.localActive,avaHea.avaMod.localActive,avaHea.trnToAvaTim.enableFire,avaHea.onCoo.localActive,avaHea.offSta.localActive,avaHea.unaSta.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$cse14,$cse16,$cse17,$cse18,$cse19,$cse20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,avaHeaCoo.y1Hea,avaHeaCoo.y1Coo,avaHeaCoo.stateGraphRoot.activeSteps,avaHeaCoo.onHea.outPort[2].available,avaHeaCoo.onHea.newActive,avaHeaCoo.onHea.oldActive,avaHeaCoo.onHea.active,avaHeaCoo.avaMod.inPort[2].occupied,avaHeaCoo.avaMod.outPort[2].available,avaHeaCoo.avaMod.outPort[3].available,avaHeaCoo.avaMod.newActive,avaHeaCoo.avaMod.oldActive,avaHeaCoo.avaMod.active,avaHeaCoo.trnToOff.enableFire,avaHeaCoo.onCoo.outPort[2].available,avaHeaCoo.onCoo.newActive,avaHeaCoo.onCoo.oldActive,avaHeaCoo.onCoo.active,avaHeaCoo.trnToCoo.condition,avaHeaCoo.trnToCoo.enableFire,avaHeaCoo.trnToHea.condition,avaHeaCoo.trnToHea.enableFire,avaHeaCoo.trnToOff1.enableFire,avaHeaCoo.offSta.active,avaHeaCoo.offSta.inPort[2].occupied,avaHeaCoo.offSta.newActive,avaHeaCoo.offSta.oldActive,avaHeaCoo.trnToAvaTim.fire,avaHeaCoo.trnToAvaTim.t_start,avaHeaCoo.unaSta.active,avaHeaCoo.unaSta.inPort[2].occupied,avaHeaCoo.unaSta.inPort[3].occupied,avaHeaCoo.unaSta.newActive,avaHeaCoo.unaSta.oldActive,avaHeaCoo.trnToUna.enableFire,avaHeaCoo.trnToAva.enableFire,avaHeaCoo.trnToUna2.enableFire,avaHeaCoo.trnToUna3.enableFire,u1Ava.y[1],u1Ava.intTimTab.y[1],u1Ava.intTimTab.idx,u1_actual.y[1],u1_actual.intTimTab.y[1],u1_actual.intTimTab.idx,u1Hea_actual.y[1],u1Hea_actual.intTimTab.y[1],u1Hea_actual.intTimTab.idx,avaHea.y1Hea,avaHea.stateGraphRoot.activeSteps,avaHea.onHea.outPort[2].available,avaHea.onHea.newActive,avaHea.onHea.oldActive,avaHea.onHea.active,avaHea.avaMod.inPort[2].occupied,avaHea.avaMod.outPort[2].available,avaHea.avaMod.outPort[3].available,avaHea.avaMod.newActive,avaHea.avaMod.oldActive,avaHea.avaMod.active,avaHea.trnToOff.enableFire,avaHea.onCoo.outPort[2].available,avaHea.onCoo.newActive,avaHea.onCoo.oldActive,avaHea.onCoo.active,avaHea.trnToHea.enableFire,avaHea.trnToOff1.enableFire,avaHea.avaAllCoo.y,avaHea.offSta.active,avaHea.offSta.inPort[2].occupied,avaHea.offSta.newActive,avaHea.offSta.oldActive,avaHea.trnToAvaTim.fire,avaHea.trnToAvaTim.t_start,avaHea.unaSta.active,avaHea.unaSta.inPort[2].occupied,avaHea.unaSta.inPort[3].occupied,avaHea.unaSta.newActive,avaHea.unaSta.oldActive,avaHea.trnToUna.enableFire,avaHea.trnToAva.enableFire,avaHea.trnToUna2.enableFire,avaHea.trnToUna3.enableFire) * Number of discrete states: 26 (avaHea.unaSta.newActive,avaHea.offSta.newActive,avaHea.onCoo.newActive,avaHea.avaMod.newActive,avaHea.onHea.newActive,avaHeaCoo.unaSta.newActive,avaHeaCoo.offSta.newActive,avaHeaCoo.onCoo.newActive,avaHeaCoo.avaMod.newActive,avaHeaCoo.onHea.newActive,avaHeaCoo.trnToOff.t_start,avaHeaCoo.trnToCoo.t_start,avaHeaCoo.trnToHea.t_start,avaHeaCoo.trnToOff1.t_start,avaHeaCoo.trnToUna.t_start,avaHeaCoo.trnToAva.t_start,avaHeaCoo.trnToUna2.t_start,avaHeaCoo.trnToUna3.t_start,avaHea.trnToOff.t_start,avaHea.trnToCoo.t_start,avaHea.trnToHea.t_start,avaHea.trnToOff1.t_start,avaHea.trnToUna.t_start,avaHea.trnToAva.t_start,avaHea.trnToUna2.t_start,avaHea.trnToUna3.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.0004028/0.4099, allocations: 272.2 kB / 1.116 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002486/0.4124, allocations: 1.574 MB / 1.118 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4124, allocations: 4 kB / 1.118 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.414, allocations: 1.128 MB / 1.119 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.4153, allocations: 178.7 kB / 1.119 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.4202, allocations: 3.581 MB / 1.123 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009264/0.4212, allocations: 1.305 MB / 1.124 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.4216, allocations: 139.3 kB / 1.124 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.4217, allocations: 0 / 1.124 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of Templates: time 0.03039/0.452, allocations: 21.47 MB / 1.145 GB, free: 11.27 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.makefile make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.makefile clang++ -std=c++14 -fopenmp=libomp -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_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailabilityCalcHelperMain.o OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailabilityCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailabilityCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2632:66: error: use of undeclared identifier '_u1Ava_P_intTimTab_P_timeStamps__1' _timeEventData[0] = std::make_pair((_u1Ava_P_intTimTab_P_t0_ + _u1Ava_P_intTimTab_P_timeStamps__1), _u1Ava_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2634:66: error: use of undeclared identifier '_u1Ava_P_intTimTab_P_timeStamps__2' _timeEventData[1] = std::make_pair((_u1Ava_P_intTimTab_P_t0_ + _u1Ava_P_intTimTab_P_timeStamps__2), _u1Ava_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2636:66: error: use of undeclared identifier '_u1Ava_P_intTimTab_P_timeStamps__3' _timeEventData[2] = std::make_pair((_u1Ava_P_intTimTab_P_t0_ + _u1Ava_P_intTimTab_P_timeStamps__3), _u1Ava_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2638:70: error: use of undeclared identifier '_u1_actual_P_intTimTab_P_timeStamps__1' _timeEventData[3] = std::make_pair((_u1_actual_P_intTimTab_P_t0_ + _u1_actual_P_intTimTab_P_timeStamps__1), _u1_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2640:70: error: use of undeclared identifier '_u1_actual_P_intTimTab_P_timeStamps__2' _timeEventData[4] = std::make_pair((_u1_actual_P_intTimTab_P_t0_ + _u1_actual_P_intTimTab_P_timeStamps__2), _u1_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2642:70: error: use of undeclared identifier '_u1_actual_P_intTimTab_P_timeStamps__3' _timeEventData[5] = std::make_pair((_u1_actual_P_intTimTab_P_t0_ + _u1_actual_P_intTimTab_P_timeStamps__3), _u1_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2644:70: error: use of undeclared identifier '_u1_actual_P_intTimTab_P_timeStamps__4' _timeEventData[6] = std::make_pair((_u1_actual_P_intTimTab_P_t0_ + _u1_actual_P_intTimTab_P_timeStamps__4), _u1_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2646:70: error: use of undeclared identifier '_u1_actual_P_intTimTab_P_timeStamps__5' _timeEventData[7] = std::make_pair((_u1_actual_P_intTimTab_P_t0_ + _u1_actual_P_intTimTab_P_timeStamps__5), _u1_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2648:70: error: use of undeclared identifier '_u1_actual_P_intTimTab_P_timeStamps__6' _timeEventData[8] = std::make_pair((_u1_actual_P_intTimTab_P_t0_ + _u1_actual_P_intTimTab_P_timeStamps__6), _u1_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2650:70: error: use of undeclared identifier '_u1_actual_P_intTimTab_P_timeStamps__7' _timeEventData[9] = std::make_pair((_u1_actual_P_intTimTab_P_t0_ + _u1_actual_P_intTimTab_P_timeStamps__7), _u1_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2652:71: error: use of undeclared identifier '_u1_actual_P_intTimTab_P_timeStamps__8' _timeEventData[10] = std::make_pair((_u1_actual_P_intTimTab_P_t0_ + _u1_actual_P_intTimTab_P_timeStamps__8), _u1_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2654:74: error: use of undeclared identifier '_u1Hea_actual_P_intTimTab_P_timeStamps__1' _timeEventData[11] = std::make_pair((_u1Hea_actual_P_intTimTab_P_t0_ + _u1Hea_actual_P_intTimTab_P_timeStamps__1), _u1Hea_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2656:74: error: use of undeclared identifier '_u1Hea_actual_P_intTimTab_P_timeStamps__2' _timeEventData[12] = std::make_pair((_u1Hea_actual_P_intTimTab_P_t0_ + _u1Hea_actual_P_intTimTab_P_timeStamps__2), _u1Hea_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2658:74: error: use of undeclared identifier '_u1Hea_actual_P_intTimTab_P_timeStamps__3' _timeEventData[13] = std::make_pair((_u1Hea_actual_P_intTimTab_P_t0_ + _u1Hea_actual_P_intTimTab_P_timeStamps__3), _u1Hea_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2660:74: error: use of undeclared identifier '_u1Hea_actual_P_intTimTab_P_timeStamps__4' _timeEventData[14] = std::make_pair((_u1Hea_actual_P_intTimTab_P_t0_ + _u1Hea_actual_P_intTimTab_P_timeStamps__4), _u1Hea_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2662:74: error: use of undeclared identifier '_u1Hea_actual_P_intTimTab_P_timeStamps__5' _timeEventData[15] = std::make_pair((_u1Hea_actual_P_intTimTab_P_t0_ + _u1Hea_actual_P_intTimTab_P_timeStamps__5), _u1Hea_actual_P_intTimTab_P_period_); ^ ./OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.cpp:2664:74: error: use of undeclared identifier '_u1Hea_actual_P_intTimTab_P_timeStamps__6' _timeEventData[16] = std::make_pair((_u1Hea_actual_P_intTimTab_P_t0_ + _u1Hea_actual_P_intTimTab_P_timeStamps__6), _u1Hea_actual_P_intTimTab_P_period_); ^ 17 errors generated. make: *** [: OMCppBuildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailabilityCalcHelperMain.o] Error 1