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.001452/0.001452, allocations: 108.5 kB / 16.27 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.001602/0.001602, allocations: 192 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001509, allocations: 64.44 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3236, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage): time 0.792/1.116, allocations: 205.9 MB / 1.265 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02834/1.144, allocations: 21.39 MB / 1.286 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/1.147, allocations: 43.75 kB / 1.286 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003921/1.151, allocations: 1.282 MB / 1.287 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/1.159, allocations: 2.605 MB / 1.29 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008972/1.168, allocations: 3.46 MB / 1.293 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01074/1.179, allocations: 8.464 MB / 1.302 GB, free: 6.094 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005595/1.184, allocations: 3.012 MB / 1.305 GB, free: 3.023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00691/1.191, allocations: 3.117 MB / 1.308 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005538/1.197, allocations: 2.906 MB / 1.31 GB, free: 13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00232/1.199, allocations: 0.7695 MB / 1.311 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009805/1.209, allocations: 4.016 MB / 1.315 GB, free: 8.207 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003605/1.213, allocations: 2.459 MB / 1.318 GB, free: 5.742 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006797/1.22, allocations: 3.688 MB / 1.321 GB, free: 2.039 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02036/1.24, allocations: 15.54 MB / 1.336 GB, free: 2.461 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.24, allocations: 0 / 1.336 GB, free: 2.461 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/1.24, allocations: 3.938 kB / 1.336 GB, free: 2.457 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002799/1.24, allocations: 0 / 1.336 GB, free: 2.457 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.02305/1.263, allocations: 7.562 MB / 1.344 GB, free: 10.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/1.263, allocations: 12.62 kB / 1.344 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03527/1.299, allocations: 3.597 MB / 1.347 GB, free: 7.141 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/1.315, allocations: 6.788 MB / 1.354 GB, free: 276 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/1.316, allocations: 459.3 kB / 1.354 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/1.318, allocations: 175.9 kB / 1.354 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/1.336, allocations: 6.446 MB / 1.361 GB, free: 9.113 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.543e-05/1.336, allocations: 0 / 1.361 GB, free: 9.113 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009367/1.337, allocations: 75.92 kB / 1.361 GB, free: 9.039 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-05/1.337, allocations: 59.02 kB / 1.361 GB, free: 8.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02527/1.362, allocations: 8.58 MB / 1.369 GB, free: 400 kB / 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.0533/1.416, allocations: 24.07 MB / 1.393 GB, free: 8.078 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02844/1.444, allocations: 8.379 MB / 1.401 GB, free: 15.69 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01097/1.455, allocations: 3.955 MB / 1.405 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008218/1.456, allocations: 0.7655 MB / 1.406 GB, free: 10.8 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01334/1.469, allocations: 5.317 MB / 1.411 GB, free: 5.469 MB / 1.123 GB Notification: Performance of pre-optimization done (n=185): time 4.899e-06/1.469, allocations: 0 / 1.411 GB, free: 5.469 MB / 1.123 GB Notification: Performance of matching and sorting (n=187): time 0.09185/1.561, allocations: 21.75 MB / 1.432 GB, free: 15.58 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.561, allocations: 144.8 kB / 1.432 GB, free: 15.41 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02314/1.585, allocations: 10.18 MB / 1.442 GB, free: 5.238 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.00131/1.586, allocations: 109.7 kB / 1.442 GB, free: 5.125 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.004483/1.59, allocations: 2.362 MB / 1.444 GB, free: 2.75 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.592, allocations: 0.5855 MB / 1.445 GB, free: 2.156 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002863/1.595, allocations: 0.5383 MB / 1.446 GB, free: 1.613 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.595, allocations: 309.1 kB / 1.446 GB, free: 1.309 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01253/1.607, allocations: 4.944 MB / 1.451 GB, free: 12.35 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/1.62, allocations: 5.114 MB / 1.456 GB, free: 7.184 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.9946/2.615, allocations: 140.9 MB / 1.593 GB, free: 418.3 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/2.615, allocations: 0 / 1.593 GB, free: 418.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.04908/2.664, allocations: 12.04 MB / 1.605 GB, free: 413 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/2.664, allocations: 131.9 kB / 1.605 GB, free: 412.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/2.664, allocations: 2.094 kB / 1.605 GB, free: 412.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006618/2.671, allocations: 1.511 MB / 1.607 GB, free: 412.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006057/2.677, allocations: 0.7727 MB / 1.607 GB, free: 411.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/2.692, allocations: 13.95 MB / 1.621 GB, free: 399.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008971/2.701, allocations: 0.519 MB / 1.622 GB, free: 398.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/2.702, allocations: 141.4 kB / 1.622 GB, free: 398.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.01539/2.717, allocations: 7.237 MB / 1.629 GB, free: 394.8 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01224/2.729, allocations: 5.09 MB / 1.634 GB, free: 392.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.3405/3.07, allocations: 140.7 MB / 1.771 GB, free: 256.3 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/3.07, allocations: 7.938 kB / 1.771 GB, free: 256.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=262) (initialization_lambda0): time 0.0442/3.114, allocations: 11.83 MB / 1.783 GB, free: 244.7 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/3.114, allocations: 133.1 kB / 1.783 GB, free: 244.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/3.115, allocations: 0 / 1.783 GB, free: 244.6 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/3.119, allocations: 1.322 MB / 1.784 GB, free: 243.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005807/3.125, allocations: 0.7721 MB / 1.785 GB, free: 242.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009791/3.135, allocations: 12.24 MB / 1.797 GB, free: 229.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008846/3.144, allocations: 0.5205 MB / 1.797 GB, free: 228.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/3.145, allocations: 143.8 kB / 1.797 GB, free: 228.7 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.001385/3.146, allocations: 357.6 kB / 1.798 GB, free: 228.4 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002537/3.149, allocations: 0.5517 MB / 1.798 GB, free: 227.9 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04144/3.19, allocations: 9.905 MB / 1.808 GB, free: 218 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/3.191, allocations: 16 kB / 1.808 GB, free: 217.9 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/3.191, allocations: 11.92 kB / 1.808 GB, free: 217.9 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03734/3.228, allocations: 8.983 MB / 1.817 GB, free: 208.9 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05753/3.285, allocations: 20.03 MB / 1.836 GB, free: 188.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/3.286, allocations: 4 kB / 1.836 GB, free: 188.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005569/3.291, allocations: 0.7024 MB / 1.837 GB, free: 188.1 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/3.293, allocations: 474.1 kB / 1.838 GB, free: 187.6 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006861/3.293, allocations: 95.84 kB / 1.838 GB, free: 187.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/3.297, allocations: 3.315 MB / 1.841 GB, free: 184 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/3.297, allocations: 4 kB / 1.841 GB, free: 184 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05059/3.347, allocations: 15.2 MB / 1.856 GB, free: 168.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005399/3.353, allocations: 1.962 MB / 1.858 GB, free: 166.8 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004311/3.357, allocations: 167.9 kB / 1.858 GB, free: 166.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009568/3.367, allocations: 0.511 MB / 1.858 GB, free: 166.1 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008032/3.368, allocations: 193.7 kB / 1.858 GB, free: 165.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008818/3.369, allocations: 119.8 kB / 1.859 GB, free: 165.8 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01636/3.385, allocations: 7.22 MB / 1.866 GB, free: 158.6 MB / 1.264 GB Notification: Performance of sort global known variables: time 6.21e-07/3.385, allocations: 0 / 1.866 GB, free: 158.6 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0123/3.397, allocations: 1.888 MB / 1.867 GB, free: 156.7 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.003077/3.4, allocations: 0.8018 MB / 1.868 GB, free: 156.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.04367/3.444, allocations: 18.31 MB / 1.886 GB, free: 137.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/3.444, allocations: 0.5625 kB / 1.886 GB, free: 137.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01207/3.456, allocations: 4.34 MB / 1.89 GB, free: 133.3 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01423/3.471, allocations: 1.927 MB / 1.892 GB, free: 131.4 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04355/3.514, allocations: 15.47 MB / 1.907 GB, free: 115.9 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006472/3.521, allocations: 4.018 MB / 1.911 GB, free: 111.9 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004093/3.525, allocations: 0.4912 MB / 1.912 GB, free: 111.4 MB / 1.264 GB Notification: Performance of SimCode: time 1.473e-06/3.525, allocations: 0 / 1.912 GB, free: 111.4 MB / 1.264 GB Notification: Performance of Templates: time 0.9794/4.504, allocations: 304.4 MB / 2.209 GB, free: 307.3 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++17 -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