Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage.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.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoi.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoi.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage") translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoi.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoi.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001439, allocations: 105.9 kB / 15.98 MB, free: 6.355 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.001497/0.001498, allocations: 196.9 kB / 16.91 MB, free: 6.199 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.55/2.55, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3271, allocations: 159.1 MB / 1.064 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage): time 0.7745/1.102, allocations: 203.2 MB / 1.262 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02786/1.13, allocations: 21.17 MB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/1.132, allocations: 43.75 kB / 1.283 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00351/1.136, allocations: 1.17 MB / 1.284 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006816/1.142, allocations: 2.404 MB / 1.286 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008143/1.151, allocations: 3.258 MB / 1.29 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009239/1.16, allocations: 8.485 MB / 1.298 GB, free: 9.902 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/1.164, allocations: 3.024 MB / 1.301 GB, free: 6.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006151/1.17, allocations: 3.109 MB / 1.304 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/1.175, allocations: 2.988 MB / 1.307 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001802/1.177, allocations: 0.7657 MB / 1.307 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00852/1.186, allocations: 4.152 MB / 1.312 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003284/1.189, allocations: 2.467 MB / 1.314 GB, free: 9.324 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006642/1.196, allocations: 3.711 MB / 1.318 GB, free: 5.598 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01489/1.211, allocations: 13.55 MB / 1.331 GB, free: 8.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.211, allocations: 0 / 1.331 GB, free: 8.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/1.211, allocations: 0 / 1.331 GB, free: 8.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003127/1.211, allocations: 0 / 1.331 GB, free: 8.02 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.02355/1.235, allocations: 7.562 MB / 1.338 GB, free: 332 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.439e-05/1.235, allocations: 8.625 kB / 1.338 GB, free: 324 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05713/1.292, allocations: 3.605 MB / 1.342 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02703/1.319, allocations: 6.785 MB / 1.348 GB, free: 5.832 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001506/1.32, allocations: 451.3 kB / 1.349 GB, free: 5.344 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/1.322, allocations: 179.9 kB / 1.349 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03177/1.354, allocations: 6.45 MB / 1.355 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.348e-05/1.354, allocations: 3.938 kB / 1.355 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/1.355, allocations: 71.92 kB / 1.355 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/1.356, allocations: 55.03 kB / 1.355 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04591/1.402, allocations: 8.58 MB / 1.364 GB, free: 5.953 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09351/1.495, allocations: 24.07 MB / 1.387 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04671/1.542, allocations: 8.371 MB / 1.395 GB, free: 5.266 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01116/1.553, allocations: 3.955 MB / 1.399 GB, free: 1.312 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009466/1.554, allocations: 0.7694 MB / 1.4 GB, free: 384 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01398/1.568, allocations: 5.319 MB / 1.405 GB, free: 11.04 MB / 1.123 GB Notification: Performance of pre-optimization done (n=185): time 6.893e-06/1.568, allocations: 0 / 1.405 GB, free: 11.04 MB / 1.123 GB Notification: Performance of matching and sorting (n=187): time 0.09208/1.66, allocations: 21.75 MB / 1.426 GB, free: 5.148 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.66, allocations: 140.8 kB / 1.427 GB, free: 4.984 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02432/1.685, allocations: 10.18 MB / 1.437 GB, free: 10.81 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/1.686, allocations: 105.7 kB / 1.437 GB, free: 10.7 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.004592/1.691, allocations: 2.362 MB / 1.439 GB, free: 8.328 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.692, allocations: 0.5854 MB / 1.44 GB, free: 7.734 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002958/1.695, allocations: 0.5422 MB / 1.44 GB, free: 7.188 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.695, allocations: 305.1 kB / 1.44 GB, free: 6.887 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01233/1.708, allocations: 4.94 MB / 1.445 GB, free: 1.934 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01287/1.721, allocations: 5.122 MB / 1.45 GB, free: 12.75 MB / 1.17 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.9888/2.709, allocations: 140.9 MB / 1.588 GB, free: 421.4 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/2.709, allocations: 1.406 kB / 1.588 GB, free: 421.4 MB / 1.264 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0502/2.76, allocations: 12.04 MB / 1.6 GB, free: 416 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/2.76, allocations: 134.8 kB / 1.6 GB, free: 415.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/2.76, allocations: 2.281 kB / 1.6 GB, free: 415.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006882/2.767, allocations: 1.496 MB / 1.601 GB, free: 415.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006026/2.773, allocations: 0.7773 MB / 1.602 GB, free: 414.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/2.788, allocations: 13.96 MB / 1.616 GB, free: 402.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008763/2.797, allocations: 0.5628 MB / 1.616 GB, free: 401.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/2.798, allocations: 146.4 kB / 1.616 GB, free: 401.8 MB / 1.264 GB Warning: Assuming fixed start value for the following 1 variables: mulStaDX.watVapEva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: mulStaDX.vol.dynBal.medium.p = mulStaDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01635/2.814, allocations: 7.243 MB / 1.623 GB, free: 397.8 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01131/2.826, allocations: 5.09 MB / 1.628 GB, free: 395.1 MB / 1.264 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3225/3.148, allocations: 140.7 MB / 1.766 GB, free: 262 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.055e-05/3.148, allocations: 0 / 1.766 GB, free: 262 MB / 1.264 GB Notification: Performance of matching and sorting (n=262) (initialization_lambda0): time 0.04505/3.193, allocations: 11.84 MB / 1.777 GB, free: 250.4 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/3.194, allocations: 129.1 kB / 1.777 GB, free: 250.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/3.194, allocations: 4 kB / 1.777 GB, free: 250.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004963/3.199, allocations: 1.306 MB / 1.779 GB, free: 248.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005812/3.204, allocations: 0.7761 MB / 1.779 GB, free: 248.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/3.215, allocations: 12.26 MB / 1.791 GB, free: 235 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008683/3.223, allocations: 0.5554 MB / 1.792 GB, free: 234.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/3.225, allocations: 143.8 kB / 1.792 GB, free: 234.3 MB / 1.264 GB Warning: Assuming fixed start value for the following 1 variables: mulStaDX.watVapEva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: mulStaDX.vol.dynBal.medium.p = mulStaDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 60 (mulStaDX.i_x,$PRE.speRat.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mulStaDX.watVapEva.off,$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],speRat.combiTimeTable.nextTimeEventScaled,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEvent,mulStaDX.watVapEva.off,mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],mulStaDX.dxCoi.dryCoi.coiCap.stage,mulStaDX.dxCoi.wetCoi.shr.on,mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],mulStaDX.dxCoi.wetCoi.coiCap.stage,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 216 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,1), (1,2), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002125/3.227, allocations: 353.8 kB / 1.792 GB, free: 234 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002992/3.23, allocations: 0.5526 MB / 1.793 GB, free: 233.5 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04294/3.273, allocations: 9.905 MB / 1.803 GB, free: 223.6 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/3.273, allocations: 20 kB / 1.803 GB, free: 223.6 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/3.273, allocations: 3.938 kB / 1.803 GB, free: 223.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03897/3.312, allocations: 8.972 MB / 1.811 GB, free: 214.5 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05691/3.369, allocations: 20.05 MB / 1.831 GB, free: 194.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.821e-05/3.369, allocations: 8.406 kB / 1.831 GB, free: 194.4 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005241/3.374, allocations: 0.6981 MB / 1.832 GB, free: 193.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/3.375, allocations: 474.1 kB / 1.832 GB, free: 193.3 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007569/3.376, allocations: 99.84 kB / 1.832 GB, free: 193.2 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003534/3.38, allocations: 3.299 MB / 1.835 GB, free: 189.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/3.38, allocations: 12 kB / 1.835 GB, free: 189.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0529/3.433, allocations: 15.19 MB / 1.85 GB, free: 174.4 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005203/3.438, allocations: 1.966 MB / 1.852 GB, free: 172.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003009/3.441, allocations: 163.9 kB / 1.852 GB, free: 172.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008683/3.45, allocations: 0.545 MB / 1.853 GB, free: 171.7 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000795/3.451, allocations: 189.7 kB / 1.853 GB, free: 171.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008139/3.451, allocations: 135.8 kB / 1.853 GB, free: 171.4 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01446/3.466, allocations: 7.217 MB / 1.86 GB, free: 164.2 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.81e-07/3.466, allocations: 0 / 1.86 GB, free: 164.2 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.01079/3.477, allocations: 1.885 MB / 1.862 GB, free: 162.3 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (mulStaDX.vol.dynBal.medium.Xi[1],mulStaDX.vol.dynBal.U,mulStaDX.watVapEva.m) * Number of discrete variables: 40 ($whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulStaDX.dxCoi.wetCoi.coiCap.stage,mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],mulStaDX.dxCoi.wetCoi.shr.on,mulStaDX.dxCoi.dryCoi.coiCap.stage,mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],mulStaDX.watVapEva.off,speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 9 (speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled,mulStaDX.dxCoi.wetCoi.coiCap.stage,mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[mulStaDX.dxCoi.wetCoi.coiCap.stage],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[mulStaDX.dxCoi.wetCoi.coiCap.stage],mulStaDX.dxCoi.dryCoi.coiCap.stage,mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[mulStaDX.dxCoi.dryCoi.coiCap.stage],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[mulStaDX.dxCoi.dryCoi.coiCap.stage],mulStaDX.watVapEva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002768/3.479, allocations: 0.8031 MB / 1.863 GB, free: 161.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.04107/3.521, allocations: 18.31 MB / 1.881 GB, free: 143.2 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/3.521, allocations: 4.562 kB / 1.881 GB, free: 143.2 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01116/3.532, allocations: 4.333 MB / 1.885 GB, free: 138.9 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/3.545, allocations: 1.933 MB / 1.887 GB, free: 137 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04116/3.586, allocations: 16.86 MB / 1.903 GB, free: 120.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005375/3.591, allocations: 4.018 MB / 1.907 GB, free: 116.1 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003867/3.595, allocations: 495 kB / 1.908 GB, free: 115.6 MB / 1.264 GB Notification: Performance of SimCode: time 9.12e-07/3.595, allocations: 4 kB / 1.908 GB, free: 115.6 MB / 1.264 GB Notification: Performance of Templates: time 0.862/4.457, allocations: 304.4 MB / 2.205 GB, free: 312.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage.makefile make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:2985:14: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_wetCoi_P_appDewPt_P_uacpmulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage__P_UAcp_' tmp285 = mulStaDX_P_dxCoi_P_wetCoi_P_appDewPt_P_uacpmulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage__P_UAcp_; ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3767:134: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3767:219: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3767:66: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3773:69: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3773:137: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3773:202: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3779:134: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3779:219: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3779:66: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3785:69: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3785:137: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3785:202: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3770:7: warning: expression result unused [-Wunused-value] tmp322; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3776:7: warning: expression result unused [-Wunused-value] tmp325; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3782:7: warning: expression result unused [-Wunused-value] tmp328; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3788:7: warning: expression result unused [-Wunused-value] tmp331; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3877:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3886:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3895:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition5_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 3) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3904:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition3_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 4) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3923:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3932:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. make: *** [: OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.o] Error 1