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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|u1_actual.y.1.|u1Ava.y.1.|u1Hea_actual.y.1.|avaHeaCoo.y1Hea|avaHeaCoo.y1Coo|avaHea.y1Hea",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1_actual.y.1.|u1Ava.y.1.|u1Hea_actual.y.1.|avaHeaCoo.y1Hea|avaHeaCoo.y1Coo|avaHea.y1Hea",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.001193/0.001193, allocations: 109.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.556/2.556, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.58 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2865, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability): time 0.007751/0.2943, allocations: 3.982 MB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004676/0.299, allocations: 2.349 MB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/0.2995, allocations: 31.88 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000852/0.3004, allocations: 374.2 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.3008, allocations: 203 kB / 1.071 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.3029, allocations: 1.067 MB / 1.072 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003351/0.3063, allocations: 3.085 MB / 1.075 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003231/0.3095, allocations: 1.949 MB / 1.076 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.3108, allocations: 1.025 MB / 1.077 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.3121, allocations: 1.004 MB / 1.078 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.4996/0.8117, allocations: 261.8 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.8132, allocations: 338.1 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009859/0.8142, allocations: 0.801 MB / 1.08 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.8155, allocations: 1.078 MB / 1.081 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.8191, allocations: 2.613 MB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.8191, allocations: 1.188 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8191, allocations: 0 / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.051e-05/0.8192, allocations: 0.5312 kB / 1.083 GB, free: 14.52 MB / 0.8419 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.004353/0.8235, allocations: 2.29 MB / 1.086 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.8236, allocations: 10.11 kB / 1.086 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.8241, allocations: 217.9 kB / 1.086 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.826, allocations: 1.183 MB / 1.087 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.8262, allocations: 168.8 kB / 1.087 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/0.8265, allocations: 214.6 kB / 1.087 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.8301, allocations: 2.164 MB / 1.089 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.133e-05/0.8302, allocations: 11.69 kB / 1.09 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.8304, allocations: 83.83 kB / 1.09 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.8304, allocations: 44.81 kB / 1.09 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.8331, allocations: 1.501 MB / 1.091 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.8434, allocations: 9.217 MB / 1.1 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.8455, allocations: 1.404 MB / 1.101 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.8466, allocations: 0.7078 MB / 1.102 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.485e-05/0.8467, allocations: 27.58 kB / 1.102 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.8483, allocations: 1.053 MB / 1.103 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=145): time 3.487e-06/0.8484, allocations: 0 / 1.103 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of matching and sorting (n=145): time 0.003525/0.8519, allocations: 1.876 MB / 1.105 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.8521, allocations: 0.5044 MB / 1.106 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.8543, allocations: 1.168 MB / 1.107 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004426/0.8548, allocations: 119.8 kB / 1.107 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008675/0.8557, allocations: 0.7046 MB / 1.107 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.856, allocations: 344.6 kB / 1.108 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.8574, allocations: 0.5896 MB / 1.108 GB, free: 348 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.8575, allocations: 303.3 kB / 1.109 GB, free: 44 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.8591, allocations: 0.5849 MB / 1.109 GB, free: 0 / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/0.8617, allocations: 1.698 MB / 1.111 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.864, allocations: 1.564 MB / 1.112 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.78e-05/0.8641, allocations: 10.09 kB / 1.112 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.003548/0.8676, allocations: 1.837 MB / 1.114 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.8677, allocations: 18.59 kB / 1.114 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/0.8677, allocations: 22.17 kB / 1.114 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.297e-05/0.8678, allocations: 37.31 kB / 1.114 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.8686, allocations: 230.7 kB / 1.115 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.019e-05/0.8687, allocations: 48.66 kB / 1.115 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.8708, allocations: 274.9 kB / 1.115 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.871, allocations: 99.17 kB / 1.115 GB, free: 12.55 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.001136/0.8721, allocations: 0.6443 MB / 1.116 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.8724, allocations: 136 kB / 1.116 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.875, allocations: 1.455 MB / 1.117 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.875, allocations: 26.06 kB / 1.117 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.875, allocations: 6.156 kB / 1.117 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.8751, allocations: 12.16 kB / 1.117 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006028/0.8811, allocations: 3.257 MB / 1.12 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.8811, allocations: 4 kB / 1.12 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.8815, allocations: 83.97 kB / 1.12 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.8815, allocations: 10.06 kB / 1.12 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.8816, allocations: 48.33 kB / 1.12 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/0.8816, allocations: 10.33 kB / 1.12 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.8816, allocations: 8.469 kB / 1.12 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.8843, allocations: 1.646 MB / 1.122 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.8846, allocations: 228 kB / 1.122 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.8849, allocations: 52.59 kB / 1.122 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.8854, allocations: 46.19 kB / 1.122 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004825/0.8859, allocations: 220.9 kB / 1.123 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.8861, allocations: 67.41 kB / 1.123 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001136/0.8872, allocations: 0.6721 MB / 1.123 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8872, allocations: 4 kB / 1.123 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001862/0.8891, allocations: 450.1 kB / 1.124 GB, free: 8.641 MB / 0.8575 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.0005055/0.8896, allocations: 275.6 kB / 1.124 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004843/0.8945, allocations: 1.848 MB / 1.126 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.8945, allocations: 1.281 kB / 1.126 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.8963, allocations: 1.127 MB / 1.127 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.8973, allocations: 177.1 kB / 1.127 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/0.9033, allocations: 3.58 MB / 1.131 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.9046, allocations: 1.306 MB / 1.132 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.9051, allocations: 140.1 kB / 1.132 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of SimCode: time 5.62e-07/0.9051, allocations: 0 / 1.132 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Templates: time 0.04502/0.9502, allocations: 21.77 MB / 1.153 GB, free: 11.67 MB / 0.8731 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