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.001332/0.001332, allocations: 104.3 kB / 16.27 MB, free: 6.09 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.001376/0.001376, allocations: 188.9 kB / 17.2 MB, free: 5.711 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.419/1.419, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.755/1.755, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.002516/0.002516, allocations: 63.91 kB / 0.6722 GB, free: 6.621 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2781, allocations: 114.5 MB / 0.784 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage): time 0.773/1.051, allocations: 303.8 MB / 1.081 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04355/1.095, allocations: 28.63 MB / 1.109 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006802/1.102, allocations: 79.56 kB / 1.109 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006095/1.108, allocations: 1.814 MB / 1.11 GB, free: 11.81 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.01259/1.12, allocations: 3.639 MB / 1.114 GB, free: 8.152 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.01205/1.132, allocations: 4.236 MB / 1.118 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01761/1.15, allocations: 11.41 MB / 1.129 GB, free: 8.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009943/1.16, allocations: 4.085 MB / 1.133 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/1.171, allocations: 4.415 MB / 1.138 GB, free: 116 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6835/1.854, allocations: 3.885 MB / 1.141 GB, free: 95.9 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003984/1.858, allocations: 1.067 MB / 1.142 GB, free: 95.9 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01664/1.875, allocations: 4.925 MB / 1.147 GB, free: 95.9 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.007454/1.882, allocations: 3.236 MB / 1.15 GB, free: 95.9 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01539/1.898, allocations: 4.893 MB / 1.155 GB, free: 95.55 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.04048/1.938, allocations: 21.38 MB / 1.176 GB, free: 94.15 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/1.938, allocations: 3.75 kB / 1.176 GB, free: 94.15 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.735e-06/1.938, allocations: 0.5625 kB / 1.176 GB, free: 94.15 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005917/1.939, allocations: 0.5938 kB / 1.176 GB, free: 94.15 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.05104/1.99, allocations: 9.727 MB / 1.186 GB, free: 89.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/1.99, allocations: 9.844 kB / 1.186 GB, free: 89.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04252/2.033, allocations: 4.44 MB / 1.19 GB, free: 87.69 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02737/2.06, allocations: 8.718 MB / 1.198 GB, free: 85.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002149/2.062, allocations: 0.6317 MB / 1.199 GB, free: 84.79 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/2.064, allocations: 225 kB / 1.199 GB, free: 84.79 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/2.087, allocations: 8.278 MB / 1.207 GB, free: 83.08 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/2.087, allocations: 4.656 kB / 1.207 GB, free: 83.08 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008895/2.088, allocations: 79 kB / 1.207 GB, free: 83.08 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.97e-05/2.088, allocations: 75.98 kB / 1.208 GB, free: 83.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03043/2.118, allocations: 11.48 MB / 1.219 GB, free: 81.22 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.07797/2.196, allocations: 33.19 MB / 1.251 GB, free: 56.88 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02957/2.226, allocations: 9.35 MB / 1.26 GB, free: 47.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01284/2.239, allocations: 5.235 MB / 1.265 GB, free: 42.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/2.24, allocations: 1.352 MB / 1.267 GB, free: 40.65 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01609/2.256, allocations: 6.812 MB / 1.273 GB, free: 33.83 MB / 0.92 GB Notification: Performance of pre-optimization done (n=220): time 6.252e-06/2.256, allocations: 0 / 1.273 GB, free: 33.83 MB / 0.92 GB Notification: Performance of matching and sorting (n=220): time 0.07409/2.33, allocations: 18.33 MB / 1.291 GB, free: 15.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/2.33, allocations: 156.5 kB / 1.291 GB, free: 15.31 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0393/2.37, allocations: 13.78 MB / 1.305 GB, free: 1.551 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.002457/2.372, allocations: 121.7 kB / 1.305 GB, free: 1.426 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.007691/2.38, allocations: 3.149 MB / 1.308 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.002126/2.382, allocations: 0.6992 MB / 1.309 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002922/2.385, allocations: 0.6406 MB / 1.309 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001062/2.385, allocations: 305.1 kB / 1.31 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01608/2.401, allocations: 6.335 MB / 1.316 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0179/2.419, allocations: 6.781 MB / 1.322 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4111/2.83, allocations: 147.4 MB / 1.466 GB, free: 11.81 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/2.83, allocations: 0 / 1.466 GB, free: 11.81 MB / 1.092 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.06418/2.895, allocations: 15.11 MB / 1.481 GB, free: 12.67 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/2.895, allocations: 144.2 kB / 1.481 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/2.895, allocations: 4 kB / 1.481 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007471/2.902, allocations: 1.712 MB / 1.483 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008767/2.911, allocations: 0.9648 MB / 1.484 GB, free: 9.832 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/2.931, allocations: 14.69 MB / 1.498 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/2.945, allocations: 0.8095 MB / 1.499 GB, free: 9.52 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/2.947, allocations: 163.8 kB / 1.499 GB, free: 9.359 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.02547/2.972, allocations: 9.54 MB / 1.509 GB, free: 15.8 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0178/2.99, allocations: 6.756 MB / 1.515 GB, free: 8.961 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9842/3.974, allocations: 147.1 MB / 1.659 GB, free: 446.4 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.326e-05/3.974, allocations: 0 / 1.659 GB, free: 446.4 MB / 1.154 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.06/4.034, allocations: 14.89 MB / 1.673 GB, free: 435.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/4.035, allocations: 145.8 kB / 1.673 GB, free: 435.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/4.035, allocations: 4 kB / 1.673 GB, free: 435.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00551/4.04, allocations: 1.524 MB / 1.675 GB, free: 433.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007872/4.048, allocations: 0.9647 MB / 1.676 GB, free: 432.9 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/4.061, allocations: 12.8 MB / 1.688 GB, free: 419.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/4.074, allocations: 0.775 MB / 1.689 GB, free: 418.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/4.076, allocations: 164.3 kB / 1.689 GB, free: 418.5 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.003661/4.08, allocations: 373.6 kB / 1.69 GB, free: 418.1 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006348/4.086, allocations: 0.7218 MB / 1.69 GB, free: 417.6 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05559/4.142, allocations: 12.93 MB / 1.703 GB, free: 404.7 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/4.142, allocations: 20 kB / 1.703 GB, free: 404.7 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/4.142, allocations: 3.938 kB / 1.703 GB, free: 404.7 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-05/4.142, allocations: 15.95 kB / 1.703 GB, free: 404.7 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08523/4.227, allocations: 26.78 MB / 1.729 GB, free: 378 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/4.228, allocations: 0 / 1.729 GB, free: 378 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007211/4.235, allocations: 0.8527 MB / 1.73 GB, free: 377.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002402/4.237, allocations: 0.7107 MB / 1.731 GB, free: 376.5 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001486/4.239, allocations: 123.8 kB / 1.731 GB, free: 376.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/4.243, allocations: 3.539 MB / 1.734 GB, free: 372.7 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/4.244, allocations: 8.594 kB / 1.734 GB, free: 372.7 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07011/4.314, allocations: 20 MB / 1.754 GB, free: 352.6 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009897/4.324, allocations: 2.68 MB / 1.756 GB, free: 349.9 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006415/4.33, allocations: 187.9 kB / 1.757 GB, free: 349.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01328/4.343, allocations: 0.6606 MB / 1.757 GB, free: 349.1 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001429/4.345, allocations: 255.2 kB / 1.758 GB, free: 348.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001585/4.346, allocations: 143.8 kB / 1.758 GB, free: 348.7 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.02839/4.375, allocations: 9.864 MB / 1.767 GB, free: 338.9 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.112e-06/4.375, allocations: 0 / 1.767 GB, free: 338.9 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.02399/4.399, allocations: 2.565 MB / 1.77 GB, free: 336.4 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.004952/4.404, allocations: 1.006 MB / 1.771 GB, free: 335.7 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.05892/4.463, allocations: 23.26 MB / 1.794 GB, free: 312.4 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/4.463, allocations: 3.938 kB / 1.794 GB, free: 312.4 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.01653/4.479, allocations: 5.762 MB / 1.799 GB, free: 306.6 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02152/4.501, allocations: 2.424 MB / 1.802 GB, free: 304.4 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06529/4.566, allocations: 20.33 MB / 1.821 GB, free: 284 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/4.579, allocations: 5.184 MB / 1.826 GB, free: 278.8 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008871/4.588, allocations: 0.6083 MB / 1.827 GB, free: 278.1 MB / 1.154 GB Notification: Performance of SimCode: time 3.757e-06/4.588, allocations: 0 / 1.827 GB, free: 278.1 MB / 1.154 GB Notification: Performance of Templates: time 1.002/5.59, allocations: 420.4 MB / 2.238 GB, free: 419.1 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