Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001518/0.001518, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001603, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 71.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.699, allocations: 151.6 MB / 1.017 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage): time 0.2244/0.9235, allocations: 203.5 MB / 1.216 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03015/0.9537, allocations: 21.54 MB / 1.237 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.9563, allocations: 39.75 kB / 1.237 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.9604, allocations: 1.166 MB / 1.238 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007092/0.9675, allocations: 2.388 MB / 1.241 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008181/0.9757, allocations: 3.157 MB / 1.244 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.9858, allocations: 8.693 MB / 1.252 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6932/1.679, allocations: 2.561 MB / 1.255 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009809/1.689, allocations: 2.546 MB / 1.257 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007916/1.697, allocations: 2.679 MB / 1.26 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002986/1.7, allocations: 341.2 kB / 1.26 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/1.713, allocations: 3.954 MB / 1.264 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005716/1.719, allocations: 2.04 MB / 1.266 GB, free: 22.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01116/1.73, allocations: 3.191 MB / 1.269 GB, free: 21.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01822/1.748, allocations: 13.44 MB / 1.282 GB, free: 21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.748, allocations: 0 / 1.282 GB, free: 21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/1.748, allocations: 1.188 kB / 1.282 GB, free: 21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004564/1.749, allocations: 1.031 kB / 1.282 GB, free: 21 MB / 0.9981 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.03614/1.785, allocations: 7.565 MB / 1.29 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/1.785, allocations: 11.03 kB / 1.29 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03599/1.821, allocations: 3.601 MB / 1.293 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/1.838, allocations: 6.784 MB / 1.3 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007804/1.838, allocations: 458.7 kB / 1.3 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009373/1.839, allocations: 175.3 kB / 1.3 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/1.855, allocations: 6.445 MB / 1.307 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/1.855, allocations: 2.094 kB / 1.307 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005707/1.856, allocations: 72.06 kB / 1.307 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/1.856, allocations: 55.19 kB / 1.307 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/1.879, allocations: 8.573 MB / 1.315 GB, free: 15.23 MB / 0.9981 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.05186/1.931, allocations: 24.07 MB / 1.339 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/1.956, allocations: 8.377 MB / 1.347 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/1.966, allocations: 3.954 MB / 1.351 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/1.967, allocations: 0.7768 MB / 1.351 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01275/1.98, allocations: 5.309 MB / 1.357 GB, free: 10.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=185): time 5.099e-06/1.98, allocations: 2.906 kB / 1.357 GB, free: 10.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=187): time 0.09216/2.072, allocations: 21.76 MB / 1.378 GB, free: 7.352 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/2.072, allocations: 140.8 kB / 1.378 GB, free: 7.188 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02164/2.094, allocations: 10.17 MB / 1.388 GB, free: 13.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/2.096, allocations: 113.7 kB / 1.388 GB, free: 12.9 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.004155/2.1, allocations: 2.356 MB / 1.39 GB, free: 10.54 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/2.101, allocations: 0.5866 MB / 1.391 GB, free: 9.965 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/2.103, allocations: 0.5461 MB / 1.391 GB, free: 9.414 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/2.103, allocations: 301.1 kB / 1.392 GB, free: 9.117 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01174/2.115, allocations: 4.947 MB / 1.397 GB, free: 4.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/2.127, allocations: 5.114 MB / 1.402 GB, free: 14.99 MB / 1.061 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.3872/2.514, allocations: 140.9 MB / 1.539 GB, free: 1.812 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/2.514, allocations: 0 / 1.539 GB, free: 1.812 MB / 1.186 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.05222/2.567, allocations: 12.03 MB / 1.551 GB, free: 5.75 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/2.567, allocations: 137.8 kB / 1.551 GB, free: 5.602 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/2.567, allocations: 0 / 1.551 GB, free: 5.602 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007531/2.574, allocations: 1.502 MB / 1.553 GB, free: 4.078 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006541/2.581, allocations: 0.773 MB / 1.553 GB, free: 3.324 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/2.598, allocations: 13.13 MB / 1.566 GB, free: 5.395 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/2.608, allocations: 0.5607 MB / 1.567 GB, free: 4.836 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/2.609, allocations: 146.5 kB / 1.567 GB, free: 4.695 MB / 1.217 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.01843/2.628, allocations: 7.235 MB / 1.574 GB, free: 13.45 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01301/2.641, allocations: 5.09 MB / 1.579 GB, free: 8.305 MB / 1.232 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.3886/3.03, allocations: 140.7 MB / 1.716 GB, free: 11.35 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.006e-05/3.03, allocations: 3.938 kB / 1.716 GB, free: 11.34 MB / 1.373 GB Notification: Performance of matching and sorting (n=262) (initialization_lambda0): time 0.05128/3.081, allocations: 11.83 MB / 1.728 GB, free: 15.49 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/3.081, allocations: 141 kB / 1.728 GB, free: 15.33 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/3.081, allocations: 4 kB / 1.728 GB, free: 15.33 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005677/3.087, allocations: 1.317 MB / 1.729 GB, free: 13.99 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006285/3.093, allocations: 0.7679 MB / 1.73 GB, free: 13.25 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/3.105, allocations: 11.5 MB / 1.741 GB, free: 0.9453 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009067/3.115, allocations: 0.5615 MB / 1.742 GB, free: 392 kB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/3.116, allocations: 137.9 kB / 1.742 GB, free: 256 kB / 1.389 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.0022/3.118, allocations: 370.8 kB / 1.742 GB, free: 15.9 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003365/3.121, allocations: 0.5478 MB / 1.743 GB, free: 15.34 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04648/3.168, allocations: 9.897 MB / 1.752 GB, free: 5.434 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/3.168, allocations: 23.92 kB / 1.752 GB, free: 5.41 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/3.168, allocations: 0 / 1.752 GB, free: 5.41 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6435/3.811, allocations: 8.991 MB / 1.761 GB, free: 0.6085 GB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06583/3.877, allocations: 20.03 MB / 1.781 GB, free: 0.6018 GB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/3.877, allocations: 3.906 kB / 1.781 GB, free: 0.6018 GB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005282/3.883, allocations: 0.7067 MB / 1.781 GB, free: 0.6018 GB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/3.884, allocations: 471.2 kB / 1.782 GB, free: 0.6017 GB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008194/3.885, allocations: 109.6 kB / 1.782 GB, free: 0.6016 GB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/3.888, allocations: 3.174 MB / 1.785 GB, free: 0.599 GB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/3.889, allocations: 3.719 kB / 1.785 GB, free: 0.599 GB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.054/3.943, allocations: 15.19 MB / 1.8 GB, free: 0.5933 GB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00664/3.949, allocations: 1.972 MB / 1.802 GB, free: 0.5918 GB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003615/3.953, allocations: 166.8 kB / 1.802 GB, free: 0.5917 GB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00984/3.963, allocations: 0.5461 MB / 1.803 GB, free: 0.5914 GB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008053/3.964, allocations: 192.4 kB / 1.803 GB, free: 0.5912 GB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006356/3.964, allocations: 128.2 kB / 1.803 GB, free: 0.5912 GB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01568/3.98, allocations: 7.217 MB / 1.81 GB, free: 0.585 GB / 1.404 GB Notification: Performance of sort global known variables: time 5.51e-07/3.98, allocations: 4 kB / 1.81 GB, free: 0.585 GB / 1.404 GB Notification: Performance of remove unused functions: time 0.01297/3.993, allocations: 1.883 MB / 1.812 GB, free: 0.5832 GB / 1.404 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.002798/3.996, allocations: 0.7901 MB / 1.813 GB, free: 0.5827 GB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.03854/4.034, allocations: 17.23 MB / 1.829 GB, free: 0.5656 GB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/4.034, allocations: 4.562 kB / 1.829 GB, free: 0.5656 GB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.01152/4.046, allocations: 4.333 MB / 1.834 GB, free: 0.5614 GB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01505/4.061, allocations: 1.831 MB / 1.835 GB, free: 0.5597 GB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04135/4.102, allocations: 16.85 MB / 1.852 GB, free: 0.5432 GB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004045/4.106, allocations: 4.014 MB / 1.856 GB, free: 0.5393 GB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004085/4.111, allocations: 0.4912 MB / 1.856 GB, free: 0.5388 GB / 1.404 GB Notification: Performance of SimCode: time 8.72e-07/4.111, allocations: 0 / 1.856 GB, free: 0.5388 GB / 1.404 GB Notification: Performance of Templates: time 0.2715/4.382, allocations: 304.5 MB / 2.154 GB, free: 247.2 MB / 1.404 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage.makefile make -j1 -f Buildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3770:7: warning: expression result unused [-Wunused-value] tmp322; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3776:7: warning: expression result unused [-Wunused-value] tmp325; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3782:7: warning: expression result unused [-Wunused-value] tmp328; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3788:7: warning: expression result unused [-Wunused-value] tmp331; ^~~~~~ ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.o] Error 1