Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoo.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoo.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoo.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoo.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 92.16 kB / 16.02 MB, free: 80 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.001527/0.001527, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.9 MB / 0.667 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005795/0.0005795, allocations: 11.98 kB / 0.8166 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7531/0.7538, allocations: 142.4 MB / 0.9557 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage): time 0.2237/0.9775, allocations: 200.4 MB / 1.151 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03238/1.01, allocations: 21.1 MB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003285/1.013, allocations: 43.75 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004384/1.018, allocations: 1.1 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009217/1.027, allocations: 2.357 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.009666/1.037, allocations: 3.138 MB / 1.179 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01116/1.048, allocations: 8.505 MB / 1.187 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005186/1.053, allocations: 2.436 MB / 1.189 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007005/1.06, allocations: 2.398 MB / 1.192 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005358/1.065, allocations: 2.508 MB / 1.194 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001846/1.067, allocations: 300 kB / 1.194 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009995/1.077, allocations: 3.929 MB / 1.198 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003381/1.081, allocations: 1.905 MB / 1.2 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.007335/1.088, allocations: 3.038 MB / 1.203 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/1.105, allocations: 12.85 MB / 1.215 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.105, allocations: 0 / 1.215 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.438e-06/1.105, allocations: 0 / 1.215 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0003419/1.106, allocations: 0 / 1.215 GB, free: 4.441 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.0197/1.125, allocations: 5.983 MB / 1.221 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.125, allocations: 8.031 kB / 1.221 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03556/1.161, allocations: 4.043 MB / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/1.177, allocations: 6.321 MB / 1.231 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/1.178, allocations: 447.2 kB / 1.232 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/1.18, allocations: 176 kB / 1.232 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/1.198, allocations: 6.648 MB / 1.239 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/1.199, allocations: 0 / 1.239 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005111/1.199, allocations: 67.98 kB / 1.239 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.396e-05/1.199, allocations: 50.94 kB / 1.239 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/1.225, allocations: 9.013 MB / 1.247 GB, free: 3.391 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.6393/1.865, allocations: 24.22 MB / 1.271 GB, free: 260 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0293/1.894, allocations: 8.885 MB / 1.28 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01077/1.905, allocations: 4.223 MB / 1.284 GB, free: 253.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/1.906, allocations: 0.7793 MB / 1.285 GB, free: 252.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01318/1.919, allocations: 5.59 MB / 1.29 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=186): time 4.889e-06/1.919, allocations: 0 / 1.29 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=188): time 0.08356/2.003, allocations: 22.95 MB / 1.313 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/2.003, allocations: 151.4 kB / 1.313 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01669/2.019, allocations: 10.05 MB / 1.322 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00132/2.021, allocations: 111.3 kB / 1.323 GB, free: 219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002605/2.023, allocations: 2.228 MB / 1.325 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/2.024, allocations: 0.587 MB / 1.325 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/2.025, allocations: 201.7 kB / 1.326 GB, free: 216 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.992e-05/2.025, allocations: 305.1 kB / 1.326 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01137/2.036, allocations: 5.191 MB / 1.331 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/2.048, allocations: 5.382 MB / 1.336 GB, free: 205 MB / 0.9981 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.3463/2.395, allocations: 147.7 MB / 1.48 GB, free: 57.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/2.395, allocations: 3.938 kB / 1.48 GB, free: 57.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.04657/2.441, allocations: 12.54 MB / 1.493 GB, free: 44.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002427/2.442, allocations: 302.1 kB / 1.493 GB, free: 44.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/2.442, allocations: 11.94 kB / 1.493 GB, free: 44.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006188/2.448, allocations: 1.514 MB / 1.494 GB, free: 42.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006101/2.454, allocations: 0.8776 MB / 1.495 GB, free: 41.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/2.467, allocations: 13.13 MB / 1.508 GB, free: 27.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008905/2.476, allocations: 0.6639 MB / 1.509 GB, free: 27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/2.477, allocations: 139.8 kB / 1.509 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/2.477, allocations: 4 kB / 1.509 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04275/2.52, allocations: 12.02 MB / 1.521 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/2.52, allocations: 7.984 kB / 1.521 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/2.525, allocations: 1.326 MB / 1.522 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006265/2.531, allocations: 0.8737 MB / 1.523 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009489/2.541, allocations: 11.54 MB / 1.534 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008908/2.55, allocations: 0.6682 MB / 1.535 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/2.551, allocations: 131.8 kB / 1.535 GB, free: 15.38 MB / 1.014 GB Warning: Assuming fixed start value for the following 1 variables: mulStaDX.eva.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 sytem: mulStaDX.vol.dynBal.medium.p = mulStaDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 60 (mulStaDX.i_x,$PRE.speRat.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mulStaDX.eva.off,$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.combiTimeTable.nextTimeEventScaled,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEvent,mulStaDX.eva.off,mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.dryCoi.cooCap.stage,mulStaDX.dxCoo.wetCoi.shr.on,mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.wetCoi.cooCap.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 (226): * Single equations (assignments): 214 * 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.005993/2.557, allocations: 2.501 MB / 1.537 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002283/2.559, allocations: 0.5402 MB / 1.538 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04552/2.605, allocations: 10.41 MB / 1.548 GB, free: 1.887 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/2.605, allocations: 20 kB / 1.548 GB, free: 1.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/2.605, allocations: 0 / 1.548 GB, free: 1.867 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04246/2.647, allocations: 9.5 MB / 1.557 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06377/2.711, allocations: 20.59 MB / 1.577 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/2.711, allocations: 4 kB / 1.577 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005907/2.717, allocations: 0.8166 MB / 1.578 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/2.719, allocations: 474.1 kB / 1.579 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007347/2.719, allocations: 103.8 kB / 1.579 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/2.724, allocations: 3.181 MB / 1.582 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.724, allocations: 4 kB / 1.582 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0581/2.782, allocations: 15.99 MB / 1.597 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005726/2.787, allocations: 1.986 MB / 1.599 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002581/2.79, allocations: 163.9 kB / 1.6 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008823/2.799, allocations: 0.6983 MB / 1.6 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/2.8, allocations: 189.7 kB / 1.6 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000551/2.8, allocations: 123.8 kB / 1.601 GB, free: 11.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.01498/2.815, allocations: 7.144 MB / 1.608 GB, free: 4.508 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.61e-07/2.815, allocations: 0 / 1.608 GB, free: 4.508 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.01031/2.826, allocations: 1.868 MB / 1.609 GB, free: 2.66 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (mulStaDX.vol.dynBal.medium.Xi[1],mulStaDX.vol.dynBal.U,mulStaDX.eva.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.dxCoo.wetCoi.cooCap.stage,mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulStaDX.dxCoo.wetCoi.shr.on,mulStaDX.dxCoo.dryCoi.cooCap.stage,mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulStaDX.eva.off,speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 9 (speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled,mulStaDX.dxCoo.wetCoi.cooCap.stage,mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[mulStaDX.dxCoo.wetCoi.cooCap.stage],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[mulStaDX.dxCoo.wetCoi.cooCap.stage],mulStaDX.dxCoo.dryCoi.cooCap.stage,mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[mulStaDX.dxCoo.dryCoi.cooCap.stage],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[mulStaDX.dxCoo.dryCoi.cooCap.stage],mulStaDX.eva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 158 * 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.002545/2.828, allocations: 0.8241 MB / 1.61 GB, free: 2.066 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.04683/2.875, allocations: 18 MB / 1.628 GB, free: 15.83 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/2.875, allocations: 8.562 kB / 1.628 GB, free: 15.82 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0141/2.889, allocations: 4.608 MB / 1.632 GB, free: 11.21 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01344/2.903, allocations: 1.732 MB / 1.634 GB, free: 9.508 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04651/2.949, allocations: 16.83 MB / 1.65 GB, free: 8.613 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004431/2.954, allocations: 3.912 MB / 1.654 GB, free: 4.668 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003818/2.958, allocations: 486.9 kB / 1.655 GB, free: 4.191 MB / 1.123 GB Notification: Performance of SimCode: time 1.232e-06/2.958, allocations: 0 / 1.655 GB, free: 4.191 MB / 1.123 GB Notification: Performance of Templates: time 0.9289/3.886, allocations: 295.6 MB / 1.943 GB, free: 179.7 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.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_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:2958:14: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_wetCoi_P_appDewPt_P_uacpmulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage__P_UAcp_' tmp285 = mulStaDX_P_dxCoo_P_wetCoi_P_appDewPt_P_uacpmulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage__P_UAcp_; ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3746:134: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3746:219: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3746:66: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3752:69: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3752:137: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3752:202: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3758:134: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3758:219: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3758:66: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3764:69: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3764:137: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3764:202: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3749:7: warning: expression result unused [-Wunused-value] tmp322; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3755:7: warning: expression result unused [-Wunused-value] tmp325; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3761:7: warning: expression result unused [-Wunused-value] tmp328; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3767:7: warning: expression result unused [-Wunused-value] tmp331; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3846:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_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_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3855:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_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_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3864:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition5_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 3) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_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_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3873:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition3_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 4) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_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_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3912:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_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_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3921:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_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_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.o] Error 1