Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001167/0.001167, allocations: 103.4 kB / 16.27 MB, free: 6.359 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.001132/0.001132, allocations: 195.4 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.3 MB / 0.5495 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 64.36 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage): time 0.5957/0.8729, allocations: 205.4 MB / 0.9846 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02699/0.9, allocations: 21.04 MB / 1.005 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.9023, allocations: 47.75 kB / 1.005 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003434/0.9058, allocations: 1.223 MB / 1.006 GB, free: 6.629 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007028/0.9128, allocations: 2.535 MB / 1.009 GB, free: 4.082 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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.008455/0.9213, allocations: 3.428 MB / 1.012 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009549/0.9308, allocations: 8.225 MB / 1.02 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/0.9356, allocations: 2.946 MB / 1.023 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006113/0.9418, allocations: 3.03 MB / 1.026 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004917/0.9467, allocations: 2.834 MB / 1.029 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002006/0.9488, allocations: 0.75 MB / 1.03 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009152/0.9579, allocations: 4.02 MB / 1.034 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003281/0.9612, allocations: 2.381 MB / 1.036 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005657/0.9669, allocations: 3.56 MB / 1.039 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01851/0.9855, allocations: 15.17 MB / 1.054 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.9855, allocations: 0 / 1.054 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9855, allocations: 0 / 1.054 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002818/0.9858, allocations: 0 / 1.054 GB, free: 5.758 MB / 0.8419 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.0206/1.006, allocations: 7.245 MB / 1.061 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.006, allocations: 12.03 kB / 1.061 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0342/1.041, allocations: 3.578 MB / 1.065 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/1.056, allocations: 6.305 MB / 1.071 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000971/1.057, allocations: 451.2 kB / 1.071 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/1.059, allocations: 168 kB / 1.071 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/1.076, allocations: 6.439 MB / 1.078 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.333e-05/1.077, allocations: 4 kB / 1.078 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008926/1.077, allocations: 63.98 kB / 1.078 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.422e-05/1.078, allocations: 54.94 kB / 1.078 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02516/1.103, allocations: 8.592 MB / 1.086 GB, free: 4.551 MB / 0.8731 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.05374/1.156, allocations: 23.93 MB / 1.11 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02956/1.186, allocations: 8.44 MB / 1.118 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01203/1.198, allocations: 4.012 MB / 1.122 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009518/1.199, allocations: 0.7693 MB / 1.123 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0144/1.214, allocations: 5.379 MB / 1.128 GB, free: 9.602 MB / 0.92 GB Notification: Performance of pre-optimization done (n=186): time 1.055e-05/1.214, allocations: 3.984 kB / 1.128 GB, free: 9.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=188): time 0.5097/1.723, allocations: 21.89 MB / 1.149 GB, free: 292.6 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/1.724, allocations: 148.4 kB / 1.149 GB, free: 292.4 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02673/1.75, allocations: 10.02 MB / 1.159 GB, free: 288.8 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001477/1.752, allocations: 112 kB / 1.159 GB, free: 288.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.005271/1.757, allocations: 2.228 MB / 1.161 GB, free: 287 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.759, allocations: 0.5975 MB / 1.162 GB, free: 286.6 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004215/1.764, allocations: 0.5396 MB / 1.163 GB, free: 286.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/1.764, allocations: 305.6 kB / 1.163 GB, free: 286.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0141/1.778, allocations: 4.986 MB / 1.168 GB, free: 284.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01422/1.792, allocations: 5.166 MB / 1.173 GB, free: 282.3 MB / 0.92 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.357/2.149, allocations: 141.2 MB / 1.311 GB, free: 166.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/2.149, allocations: 1.312 kB / 1.311 GB, free: 166.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.0469/2.196, allocations: 12.09 MB / 1.322 GB, free: 154.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/2.196, allocations: 138.2 kB / 1.323 GB, free: 154 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/2.196, allocations: 4 kB / 1.323 GB, free: 154 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006078/2.202, allocations: 1.509 MB / 1.324 GB, free: 152.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005854/2.208, allocations: 0.7728 MB / 1.325 GB, free: 151.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/2.222, allocations: 13.97 MB / 1.338 GB, free: 136.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008714/2.23, allocations: 0.5265 MB / 1.339 GB, free: 136.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/2.231, allocations: 149.4 kB / 1.339 GB, free: 136.2 MB / 0.92 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.01544/2.247, allocations: 7.229 MB / 1.346 GB, free: 129 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01159/2.259, allocations: 5.13 MB / 1.351 GB, free: 123.8 MB / 0.92 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.7237/2.982, allocations: 141 MB / 1.489 GB, free: 304.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.79e-06/2.982, allocations: 1.031 kB / 1.489 GB, free: 304.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.0484/3.031, allocations: 11.9 MB / 1.5 GB, free: 303.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/3.031, allocations: 133.8 kB / 1.501 GB, free: 303.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/3.031, allocations: 3.984 kB / 1.501 GB, free: 303.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005483/3.036, allocations: 1.31 MB / 1.502 GB, free: 303.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006675/3.043, allocations: 0.7811 MB / 1.503 GB, free: 303.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/3.055, allocations: 12.24 MB / 1.515 GB, free: 292.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009012/3.064, allocations: 0.5309 MB / 1.515 GB, free: 292.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/3.065, allocations: 139.9 kB / 1.515 GB, free: 292.5 MB / 0.9356 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.002084/3.067, allocations: 355.1 kB / 1.516 GB, free: 292.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003549/3.071, allocations: 0.5312 MB / 1.516 GB, free: 292 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04785/3.118, allocations: 9.983 MB / 1.526 GB, free: 289 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-05/3.119, allocations: 19.06 kB / 1.526 GB, free: 289 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/3.119, allocations: 0 / 1.526 GB, free: 289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04405/3.163, allocations: 9.065 MB / 1.535 GB, free: 286.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06538/3.228, allocations: 20.16 MB / 1.554 GB, free: 277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/3.228, allocations: 4.281 kB / 1.554 GB, free: 277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005903/3.234, allocations: 0.7108 MB / 1.555 GB, free: 276.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/3.236, allocations: 472 kB / 1.556 GB, free: 276.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000835/3.237, allocations: 97.09 kB / 1.556 GB, free: 276.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/3.24, allocations: 3.306 MB / 1.559 GB, free: 273.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/3.24, allocations: 7.906 kB / 1.559 GB, free: 273.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05626/3.297, allocations: 15.4 MB / 1.574 GB, free: 265.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006294/3.303, allocations: 1.977 MB / 1.576 GB, free: 263.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003088/3.306, allocations: 163.5 kB / 1.576 GB, free: 263.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009005/3.315, allocations: 0.5332 MB / 1.577 GB, free: 263.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008394/3.316, allocations: 196.3 kB / 1.577 GB, free: 263.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009283/3.317, allocations: 123 kB / 1.577 GB, free: 263.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.01578/3.333, allocations: 7.137 MB / 1.584 GB, free: 257 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.81e-07/3.333, allocations: 0 / 1.584 GB, free: 257 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.01449/3.347, allocations: 1.872 MB / 1.586 GB, free: 255.2 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (mulStaDX.vol.dynBal.U,mulStaDX.vol.dynBal.mXi[1],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.003355/3.351, allocations: 0.8208 MB / 1.586 GB, free: 254.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.04412/3.395, allocations: 18.44 MB / 1.604 GB, free: 236.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/3.395, allocations: 4.562 kB / 1.604 GB, free: 236.1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01195/3.407, allocations: 4.394 MB / 1.609 GB, free: 231.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01166/3.419, allocations: 1.823 MB / 1.611 GB, free: 230.1 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04205/3.461, allocations: 15.14 MB / 1.625 GB, free: 214.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004646/3.465, allocations: 3.912 MB / 1.629 GB, free: 211 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003846/3.469, allocations: 485.1 kB / 1.63 GB, free: 210.5 MB / 0.9356 GB Notification: Performance of SimCode: time 1.152e-06/3.469, allocations: 0 / 1.63 GB, free: 210.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.7306/4.2, allocations: 296.5 MB / 1.919 GB, free: 283.3 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.makefile make -j1 -f Buildings_8_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3749:7: warning: expression result unused [-Wunused-value] tmp322; ^~~~~~ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3755:7: warning: expression result unused [-Wunused-value] tmp325; ^~~~~~ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3761:7: warning: expression result unused [-Wunused-value] tmp328; ^~~~~~ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3767:7: warning: expression result unused [-Wunused-value] tmp331; ^~~~~~ ./OMCppBuildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.o] Error 1