Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.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.WaterCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001089/0.001089, allocations: 192.2 kB / 17.31 MB, free: 5.609 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.825/1.825, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001461/0.001461, allocations: 68.42 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.257, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage): time 0.7601/1.017, allocations: 303.8 MB / 1.081 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0436/1.061, allocations: 28.64 MB / 1.109 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005029/1.066, allocations: 79.56 kB / 1.109 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006405/1.072, allocations: 1.81 MB / 1.111 GB, free: 11.27 MB / 0.9044 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.01209/1.085, allocations: 3.635 MB / 1.115 GB, free: 7.613 MB / 0.9044 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.01226/1.097, allocations: 4.254 MB / 1.119 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01565/1.112, allocations: 11.45 MB / 1.13 GB, free: 7.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008275/1.121, allocations: 4.084 MB / 1.134 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6689/1.79, allocations: 4.417 MB / 1.138 GB, free: 92.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008345/1.798, allocations: 3.905 MB / 1.142 GB, free: 92.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003234/1.801, allocations: 1.067 MB / 1.143 GB, free: 92.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01587/1.817, allocations: 4.934 MB / 1.148 GB, free: 92.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.007072/1.824, allocations: 3.234 MB / 1.151 GB, free: 92.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01603/1.84, allocations: 4.89 MB / 1.156 GB, free: 92.46 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.04092/1.881, allocations: 21.5 MB / 1.177 GB, free: 91.04 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.882, allocations: 0.7812 kB / 1.177 GB, free: 91.04 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.066e-06/1.882, allocations: 0.6562 kB / 1.177 GB, free: 91.04 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0006084/1.882, allocations: 2.375 kB / 1.177 GB, free: 91.04 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.05111/1.933, allocations: 9.732 MB / 1.187 GB, free: 86.7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/1.933, allocations: 9.406 kB / 1.187 GB, free: 86.7 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04259/1.976, allocations: 4.439 MB / 1.191 GB, free: 84.89 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02869/2.005, allocations: 8.786 MB / 1.199 GB, free: 82.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001586/2.006, allocations: 0.5217 MB / 1.2 GB, free: 82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/2.008, allocations: 222.6 kB / 1.2 GB, free: 82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/2.032, allocations: 8.265 MB / 1.208 GB, free: 80.29 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/2.032, allocations: 2.906 kB / 1.208 GB, free: 80.29 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008204/2.033, allocations: 84.27 kB / 1.208 GB, free: 80.29 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.063e-05/2.033, allocations: 76.7 kB / 1.208 GB, free: 80.28 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03459/2.067, allocations: 11.46 MB / 1.22 GB, free: 78.42 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.08055/2.148, allocations: 33.09 MB / 1.252 GB, free: 53.87 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03923/2.187, allocations: 9.33 MB / 1.261 GB, free: 44.53 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.014/2.201, allocations: 5.222 MB / 1.266 GB, free: 39.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/2.202, allocations: 1.355 MB / 1.267 GB, free: 37.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01605/2.218, allocations: 6.805 MB / 1.274 GB, free: 30.85 MB / 0.92 GB Notification: Performance of pre-optimization done (n=220): time 8.666e-06/2.219, allocations: 3.562 kB / 1.274 GB, free: 30.85 MB / 0.92 GB Notification: Performance of matching and sorting (n=220): time 0.07372/2.292, allocations: 18.32 MB / 1.292 GB, free: 12.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/2.292, allocations: 152.5 kB / 1.292 GB, free: 12.35 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03197/2.324, allocations: 13.77 MB / 1.306 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.002278/2.327, allocations: 125.7 kB / 1.306 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.006848/2.334, allocations: 3.132 MB / 1.309 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.002235/2.336, allocations: 0.7053 MB / 1.309 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002192/2.338, allocations: 0.6328 MB / 1.31 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001054/2.338, allocations: 305.1 kB / 1.31 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01527/2.353, allocations: 6.327 MB / 1.317 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01691/2.37, allocations: 6.771 MB / 1.323 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4051/2.776, allocations: 147.4 MB / 1.467 GB, free: 8.871 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/2.776, allocations: 4 kB / 1.467 GB, free: 8.867 MB / 1.092 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.06154/2.837, allocations: 15.1 MB / 1.482 GB, free: 9.738 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003002/2.838, allocations: 141 kB / 1.482 GB, free: 9.582 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/2.838, allocations: 4 kB / 1.482 GB, free: 9.578 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007318/2.845, allocations: 1.711 MB / 1.484 GB, free: 7.844 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008226/2.853, allocations: 0.957 MB / 1.485 GB, free: 6.91 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/2.872, allocations: 14.68 MB / 1.499 GB, free: 7.422 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01445/2.887, allocations: 0.787 MB / 1.5 GB, free: 6.633 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002049/2.889, allocations: 171.8 kB / 1.5 GB, free: 6.465 MB / 1.123 GB Warning: Assuming fixed start value for the following 1 variables: mulSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02596/2.915, allocations: 9.532 MB / 1.509 GB, free: 12.92 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01713/2.932, allocations: 6.746 MB / 1.516 GB, free: 6.086 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9294/3.861, allocations: 147.1 MB / 1.659 GB, free: 443.5 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.294e-06/3.862, allocations: 0 / 1.659 GB, free: 443.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.05538/3.917, allocations: 14.87 MB / 1.674 GB, free: 432.6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/3.917, allocations: 141.1 kB / 1.674 GB, free: 432.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/3.917, allocations: 4 kB / 1.674 GB, free: 432.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005334/3.923, allocations: 1.524 MB / 1.676 GB, free: 431 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00799/3.931, allocations: 0.9601 MB / 1.676 GB, free: 430 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/3.942, allocations: 12.79 MB / 1.689 GB, free: 416.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01423/3.957, allocations: 0.7595 MB / 1.69 GB, free: 415.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/3.959, allocations: 163.8 kB / 1.69 GB, free: 415.7 MB / 1.154 GB Warning: Assuming fixed start value for the following 1 variables: mulSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 60 (mulSpeDX.eva.i_x,$PRE.speRat.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mulSpeDX.eva.eva.off,$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.combiTimeTable.nextTimeEventScaled,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEvent,mulSpeDX.eva.eva.off,mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage,mulSpeDX.eva.dxCoo.wetCoi.shr.on,mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulSpeDX.eva.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 (262): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 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): 8 systems {(8,3), (1,1), (1,2), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002058/3.961, allocations: 384.7 kB / 1.69 GB, free: 415.3 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005503/3.966, allocations: 0.7167 MB / 1.691 GB, free: 414.8 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05349/4.02, allocations: 12.91 MB / 1.704 GB, free: 402 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.742e-05/4.02, allocations: 32 kB / 1.704 GB, free: 401.9 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/4.02, allocations: 3.938 kB / 1.704 GB, free: 401.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.504e-05/4.02, allocations: 11.95 kB / 1.704 GB, free: 401.9 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08128/4.101, allocations: 26.77 MB / 1.73 GB, free: 375.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/4.101, allocations: 7.828 kB / 1.73 GB, free: 375.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007119/4.108, allocations: 0.8506 MB / 1.731 GB, free: 374.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/4.111, allocations: 0.702 MB / 1.731 GB, free: 373.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001353/4.112, allocations: 117.1 kB / 1.731 GB, free: 373.6 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004531/4.117, allocations: 3.556 MB / 1.735 GB, free: 369.9 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/4.117, allocations: 4 kB / 1.735 GB, free: 369.9 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06608/4.183, allocations: 19.98 MB / 1.754 GB, free: 349.8 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01029/4.193, allocations: 2.683 MB / 1.757 GB, free: 347.2 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006214/4.199, allocations: 180 kB / 1.757 GB, free: 347 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01322/4.213, allocations: 0.663 MB / 1.758 GB, free: 346.3 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001453/4.214, allocations: 245.5 kB / 1.758 GB, free: 346.1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009199/4.215, allocations: 147.8 kB / 1.758 GB, free: 345.9 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.02391/4.239, allocations: 9.864 MB / 1.768 GB, free: 336.1 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.31e-07/4.239, allocations: 0 / 1.768 GB, free: 336.1 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.02174/4.261, allocations: 2.569 MB / 1.77 GB, free: 333.6 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (mulSpeDX.eva.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,mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage,mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoo.wetCoi.shr.on,mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage,mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulSpeDX.eva.eva.off,speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 9 (speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled,mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage,mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage],mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage,mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage],mulSpeDX.eva.eva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(8,3), (1,1), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004026/4.265, allocations: 0.9943 MB / 1.771 GB, free: 333 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.05037/4.315, allocations: 21.66 MB / 1.792 GB, free: 311.2 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/4.315, allocations: 4.562 kB / 1.792 GB, free: 311.2 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.01549/4.331, allocations: 5.759 MB / 1.798 GB, free: 305.4 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01996/4.351, allocations: 2.419 MB / 1.8 GB, free: 303.2 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05797/4.409, allocations: 20.17 MB / 1.82 GB, free: 283 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006253/4.415, allocations: 5.181 MB / 1.825 GB, free: 277.7 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006059/4.421, allocations: 0.6122 MB / 1.826 GB, free: 277.1 MB / 1.154 GB Notification: Performance of SimCode: time 1.282e-06/4.421, allocations: 0 / 1.826 GB, free: 277.1 MB / 1.154 GB Notification: Performance of Templates: time 1.282/5.703, allocations: 420.4 MB / 2.236 GB, free: 418.2 MB / 1.154 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.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.WaterCooled.Examples.MultiStageCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:3780:14: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_wetCoi_P_appDewPt_P_uacpmulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage__P_UAcp_' tmp382 = mulSpeDX_P_eva_P_dxCoo_P_wetCoi_P_appDewPt_P_uacpmulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage__P_UAcp_; ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4540:140: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4540:231: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4540:66: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4546:69: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4546:143: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4546:214: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4552:140: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4552:231: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4552:66: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4558:69: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4558:143: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4558:214: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4543:7: warning: expression result unused [-Wunused-value] tmp427; ^~~~~~ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4549:7: warning: expression result unused [-Wunused-value] tmp430; ^~~~~~ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4555:7: warning: expression result unused [-Wunused-value] tmp433; ^~~~~~ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4561:7: warning: expression result unused [-Wunused-value] tmp436; ^~~~~~ ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4640:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_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.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4649:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_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.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4658:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition4_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 3) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_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.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4667:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition2_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 4) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_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.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4706:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_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.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4715:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_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.WaterCooled.Examples.MultiStageCalcHelperMain.o] Error 1