Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSpeDX.eva.vol.T|mulSpeDX.sta_a1.T|mulSpeDX.sta_a2.T|mulSpeDX.sta_b2.T|mulSpeDX.sta_a1.X.1.|mulSpeDX.eva.vol.X_w|mulSpeDX.eva.dxCoo.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoo.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSpeDX.eva.vol.T|mulSpeDX.sta_a1.T|mulSpeDX.sta_a2.T|mulSpeDX.sta_b2.T|mulSpeDX.sta_a1.X.1.|mulSpeDX.eva.vol.X_w|mulSpeDX.eva.dxCoo.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoo.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_9_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.001938/0.001938, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.00221/0.00221, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001548, allocations: 67.89 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage): time 0.3854/1.412, allocations: 303.8 MB / 1.385 GB, free: 13.42 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04376/1.456, allocations: 28.84 MB / 1.414 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004917/1.461, allocations: 87.5 kB / 1.414 GB, free: 420 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005855/1.467, allocations: 1.849 MB / 1.415 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/1.479, allocations: 3.818 MB / 1.419 GB, free: 10.71 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01197/1.491, allocations: 4.301 MB / 1.423 GB, free: 6.449 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01584/1.506, allocations: 11.47 MB / 1.435 GB, free: 10.96 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009139/1.516, allocations: 4.094 MB / 1.439 GB, free: 6.801 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/1.526, allocations: 4.473 MB / 1.443 GB, free: 2.328 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00723/1.534, allocations: 3.913 MB / 1.447 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.003199/1.537, allocations: 1.066 MB / 1.448 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/1.549, allocations: 4.945 MB / 1.453 GB, free: 8.387 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00491/1.554, allocations: 3.235 MB / 1.456 GB, free: 5.145 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.009761/1.564, allocations: 4.894 MB / 1.461 GB, free: 236 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02912/1.593, allocations: 21.48 MB / 1.482 GB, free: 10.69 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/1.593, allocations: 0 / 1.482 GB, free: 10.69 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.814e-06/1.593, allocations: 0 / 1.482 GB, free: 10.69 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0004553/1.594, allocations: 4 kB / 1.482 GB, free: 10.68 MB / 1.217 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.03284/1.627, allocations: 9.738 MB / 1.491 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.627, allocations: 8.031 kB / 1.491 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03854/1.665, allocations: 4.438 MB / 1.495 GB, free: 12.32 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02385/1.689, allocations: 8.793 MB / 1.504 GB, free: 3.438 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001358/1.691, allocations: 0.5235 MB / 1.504 GB, free: 2.867 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/1.692, allocations: 220 kB / 1.505 GB, free: 2.652 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02373/1.716, allocations: 8.275 MB / 1.513 GB, free: 10.33 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.537e-05/1.716, allocations: 0 / 1.513 GB, free: 10.33 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001468/1.718, allocations: 87.98 kB / 1.513 GB, free: 10.25 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.365e-05/1.718, allocations: 75.75 kB / 1.513 GB, free: 10.17 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03266/1.75, allocations: 11.46 MB / 1.524 GB, free: 14.71 MB / 1.264 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.07985/1.83, allocations: 33.09 MB / 1.556 GB, free: 13.25 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03204/1.862, allocations: 9.344 MB / 1.566 GB, free: 3.867 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01352/1.876, allocations: 5.224 MB / 1.571 GB, free: 14.64 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/1.877, allocations: 1.355 MB / 1.572 GB, free: 12.99 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01734/1.895, allocations: 6.806 MB / 1.579 GB, free: 6.168 MB / 1.311 GB Notification: Performance of pre-optimization done (n=220): time 5.541e-06/1.895, allocations: 0 / 1.579 GB, free: 6.168 MB / 1.311 GB Notification: Performance of matching and sorting (n=220): time 0.8189/2.714, allocations: 18.31 MB / 1.596 GB, free: 430.2 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/2.714, allocations: 152.2 kB / 1.597 GB, free: 430.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04337/2.757, allocations: 13.78 MB / 1.61 GB, free: 425.1 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.002273/2.76, allocations: 123.2 kB / 1.61 GB, free: 425 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.007812/2.767, allocations: 3.131 MB / 1.613 GB, free: 422.8 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002071/2.77, allocations: 0.6979 MB / 1.614 GB, free: 422.3 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004637/2.774, allocations: 0.6372 MB / 1.615 GB, free: 422.1 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/2.774, allocations: 305.8 kB / 1.615 GB, free: 421.8 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0182/2.792, allocations: 6.328 MB / 1.621 GB, free: 419.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01831/2.811, allocations: 6.775 MB / 1.628 GB, free: 416.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3656/3.176, allocations: 147.4 MB / 1.772 GB, free: 297 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/3.177, allocations: 0 / 1.772 GB, free: 297 MB / 1.311 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.05185/3.228, allocations: 15.09 MB / 1.786 GB, free: 281.8 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/3.229, allocations: 149 kB / 1.786 GB, free: 281.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/3.229, allocations: 7.984 kB / 1.786 GB, free: 281.6 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006128/3.235, allocations: 1.708 MB / 1.788 GB, free: 279.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007286/3.242, allocations: 0.9632 MB / 1.789 GB, free: 278.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/3.257, allocations: 14.65 MB / 1.803 GB, free: 263.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/3.268, allocations: 0.7978 MB / 1.804 GB, free: 262.6 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/3.27, allocations: 159.8 kB / 1.804 GB, free: 262.4 MB / 1.311 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.01904/3.289, allocations: 9.544 MB / 1.814 GB, free: 252.9 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0142/3.303, allocations: 6.735 MB / 1.82 GB, free: 246 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3457/3.649, allocations: 147.1 MB / 1.964 GB, free: 98.55 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.602e-05/3.649, allocations: 4 kB / 1.964 GB, free: 98.55 MB / 1.311 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.05502/3.704, allocations: 14.88 MB / 1.978 GB, free: 83.57 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002133/3.704, allocations: 141.1 kB / 1.979 GB, free: 83.42 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/3.704, allocations: 4 kB / 1.979 GB, free: 83.41 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005054/3.709, allocations: 1.521 MB / 1.98 GB, free: 81.87 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007267/3.717, allocations: 0.9749 MB / 1.981 GB, free: 80.89 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/3.728, allocations: 12.81 MB / 1.993 GB, free: 67.19 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/3.74, allocations: 0.7555 MB / 1.994 GB, free: 66.43 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/3.741, allocations: 163.8 kB / 1.994 GB, free: 66.27 MB / 1.311 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.002865/3.744, allocations: 380 kB / 1.995 GB, free: 65.89 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004811/3.749, allocations: 0.7175 MB / 1.995 GB, free: 65.16 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05232/3.801, allocations: 12.92 MB / 2.008 GB, free: 52.23 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.503e-05/3.802, allocations: 20 kB / 2.008 GB, free: 52.21 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/3.802, allocations: 0 / 2.008 GB, free: 52.21 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-05/3.802, allocations: 23.83 kB / 2.008 GB, free: 52.18 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07551/3.877, allocations: 26.77 MB / 2.034 GB, free: 25.38 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/3.877, allocations: 4 kB / 2.034 GB, free: 25.37 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006671/3.884, allocations: 0.8544 MB / 2.035 GB, free: 24.52 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/3.886, allocations: 0.705 MB / 2.036 GB, free: 23.8 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001129/3.887, allocations: 115.8 kB / 2.036 GB, free: 23.69 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/3.892, allocations: 3.555 MB / 2.039 GB, free: 19.93 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/3.892, allocations: 0 / 2.039 GB, free: 19.93 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06063/3.952, allocations: 19.98 MB / 2.059 GB, free: 15.88 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008633/3.961, allocations: 2.694 MB / 2.061 GB, free: 13.16 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003786/3.965, allocations: 188 kB / 2.062 GB, free: 12.97 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/3.975, allocations: 0.6592 MB / 2.062 GB, free: 12.31 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008664/3.976, allocations: 241.6 kB / 2.063 GB, free: 12.08 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008465/3.977, allocations: 147.8 kB / 2.063 GB, free: 11.93 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.02637/4.003, allocations: 9.864 MB / 2.072 GB, free: 2.094 MB / 1.326 GB Notification: Performance of sort global known variables: time 5.51e-07/4.003, allocations: 0 / 2.072 GB, free: 2.094 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.01799/4.021, allocations: 2.567 MB / 2.075 GB, free: 15.55 MB / 1.342 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.004111/4.026, allocations: 1.011 MB / 2.076 GB, free: 14.8 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.7307/4.756, allocations: 21.65 MB / 2.097 GB, free: 456.3 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/4.756, allocations: 2.344 kB / 2.097 GB, free: 456.3 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.01829/4.775, allocations: 5.754 MB / 2.103 GB, free: 454.2 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01913/4.794, allocations: 2.401 MB / 2.105 GB, free: 453.6 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07178/4.866, allocations: 20.16 MB / 2.125 GB, free: 445.2 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0144/4.88, allocations: 5.187 MB / 2.13 GB, free: 443 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007143/4.887, allocations: 0.6064 MB / 2.13 GB, free: 442.9 MB / 1.342 GB Notification: Performance of SimCode: time 9.52e-07/4.887, allocations: 0 / 2.13 GB, free: 442.9 MB / 1.342 GB Notification: Performance of Templates: time 0.4921/5.38, allocations: 421.3 MB / 2.542 GB, free: 54.06 MB / 1.342 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage.makefile make -j1 -f Buildings_9_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4543:7: warning: expression result unused [-Wunused-value] tmp427; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4549:7: warning: expression result unused [-Wunused-value] tmp430; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4555:7: warning: expression result unused [-Wunused-value] tmp433; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4561:7: warning: expression result unused [-Wunused-value] tmp436; ^~~~~~ ./OMCppBuildings_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.o] Error 1