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.001583/0.001584, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001718/0.001718, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 64.08 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9291/0.9306, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage): time 0.2363/1.167, allocations: 205.8 MB / 1.409 GB, free: 15.01 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03092/1.198, allocations: 21.39 MB / 1.43 GB, free: 9.551 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/1.201, allocations: 47.75 kB / 1.43 GB, free: 9.504 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004144/1.205, allocations: 1.278 MB / 1.432 GB, free: 8.219 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007926/1.213, allocations: 2.608 MB / 1.434 GB, free: 5.598 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.009473/1.222, allocations: 3.47 MB / 1.438 GB, free: 2.156 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01049/1.233, allocations: 8.491 MB / 1.446 GB, free: 9.656 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005349/1.238, allocations: 3.035 MB / 1.449 GB, free: 6.562 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006549/1.245, allocations: 3.141 MB / 1.452 GB, free: 3.426 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005482/1.25, allocations: 2.919 MB / 1.455 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002218/1.253, allocations: 0.7657 MB / 1.455 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009263/1.262, allocations: 4.036 MB / 1.459 GB, free: 11.7 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003451/1.265, allocations: 2.463 MB / 1.462 GB, free: 9.223 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.006597/1.272, allocations: 3.68 MB / 1.465 GB, free: 5.527 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02216/1.294, allocations: 15.65 MB / 1.481 GB, free: 5.832 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.294, allocations: 0 / 1.481 GB, free: 5.832 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.064e-06/1.294, allocations: 0 / 1.481 GB, free: 5.832 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0003152/1.294, allocations: 0 / 1.481 GB, free: 5.832 MB / 1.201 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.02173/1.316, allocations: 7.573 MB / 1.488 GB, free: 14.12 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.316, allocations: 8.031 kB / 1.488 GB, free: 14.11 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03676/1.353, allocations: 3.601 MB / 1.492 GB, free: 10.5 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/1.37, allocations: 6.824 MB / 1.498 GB, free: 3.59 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009289/1.371, allocations: 455.3 kB / 1.499 GB, free: 3.102 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/1.372, allocations: 180 kB / 1.499 GB, free: 2.926 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01798/1.39, allocations: 6.434 MB / 1.505 GB, free: 12.45 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/1.39, allocations: 3.938 kB / 1.505 GB, free: 12.45 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008592/1.391, allocations: 71.98 kB / 1.505 GB, free: 12.38 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/1.391, allocations: 63.02 kB / 1.505 GB, free: 12.31 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/1.416, allocations: 8.572 MB / 1.514 GB, free: 3.73 MB / 1.232 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.05386/1.47, allocations: 24.03 MB / 1.537 GB, free: 11.46 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02835/1.499, allocations: 8.379 MB / 1.545 GB, free: 3.074 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01105/1.51, allocations: 3.951 MB / 1.549 GB, free: 15.12 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009062/1.511, allocations: 0.7732 MB / 1.55 GB, free: 14.18 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01383/1.524, allocations: 5.31 MB / 1.555 GB, free: 8.859 MB / 1.279 GB Notification: Performance of pre-optimization done (n=185): time 7.133e-06/1.524, allocations: 3.938 kB / 1.555 GB, free: 8.855 MB / 1.279 GB Notification: Performance of matching and sorting (n=187): time 0.7964/2.321, allocations: 21.74 MB / 1.576 GB, free: 334.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/2.321, allocations: 148.2 kB / 1.577 GB, free: 334.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.019/2.34, allocations: 10.16 MB / 1.586 GB, free: 330.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/2.341, allocations: 112.3 kB / 1.587 GB, free: 330.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00299/2.344, allocations: 2.359 MB / 1.589 GB, free: 328.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001111/2.345, allocations: 0.5904 MB / 1.589 GB, free: 328.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/2.347, allocations: 0.5449 MB / 1.59 GB, free: 328 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/2.347, allocations: 308.5 kB / 1.59 GB, free: 327.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0106/2.357, allocations: 4.944 MB / 1.595 GB, free: 325.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/2.369, allocations: 5.114 MB / 1.6 GB, free: 321.6 MB / 1.279 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.3416/2.71, allocations: 140.9 MB / 1.738 GB, free: 180.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/2.71, allocations: 0 / 1.738 GB, free: 180.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0442/2.755, allocations: 12.04 MB / 1.749 GB, free: 168.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/2.755, allocations: 133.1 kB / 1.75 GB, free: 168.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/2.755, allocations: 4 kB / 1.75 GB, free: 168.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006225/2.761, allocations: 1.505 MB / 1.751 GB, free: 166.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006159/2.767, allocations: 0.7722 MB / 1.752 GB, free: 165.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/2.78, allocations: 13.95 MB / 1.765 GB, free: 151 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009031/2.789, allocations: 0.5146 MB / 1.766 GB, free: 150.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/2.791, allocations: 147.8 kB / 1.766 GB, free: 150.4 MB / 1.279 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.0159/2.807, allocations: 7.239 MB / 1.773 GB, free: 143.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01124/2.818, allocations: 5.089 MB / 1.778 GB, free: 138 MB / 1.279 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.3436/3.162, allocations: 140.7 MB / 1.916 GB, free: 13 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.284e-06/3.162, allocations: 3.938 kB / 1.916 GB, free: 12.99 MB / 1.295 GB Notification: Performance of matching and sorting (n=262) (initialization_lambda0): time 0.04675/3.208, allocations: 11.83 MB / 1.927 GB, free: 1.105 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001938/3.209, allocations: 133.1 kB / 1.927 GB, free: 0.957 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/3.209, allocations: 4 kB / 1.927 GB, free: 0.9531 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005159/3.214, allocations: 1.31 MB / 1.928 GB, free: 15.62 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006119/3.22, allocations: 0.7682 MB / 1.929 GB, free: 14.85 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/3.233, allocations: 12.25 MB / 1.941 GB, free: 1.715 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00879/3.242, allocations: 0.5188 MB / 1.942 GB, free: 1.195 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009855/3.243, allocations: 143.7 kB / 1.942 GB, free: 1.059 MB / 1.311 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.001964/3.245, allocations: 355.3 kB / 1.942 GB, free: 0.6992 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003114/3.248, allocations: 0.5517 MB / 1.943 GB, free: 144 kB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04613/3.294, allocations: 9.902 MB / 1.952 GB, free: 6.215 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/3.294, allocations: 16 kB / 1.952 GB, free: 6.199 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/3.294, allocations: 3.938 kB / 1.952 GB, free: 6.195 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04179/3.336, allocations: 8.984 MB / 1.961 GB, free: 13.18 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06532/3.402, allocations: 20.02 MB / 1.981 GB, free: 9.094 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/3.402, allocations: 7.984 kB / 1.981 GB, free: 9.086 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005641/3.407, allocations: 0.6985 MB / 1.981 GB, free: 8.387 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/3.409, allocations: 482 kB / 1.982 GB, free: 7.91 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007904/3.41, allocations: 99.83 kB / 1.982 GB, free: 7.812 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004377/3.414, allocations: 3.296 MB / 1.985 GB, free: 4.316 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/3.414, allocations: 8.062 kB / 1.985 GB, free: 4.309 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05732/3.472, allocations: 15.19 MB / 2 GB, free: 5.047 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005834/3.478, allocations: 1.966 MB / 2.002 GB, free: 3.055 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003003/3.481, allocations: 167.9 kB / 2.002 GB, free: 2.891 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009011/3.49, allocations: 0.5149 MB / 2.003 GB, free: 2.375 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007701/3.49, allocations: 189.7 kB / 2.003 GB, free: 2.188 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008186/3.491, allocations: 123.8 kB / 2.003 GB, free: 2.066 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.01932/3.511, allocations: 7.231 MB / 2.01 GB, free: 10.85 MB / 1.389 GB Notification: Performance of sort global known variables: time 1.523e-06/3.511, allocations: 0 / 2.01 GB, free: 10.85 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.01449/3.525, allocations: 1.878 MB / 2.012 GB, free: 8.988 MB / 1.389 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.003125/3.528, allocations: 0.807 MB / 2.013 GB, free: 8.41 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.04482/3.573, allocations: 17.26 MB / 2.029 GB, free: 6.922 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/3.573, allocations: 4.562 kB / 2.029 GB, free: 6.918 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.01301/3.586, allocations: 4.349 MB / 2.034 GB, free: 2.559 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01334/3.6, allocations: 1.925 MB / 2.036 GB, free: 0.7031 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04524/3.645, allocations: 15.34 MB / 2.051 GB, free: 1.324 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004913/3.65, allocations: 4.014 MB / 2.054 GB, free: 13.28 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003549/3.653, allocations: 499 kB / 2.055 GB, free: 12.8 MB / 1.436 GB Notification: Performance of SimCode: time 7.51e-07/3.653, allocations: 3.938 kB / 2.055 GB, free: 12.79 MB / 1.436 GB Notification: Performance of Templates: time 1.013/4.666, allocations: 305.2 MB / 2.353 GB, free: 331 MB / 1.498 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