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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001386/0.001386, allocations: 107.7 kB / 16.27 MB, free: 6.414 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.001506/0.001506, allocations: 190.9 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 64.98 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2839, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage): time 0.7886/1.073, allocations: 205.4 MB / 1.151 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02726/1.1, allocations: 21.21 MB / 1.172 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00439/1.104, allocations: 51.19 kB / 1.172 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004596/1.109, allocations: 1.222 MB / 1.173 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009935/1.119, allocations: 2.552 MB / 1.175 GB, free: 13.67 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0105/1.13, allocations: 3.456 MB / 1.179 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01173/1.141, allocations: 8.241 MB / 1.187 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005085/1.146, allocations: 2.955 MB / 1.19 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007548/1.154, allocations: 3.056 MB / 1.193 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006071/1.16, allocations: 2.828 MB / 1.195 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002443/1.163, allocations: 0.7513 MB / 1.196 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/1.173, allocations: 4.023 MB / 1.2 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00358/1.177, allocations: 2.377 MB / 1.202 GB, free: 256 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006988/1.184, allocations: 3.566 MB / 1.206 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02302/1.207, allocations: 15.18 MB / 1.221 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.207, allocations: 0 / 1.221 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.244e-06/1.207, allocations: 0 / 1.221 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003657/1.207, allocations: 0 / 1.221 GB, free: 2.41 MB / 0.8887 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.02627/1.234, allocations: 7.26 MB / 1.228 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.234, allocations: 7.688 kB / 1.228 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03501/1.269, allocations: 3.583 MB / 1.231 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.285, allocations: 6.302 MB / 1.237 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/1.287, allocations: 451.2 kB / 1.238 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/1.288, allocations: 172 kB / 1.238 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01876/1.307, allocations: 6.438 MB / 1.244 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/1.307, allocations: 4 kB / 1.244 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/1.308, allocations: 60 kB / 1.244 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.308, allocations: 58.92 kB / 1.244 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/1.334, allocations: 8.595 MB / 1.253 GB, free: 5.477 MB / 0.92 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.05654/1.391, allocations: 23.94 MB / 1.276 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03012/1.421, allocations: 8.442 MB / 1.284 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01136/1.432, allocations: 4.017 MB / 1.288 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009468/1.433, allocations: 0.7746 MB / 1.289 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0143/1.447, allocations: 5.375 MB / 1.294 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=186): time 5.951e-06/1.447, allocations: 0 / 1.294 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=188): time 0.09477/1.542, allocations: 21.91 MB / 1.316 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/1.542, allocations: 151.2 kB / 1.316 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02465/1.567, allocations: 10.03 MB / 1.326 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00138/1.569, allocations: 109.7 kB / 1.326 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004532/1.573, allocations: 2.235 MB / 1.328 GB, free: 8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001654/1.575, allocations: 0.595 MB / 1.329 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003194/1.578, allocations: 0.5325 MB / 1.329 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.578, allocations: 301.1 kB / 1.329 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01326/1.591, allocations: 4.987 MB / 1.334 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/1.605, allocations: 5.165 MB / 1.339 GB, free: 12.36 MB / 1.014 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.3781/1.983, allocations: 141.2 MB / 1.477 GB, free: 14.85 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.983, allocations: 0 / 1.477 GB, free: 14.85 MB / 1.154 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.05122/2.034, allocations: 12.11 MB / 1.489 GB, free: 2.688 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002199/2.034, allocations: 137 kB / 1.489 GB, free: 2.535 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/2.035, allocations: 4 kB / 1.489 GB, free: 2.531 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006804/2.041, allocations: 1.503 MB / 1.491 GB, free: 1.004 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006297/2.048, allocations: 0.7761 MB / 1.491 GB, free: 232 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/2.065, allocations: 13.96 MB / 1.505 GB, free: 1.363 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009079/2.074, allocations: 0.5188 MB / 1.506 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/2.075, allocations: 147.2 kB / 1.506 GB, free: 0.7031 MB / 1.17 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 system: mulStaDX.vol.dynBal.medium.p = mulStaDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01817/2.093, allocations: 7.228 MB / 1.513 GB, free: 9.469 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01318/2.106, allocations: 5.141 MB / 1.518 GB, free: 4.273 MB / 1.186 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.9112/3.018, allocations: 141 MB / 1.655 GB, free: 379.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.956e-06/3.018, allocations: 4 kB / 1.655 GB, free: 379.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.04515/3.063, allocations: 11.9 MB / 1.667 GB, free: 368.4 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/3.063, allocations: 133.2 kB / 1.667 GB, free: 368.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/3.063, allocations: 5.688 kB / 1.667 GB, free: 368.3 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/3.068, allocations: 1.317 MB / 1.668 GB, free: 366.9 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00593/3.074, allocations: 0.7773 MB / 1.669 GB, free: 366.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/3.084, allocations: 12.24 MB / 1.681 GB, free: 353.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008885/3.093, allocations: 0.5274 MB / 1.682 GB, free: 352.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/3.094, allocations: 139.8 kB / 1.682 GB, free: 352.5 MB / 1.201 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_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: 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.001931/3.096, allocations: 351.8 kB / 1.682 GB, free: 352.2 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003056/3.099, allocations: 0.5344 MB / 1.683 GB, free: 351.9 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04316/3.142, allocations: 9.98 MB / 1.692 GB, free: 341.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/3.142, allocations: 25.2 kB / 1.692 GB, free: 341.9 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/3.142, allocations: 0 / 1.692 GB, free: 341.9 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03892/3.181, allocations: 9.066 MB / 1.701 GB, free: 332.8 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05797/3.239, allocations: 20.16 MB / 1.721 GB, free: 312.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/3.239, allocations: 4 kB / 1.721 GB, free: 312.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005519/3.245, allocations: 0.7063 MB / 1.722 GB, free: 311.9 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/3.246, allocations: 477.4 kB / 1.722 GB, free: 311.4 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007465/3.247, allocations: 99.83 kB / 1.722 GB, free: 311.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/3.251, allocations: 3.301 MB / 1.725 GB, free: 307.9 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/3.251, allocations: 15.88 kB / 1.726 GB, free: 307.9 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05226/3.303, allocations: 15.36 MB / 1.741 GB, free: 292.6 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005642/3.309, allocations: 1.978 MB / 1.742 GB, free: 290.6 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003457/3.312, allocations: 163.9 kB / 1.743 GB, free: 290.4 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008739/3.321, allocations: 0.5405 MB / 1.743 GB, free: 289.9 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007784/3.322, allocations: 185.7 kB / 1.743 GB, free: 289.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000829/3.323, allocations: 131.8 kB / 1.743 GB, free: 289.6 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.01519/3.338, allocations: 7.136 MB / 1.75 GB, free: 282.4 MB / 1.201 GB Notification: Performance of sort global known variables: time 4.41e-07/3.338, allocations: 0 / 1.75 GB, free: 282.4 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0123/3.35, allocations: 1.878 MB / 1.752 GB, free: 280.6 MB / 1.201 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.002997/3.353, allocations: 0.8258 MB / 1.753 GB, free: 280 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.04308/3.396, allocations: 18.44 MB / 1.771 GB, free: 261.4 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/3.396, allocations: 4.562 kB / 1.771 GB, free: 261.3 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/3.408, allocations: 4.402 MB / 1.775 GB, free: 256.9 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.013/3.421, allocations: 1.806 MB / 1.777 GB, free: 255.2 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04363/3.465, allocations: 15.15 MB / 1.792 GB, free: 240 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005383/3.47, allocations: 3.924 MB / 1.796 GB, free: 236.1 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00403/3.475, allocations: 483 kB / 1.796 GB, free: 235.6 MB / 1.201 GB Notification: Performance of SimCode: time 1.302e-06/3.475, allocations: 0 / 1.796 GB, free: 235.6 MB / 1.201 GB Notification: Performance of Templates: time 0.842/4.317, allocations: 296.5 MB / 2.086 GB, free: 427.8 MB / 1.201 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++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_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