Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.EquipmentEnable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1AvaEqu.y.1.|u1AvaEqu.y.2.|u1AvaEqu.y.3.|equEnaEqu.uSta|equEnaEqu.y1.1.|equEnaEqu.y1.2.|equEnaEqu.y1.3.|equEnaOneTwo.uSta|equEnaOneTwo.y1.1.|equEnaOneTwo.y1.2.|equEnaOneTwo.y1.3.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1AvaEqu.y.1.|u1AvaEqu.y.2.|u1AvaEqu.y.3.|equEnaEqu.uSta|equEnaEqu.y1.1.|equEnaEqu.y1.2.|equEnaEqu.y1.3.|equEnaOneTwo.uSta|equEnaOneTwo.y1.1.|equEnaOneTwo.y1.2.|equEnaOneTwo.y1.3.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 105.6 kB / 15.98 MB, free: 6.289 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.00157/0.00157, allocations: 197.9 kB / 16.91 MB, free: 6.148 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.36 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable): time 0.004546/0.3105, allocations: 2.666 MB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003859/0.3144, allocations: 2.253 MB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.315, allocations: 35.81 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.3164, allocations: 0.7752 MB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.3168, allocations: 179.3 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.3184, allocations: 0.5909 MB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.3214, allocations: 2.749 MB / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.324, allocations: 2.214 MB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.3256, allocations: 1.204 MB / 1.077 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.3273, allocations: 1.245 MB / 1.078 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005149/0.3278, allocations: 280 kB / 1.078 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.3285, allocations: 399.8 kB / 1.078 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.494/0.8225, allocations: 1.134 MB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.8242, allocations: 1.326 MB / 1.081 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.8285, allocations: 3.444 MB / 1.084 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8285, allocations: 1.031 kB / 1.084 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8285, allocations: 0 / 1.084 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001636/0.8287, allocations: 0 / 1.084 GB, free: 14.25 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.007232/0.8359, allocations: 3.296 MB / 1.087 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.836, allocations: 11.03 kB / 1.087 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007661/0.8367, allocations: 298.3 kB / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.8403, allocations: 2.044 MB / 1.09 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.8405, allocations: 191.5 kB / 1.09 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/0.841, allocations: 230.5 kB / 1.09 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004817/0.8458, allocations: 2.567 MB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.8459, allocations: 0.8125 kB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.8461, allocations: 84.7 kB / 1.093 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.8462, allocations: 47.22 kB / 1.093 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003787/0.8499, allocations: 2.289 MB / 1.095 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.8616, allocations: 5.903 MB / 1.101 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.8645, allocations: 2.079 MB / 1.103 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.8658, allocations: 0.9855 MB / 1.104 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.866, allocations: 22.42 kB / 1.104 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/0.8677, allocations: 1.229 MB / 1.105 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=171): time 3.877e-06/0.8678, allocations: 0 / 1.105 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=171): time 0.004933/0.8727, allocations: 3.165 MB / 1.108 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.8728, allocations: 300.8 kB / 1.108 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/0.8762, allocations: 1.978 MB / 1.11 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0006621/0.8769, allocations: 88.38 kB / 1.11 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.878, allocations: 1.056 MB / 1.111 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/0.8784, allocations: 400.5 kB / 1.112 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.8795, allocations: 0.6397 MB / 1.112 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.8795, allocations: 306.9 kB / 1.113 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.8809, allocations: 0.9531 MB / 1.114 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.8833, allocations: 1.992 MB / 1.116 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.8861, allocations: 2.375 MB / 1.118 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.8861, allocations: 3.156 kB / 1.118 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004646/0.8908, allocations: 2.661 MB / 1.12 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.891, allocations: 243 kB / 1.121 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003272/0.8943, allocations: 2.269 MB / 1.123 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.714e-05/0.8943, allocations: 19.78 kB / 1.123 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008653/0.8952, allocations: 242.1 kB / 1.123 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.999e-05/0.8952, allocations: 24.09 kB / 1.123 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.8983, allocations: 328.6 kB / 1.123 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.8986, allocations: 151.2 kB / 1.124 GB, free: 13.21 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 165 ($PRE.equEnaOneTwo.truArrCon.u,$PRE.equEnaEqu.truArrCon.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,equEnaEqu.one.y,equEnaOneTwo.one.y,sort1.yIdx[2],sort1.yIdx[1],uSta1.idx,$PRE.uSta1.idx,uSta1.y[1],$PRE.uSta1.y[1],equEnaEqu.greZer.y,equEnaEqu.truArrCon.iIdx,equEnaEqu.truArrCon.iTru,equEnaEqu.truArrCon.y1[3],equEnaEqu.truArrCon.y1[2],equEnaEqu.truArrCon.y1[1],equEnaEqu.truArrCon.uIdx[3],equEnaEqu.truArrCon.uIdx[2],equEnaEqu.truArrCon.uIdx[1],equEnaEqu.truArrCon.u,equEnaEqu.isEnaPreAva[3].y,equEnaEqu.isEnaPreAva[2].y,equEnaEqu.isEnaPreAva[1].y,equEnaEqu.intLes.y,equEnaEqu.nEnaAvaPre.booToInt[3].y,equEnaEqu.nEnaAvaPre.booToInt[2].y,equEnaEqu.nEnaAvaPre.booToInt[1].y,equEnaEqu.nEnaAvaPre.y,equEnaEqu.nReq.booToInt[3].y,equEnaEqu.nReq.booToInt[2].y,equEnaEqu.nReq.booToInt[1].y,equEnaEqu.nReq.y,equEnaEqu.booScaRep.y[3],equEnaEqu.y1Pre[3].y,equEnaEqu.y1Pre[3].u,$PRE.equEnaEqu.y1Pre[3].u,equEnaEqu.y1Pre[2].y,equEnaEqu.y1Pre[2].u,$PRE.equEnaEqu.y1Pre[2].u,equEnaEqu.y1Pre[1].y,equEnaEqu.y1Pre[1].u,$PRE.equEnaEqu.y1Pre[1].u,equEnaEqu.cha.down,equEnaEqu.cha.up,equEnaEqu.cha.y,equEnaEqu.cha.u,$PRE.equEnaEqu.cha.u,equEnaEqu.isReqAltAvaNee[3].y,equEnaEqu.isReqAltAvaNee[2].y,equEnaEqu.isReqAltAvaNee[1].y,equEnaEqu.nEquSta.y,equEnaEqu.ena[3].y,equEnaEqu.ena[2].y,equEnaEqu.ena[1].y,equEnaEqu.isReqAltAva[3].uTemp[2],equEnaEqu.isReqAltAva[3].y,equEnaEqu.isReqAltAva[3].u[1],equEnaEqu.isReqAltAva[2].uTemp[2],equEnaEqu.isReqAltAva[2].y,equEnaEqu.isReqAltAva[2].u[1],equEnaEqu.isReqAltAva[1].uTemp[2],equEnaEqu.isReqAltAva[1].y,equEnaEqu.isReqAltAva[1].u[1],equEnaEqu.isNotReqNoAlt[3].y,equEnaEqu.isNotReqNoAlt[2].y,equEnaEqu.isNotReqNoAlt[1].y,equEnaEqu.isReqAva[3].y,equEnaEqu.isReqAva[2].y,equEnaEqu.isReqAva[1].y,equEnaEqu.isReq[3].y,equEnaEqu.isReq[2].y,equEnaEqu.isReq[1].y,equEnaEqu.intScaRep.y[3],uSta.idx,$PRE.uSta.idx,uSta.y[1],$PRE.uSta.y[1],equEnaOneTwo.greZer.y,equEnaOneTwo.truArrCon.iIdx,equEnaOneTwo.truArrCon.iTru,equEnaOneTwo.truArrCon.y1[3],equEnaOneTwo.truArrCon.y1[2],equEnaOneTwo.truArrCon.y1[1],equEnaOneTwo.truArrCon.uIdx[2],equEnaOneTwo.truArrCon.uIdx[1],equEnaOneTwo.truArrCon.u,equEnaOneTwo.isEnaPreAva[3].y,equEnaOneTwo.isEnaPreAva[2].y,equEnaOneTwo.isEnaPreAva[1].y,equEnaOneTwo.intLes.y,equEnaOneTwo.nEnaAvaPre.booToInt[3].y,equEnaOneTwo.nEnaAvaPre.booToInt[2].y,equEnaOneTwo.nEnaAvaPre.booToInt[1].y,equEnaOneTwo.nEnaAvaPre.y,equEnaOneTwo.nReq.booToInt[3].y,equEnaOneTwo.nReq.booToInt[2].y,equEnaOneTwo.nReq.booToInt[1].y,equEnaOneTwo.nReq.y,equEnaOneTwo.booScaRep.y[3],equEnaOneTwo.y1Pre[3].y,equEnaOneTwo.y1Pre[3].u,$PRE.equEnaOneTwo.y1Pre[3].u,equEnaOneTwo.y1Pre[2].y,equEnaOneTwo.y1Pre[2].u,$PRE.equEnaOneTwo.y1Pre[2].u,equEnaOneTwo.y1Pre[1].y,equEnaOneTwo.y1Pre[1].u,$PRE.equEnaOneTwo.y1Pre[1].u,equEnaOneTwo.cha.down,equEnaOneTwo.cha.up,equEnaOneTwo.cha.y,equEnaOneTwo.cha.u,$PRE.equEnaOneTwo.cha.u,equEnaOneTwo.isReqAltAvaNee[3].y,equEnaOneTwo.isReqAltAvaNee[2].y,equEnaOneTwo.isReqAltAvaNee[1].y,equEnaOneTwo.nEquSta.y,equEnaOneTwo.ena[3].y,equEnaOneTwo.ena[2].y,equEnaOneTwo.ena[1].y,equEnaOneTwo.isReqAltAva[3].uTemp[2],equEnaOneTwo.isReqAltAva[3].y,equEnaOneTwo.isReqAltAva[3].u[1],equEnaOneTwo.isReqAltAva[2].uTemp[2],equEnaOneTwo.isReqAltAva[2].y,equEnaOneTwo.isReqAltAva[2].u[1],equEnaOneTwo.isReqAltAva[1].uTemp[2],equEnaOneTwo.isReqAltAva[1].y,equEnaOneTwo.isReqAltAva[1].u[1],equEnaOneTwo.isNotReqNoAlt[3].y,equEnaOneTwo.isNotReqNoAlt[2].y,equEnaOneTwo.isNotReqNoAlt[1].y,equEnaOneTwo.isReqAva[3].y,equEnaOneTwo.isReqAva[2].y,equEnaOneTwo.isReqAva[1].y,equEnaOneTwo.isReq[3].y,equEnaOneTwo.isReq[2].y,equEnaOneTwo.isReq[1].y,equEnaOneTwo.intScaRep.y[3],u1AvaEqu.intTimTab.idx,$PRE.u1AvaEqu.intTimTab.idx,u1AvaEqu.intTimTab.y[3],$PRE.u1AvaEqu.intTimTab.y[3],u1AvaEqu.intTimTab.y[2],$PRE.u1AvaEqu.intTimTab.y[2],u1AvaEqu.intTimTab.y[1],$PRE.u1AvaEqu.intTimTab.y[1],u1AvaEqu.y[3],u1AvaEqu.y[2],u1AvaEqu.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 2 * 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.002509/0.9011, allocations: 1.261 MB / 1.125 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005558/0.9017, allocations: 191.6 kB / 1.125 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.9056, allocations: 2.527 MB / 1.127 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.9057, allocations: 17.56 kB / 1.127 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9057, allocations: 1.438 kB / 1.127 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.9057, allocations: 9.375 kB / 1.128 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0065/0.9122, allocations: 4.437 MB / 1.132 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003093/0.9153, allocations: 2.241 MB / 1.134 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.9159, allocations: 115.2 kB / 1.134 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.9159, allocations: 6.062 kB / 1.134 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.916, allocations: 43.86 kB / 1.134 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/0.916, allocations: 12.59 kB / 1.134 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.916, allocations: 0 / 1.134 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.9198, allocations: 2.554 MB / 1.137 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.9202, allocations: 262.1 kB / 1.137 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.9205, allocations: 52.27 kB / 1.137 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.9213, allocations: 87.66 kB / 1.137 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005493/0.9218, allocations: 271.3 kB / 1.137 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/0.9221, allocations: 130.8 kB / 1.137 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001946/0.924, allocations: 1.254 MB / 1.139 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.924, allocations: 0 / 1.139 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001935/0.926, allocations: 0.5444 MB / 1.139 GB, free: 6.008 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 145 ($whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1AvaEqu.y[1],u1AvaEqu.y[2],u1AvaEqu.y[3],u1AvaEqu.intTimTab.y[1],u1AvaEqu.intTimTab.y[2],u1AvaEqu.intTimTab.y[3],u1AvaEqu.intTimTab.idx,equEnaOneTwo.intScaRep.y[3],equEnaOneTwo.isReq[1].y,equEnaOneTwo.isReq[2].y,equEnaOneTwo.isReq[3].y,equEnaOneTwo.isReqAva[1].y,equEnaOneTwo.isReqAva[2].y,equEnaOneTwo.isReqAva[3].y,equEnaOneTwo.isNotReqNoAlt[1].y,equEnaOneTwo.isNotReqNoAlt[2].y,equEnaOneTwo.isNotReqNoAlt[3].y,equEnaOneTwo.isReqAltAva[1].u[1],equEnaOneTwo.isReqAltAva[1].y,equEnaOneTwo.isReqAltAva[1].uTemp[2],equEnaOneTwo.isReqAltAva[2].u[1],equEnaOneTwo.isReqAltAva[2].y,equEnaOneTwo.isReqAltAva[2].uTemp[2],equEnaOneTwo.isReqAltAva[3].u[1],equEnaOneTwo.isReqAltAva[3].y,equEnaOneTwo.isReqAltAva[3].uTemp[2],equEnaOneTwo.ena[1].y,equEnaOneTwo.ena[2].y,equEnaOneTwo.ena[3].y,equEnaOneTwo.nEquSta.y,equEnaOneTwo.isReqAltAvaNee[1].y,equEnaOneTwo.isReqAltAvaNee[2].y,equEnaOneTwo.isReqAltAvaNee[3].y,equEnaOneTwo.cha.u,equEnaOneTwo.cha.y,equEnaOneTwo.cha.up,equEnaOneTwo.cha.down,equEnaOneTwo.y1Pre[1].u,equEnaOneTwo.y1Pre[1].y,equEnaOneTwo.y1Pre[2].u,equEnaOneTwo.y1Pre[2].y,equEnaOneTwo.y1Pre[3].u,equEnaOneTwo.y1Pre[3].y,equEnaOneTwo.booScaRep.y[3],equEnaOneTwo.nReq.y,equEnaOneTwo.nReq.booToInt[1].y,equEnaOneTwo.nReq.booToInt[2].y,equEnaOneTwo.nReq.booToInt[3].y,equEnaOneTwo.nEnaAvaPre.y,equEnaOneTwo.nEnaAvaPre.booToInt[1].y,equEnaOneTwo.nEnaAvaPre.booToInt[2].y,equEnaOneTwo.nEnaAvaPre.booToInt[3].y,equEnaOneTwo.intLes.y,equEnaOneTwo.isEnaPreAva[1].y,equEnaOneTwo.isEnaPreAva[2].y,equEnaOneTwo.isEnaPreAva[3].y,equEnaOneTwo.truArrCon.u,equEnaOneTwo.truArrCon.uIdx[1],equEnaOneTwo.truArrCon.uIdx[2],equEnaOneTwo.truArrCon.y1[1],equEnaOneTwo.truArrCon.y1[2],equEnaOneTwo.truArrCon.y1[3],equEnaOneTwo.truArrCon.iTru,equEnaOneTwo.truArrCon.iIdx,equEnaOneTwo.greZer.y,uSta.y[1],uSta.idx,equEnaEqu.intScaRep.y[3],equEnaEqu.isReq[1].y,equEnaEqu.isReq[2].y,equEnaEqu.isReq[3].y,equEnaEqu.isReqAva[1].y,equEnaEqu.isReqAva[2].y,equEnaEqu.isReqAva[3].y,equEnaEqu.isNotReqNoAlt[1].y,equEnaEqu.isNotReqNoAlt[2].y,equEnaEqu.isNotReqNoAlt[3].y,equEnaEqu.isReqAltAva[1].u[1],equEnaEqu.isReqAltAva[1].y,equEnaEqu.isReqAltAva[1].uTemp[2],equEnaEqu.isReqAltAva[2].u[1],equEnaEqu.isReqAltAva[2].y,equEnaEqu.isReqAltAva[2].uTemp[2],equEnaEqu.isReqAltAva[3].u[1],equEnaEqu.isReqAltAva[3].y,equEnaEqu.isReqAltAva[3].uTemp[2],equEnaEqu.ena[1].y,equEnaEqu.ena[2].y,equEnaEqu.ena[3].y,equEnaEqu.nEquSta.y,equEnaEqu.isReqAltAvaNee[1].y,equEnaEqu.isReqAltAvaNee[2].y,equEnaEqu.isReqAltAvaNee[3].y,equEnaEqu.cha.u,equEnaEqu.cha.y,equEnaEqu.cha.up,equEnaEqu.cha.down,equEnaEqu.y1Pre[1].u,equEnaEqu.y1Pre[1].y,equEnaEqu.y1Pre[2].u,equEnaEqu.y1Pre[2].y,equEnaEqu.y1Pre[3].u,equEnaEqu.y1Pre[3].y,equEnaEqu.booScaRep.y[3],equEnaEqu.nReq.y,equEnaEqu.nReq.booToInt[1].y,equEnaEqu.nReq.booToInt[2].y,equEnaEqu.nReq.booToInt[3].y,equEnaEqu.nEnaAvaPre.y,equEnaEqu.nEnaAvaPre.booToInt[1].y,equEnaEqu.nEnaAvaPre.booToInt[2].y,equEnaEqu.nEnaAvaPre.booToInt[3].y,equEnaEqu.intLes.y,equEnaEqu.isEnaPreAva[1].y,equEnaEqu.isEnaPreAva[2].y,equEnaEqu.isEnaPreAva[3].y,equEnaEqu.truArrCon.u,equEnaEqu.truArrCon.uIdx[1],equEnaEqu.truArrCon.uIdx[2],equEnaEqu.truArrCon.uIdx[3],equEnaEqu.truArrCon.y1[1],equEnaEqu.truArrCon.y1[2],equEnaEqu.truArrCon.y1[3],equEnaEqu.truArrCon.iTru,equEnaEqu.truArrCon.iIdx,equEnaEqu.greZer.y,uSta1.y[1],uSta1.idx,sort1.yIdx[1],sort1.yIdx[2]) * Number of discrete states: 18 (equEnaOneTwo.y1Pre[1].u,equEnaOneTwo.y1Pre[2].u,equEnaOneTwo.y1Pre[3].u,equEnaEqu.y1Pre[1].u,equEnaEqu.y1Pre[2].u,equEnaEqu.y1Pre[3].u,equEnaEqu.cha.u,equEnaOneTwo.cha.u,equEnaOneTwo.truArrCon.y1[3],equEnaOneTwo.truArrCon.y1[2],equEnaOneTwo.truArrCon.y1[1],equEnaOneTwo.truArrCon.iIdx,equEnaOneTwo.truArrCon.iTru,equEnaEqu.truArrCon.y1[3],equEnaEqu.truArrCon.y1[2],equEnaEqu.truArrCon.y1[1],equEnaEqu.truArrCon.iIdx,equEnaEqu.truArrCon.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 2 * When equations: 8 * 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.0005459/0.9265, allocations: 327.1 kB / 1.14 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007744/0.9343, allocations: 4.334 MB / 1.144 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/0.9343, allocations: 0.5625 kB / 1.144 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002/0.9363, allocations: 1.697 MB / 1.145 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.9379, allocations: 320.6 kB / 1.146 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007885/0.9458, allocations: 5.714 MB / 1.151 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.9474, allocations: 1.819 MB / 1.153 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/0.948, allocations: 160.9 kB / 1.153 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.948, allocations: 0 / 1.153 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.0532/1.001, allocations: 32.27 MB / 1.185 GB, free: 14.18 MB / 0.9044 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.makefile make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.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_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.o OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableInitialize.cpp:415:34: error: no matching function for call to object of type 'StatArrayDim1' _equEnaEqu_P_reqEquSta1_P_y_ = _equEnaEqu_P_reqEquSta1_P_u_(1,min(3,max(1,_equEnaEqu_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableInitialize.cpp:436:34: error: no matching function for call to object of type 'StatArrayDim1' _equEnaEqu_P_reqEquSta2_P_y_ = _equEnaEqu_P_reqEquSta2_P_u_(2,min(3,max(1,_equEnaEqu_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableInitialize.cpp:457:34: error: no matching function for call to object of type 'StatArrayDim1' _equEnaEqu_P_reqEquSta3_P_y_ = _equEnaEqu_P_reqEquSta3_P_u_(3,min(3,max(1,_equEnaEqu_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableInitialize.cpp:876:37: error: no matching function for call to object of type 'StatArrayDim1' _equEnaOneTwo_P_reqEquSta1_P_y_ = _equEnaOneTwo_P_reqEquSta1_P_u_(1,min(5,max(1,_equEnaOneTwo_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableInitialize.cpp:897:37: error: no matching function for call to object of type 'StatArrayDim1' _equEnaOneTwo_P_reqEquSta2_P_y_ = _equEnaOneTwo_P_reqEquSta2_P_u_(2,min(5,max(1,_equEnaOneTwo_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableInitialize.cpp:918:37: error: no matching function for call to object of type 'StatArrayDim1' _equEnaOneTwo_P_reqEquSta3_P_y_ = _equEnaOneTwo_P_reqEquSta3_P_u_(3,min(5,max(1,_equEnaOneTwo_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableInitialize.cpp:1746:30: error: no matching member function for call to 'assign' __omcQ_24OMC_24CF_24init1_.assign(get<1>(tmp25.data)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:943:16: note: candidate function not viable: no known conversion from '__tuple_element_t<1UL, tuple, DynArrayDim1>>' (aka 'DynArrayDim1') to 'const double *' for 1st argument virtual void assign(const T* data) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:957:16: note: candidate function not viable: no known conversion from '__tuple_element_t<1UL, tuple, DynArrayDim1>>' (aka 'DynArrayDim1') to 'const BaseArray' for 1st argument virtual void assign(const BaseArray& b) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:972:16: note: candidate function not viable: no known conversion from '__tuple_element_t<1UL, tuple, DynArrayDim1>>' (aka 'DynArrayDim1') to 'const double' for 1st argument virtual void assign(const T& value) ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:600:29: error: no matching member function for call to 'assign' __omcQ_24OMC_24CF_24sim1_.assign(get<1>(tmp184.data)); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:943:16: note: candidate function not viable: no known conversion from '__tuple_element_t<1UL, tuple, DynArrayDim1>>' (aka 'DynArrayDim1') to 'const double *' for 1st argument virtual void assign(const T* data) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:957:16: note: candidate function not viable: no known conversion from '__tuple_element_t<1UL, tuple, DynArrayDim1>>' (aka 'DynArrayDim1') to 'const BaseArray' for 1st argument virtual void assign(const BaseArray& b) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:972:16: note: candidate function not viable: no known conversion from '__tuple_element_t<1UL, tuple, DynArrayDim1>>' (aka 'DynArrayDim1') to 'const double' for 1st argument virtual void assign(const T& value) ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:876:37: error: no matching function for call to object of type 'StatArrayDim1' _equEnaOneTwo_P_reqEquSta3_P_y_ = _equEnaOneTwo_P_reqEquSta3_P_u_(3,min(5,max(1,_equEnaOneTwo_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:975:37: error: no matching function for call to object of type 'StatArrayDim1' _equEnaOneTwo_P_reqEquSta2_P_y_ = _equEnaOneTwo_P_reqEquSta2_P_u_(2,min(5,max(1,_equEnaOneTwo_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:1074:37: error: no matching function for call to object of type 'StatArrayDim1' _equEnaOneTwo_P_reqEquSta1_P_y_ = _equEnaOneTwo_P_reqEquSta1_P_u_(1,min(5,max(1,_equEnaOneTwo_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:1532:34: error: no matching function for call to object of type 'StatArrayDim1' _equEnaEqu_P_reqEquSta3_P_y_ = _equEnaEqu_P_reqEquSta3_P_u_(3,min(3,max(1,_equEnaEqu_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:1631:34: error: no matching function for call to object of type 'StatArrayDim1' _equEnaEqu_P_reqEquSta2_P_y_ = _equEnaEqu_P_reqEquSta2_P_u_(2,min(3,max(1,_equEnaEqu_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:1730:34: error: no matching function for call to object of type 'StatArrayDim1' _equEnaEqu_P_reqEquSta1_P_y_ = _equEnaEqu_P_reqEquSta1_P_u_(1,min(3,max(1,_equEnaEqu_P_intScaRep_P_y_(3)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1117:20: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1126:14: note: candidate function not viable: requires single argument 'idx', but 2 arguments were provided virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1135:21: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual T& operator()(size_t index) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1144:27: note: candidate function not viable: requires single argument 'index', but 2 arguments were provided inline virtual const T& operator()(size_t index) const ^ In file included from OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:2479:69: error: use of undeclared identifier '_u1AvaEqu_P_intTimTab_P_timeStamps__1' _timeEventData[0] = std::make_pair((_u1AvaEqu_P_intTimTab_P_t0_ + _u1AvaEqu_P_intTimTab_P_timeStamps__1), _u1AvaEqu_P_intTimTab_P_period_); ^ ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:2481:69: error: use of undeclared identifier '_u1AvaEqu_P_intTimTab_P_timeStamps__2' _timeEventData[1] = std::make_pair((_u1AvaEqu_P_intTimTab_P_t0_ + _u1AvaEqu_P_intTimTab_P_timeStamps__2), _u1AvaEqu_P_intTimTab_P_period_); ^ ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:2483:69: error: use of undeclared identifier '_u1AvaEqu_P_intTimTab_P_timeStamps__3' _timeEventData[2] = std::make_pair((_u1AvaEqu_P_intTimTab_P_t0_ + _u1AvaEqu_P_intTimTab_P_timeStamps__3), _u1AvaEqu_P_intTimTab_P_period_); ^ ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:2485:69: error: use of undeclared identifier '_u1AvaEqu_P_intTimTab_P_timeStamps__4' _timeEventData[3] = std::make_pair((_u1AvaEqu_P_intTimTab_P_t0_ + _u1AvaEqu_P_intTimTab_P_timeStamps__4), _u1AvaEqu_P_intTimTab_P_period_); ^ ./OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.cpp:2487:69: error: use of undeclared identifier '_u1AvaEqu_P_intTimTab_P_timeStamps__5' _timeEventData[4] = std::make_pair((_u1AvaEqu_P_intTimTab_P_t0_ + _u1AvaEqu_P_intTimTab_P_timeStamps__5), _u1AvaEqu_P_intTimTab_P_period_); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppBuildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnableCalcHelperMain.o] Error 1