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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001038/0.001038, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001693, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003856, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7831, allocations: 142.4 MB / 0.9557 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage): time 0.3285/1.112, allocations: 297.1 MB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7484/1.86, allocations: 28.63 MB / 1.274 GB, free: 81.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005029/1.865, allocations: 70.53 kB / 1.274 GB, free: 81.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005675/1.871, allocations: 1.585 MB / 1.275 GB, free: 81.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/1.883, allocations: 3.367 MB / 1.279 GB, free: 81.35 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.01136/1.894, allocations: 3.88 MB / 1.282 GB, free: 81.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01616/1.91, allocations: 11.89 MB / 1.294 GB, free: 81.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006637/1.917, allocations: 3.263 MB / 1.297 GB, free: 80.69 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009821/1.927, allocations: 3.462 MB / 1.301 GB, free: 80.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007984/1.935, allocations: 3.416 MB / 1.304 GB, free: 80.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002547/1.937, allocations: 405 kB / 1.304 GB, free: 80.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/1.952, allocations: 4.58 MB / 1.309 GB, free: 80.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004855/1.957, allocations: 2.565 MB / 1.311 GB, free: 80.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01127/1.968, allocations: 4.133 MB / 1.315 GB, free: 79.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02243/1.99, allocations: 18.26 MB / 1.333 GB, free: 70.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.99, allocations: 0 / 1.333 GB, free: 70.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.746e-06/1.99, allocations: 0 / 1.333 GB, free: 70.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004202/1.991, allocations: 0 / 1.333 GB, free: 70.07 MB / 0.9981 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.02514/2.016, allocations: 7.98 MB / 1.341 GB, free: 65.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/2.016, allocations: 9.844 kB / 1.341 GB, free: 65.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04098/2.057, allocations: 4.992 MB / 1.346 GB, free: 63.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02428/2.081, allocations: 8.766 MB / 1.354 GB, free: 59.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001675/2.083, allocations: 0.6419 MB / 1.355 GB, free: 58.72 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/2.084, allocations: 228 kB / 1.355 GB, free: 58.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/2.105, allocations: 8.528 MB / 1.364 GB, free: 51.24 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/2.105, allocations: 4 kB / 1.364 GB, free: 51.24 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006831/2.105, allocations: 87.98 kB / 1.364 GB, free: 51.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.892e-05/2.105, allocations: 76.39 kB / 1.364 GB, free: 51.08 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/2.135, allocations: 11.97 MB / 1.375 GB, free: 39.11 MB / 0.9981 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.06856/2.204, allocations: 33.49 MB / 1.408 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03146/2.235, allocations: 9.883 MB / 1.418 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01477/2.25, allocations: 5.476 MB / 1.423 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/2.251, allocations: 1.36 MB / 1.425 GB, free: 4.574 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01828/2.27, allocations: 7.046 MB / 1.431 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=220): time 6.132e-06/2.27, allocations: 0 / 1.431 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=220): time 0.08222/2.352, allocations: 19.12 MB / 1.45 GB, free: 10.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001988/2.352, allocations: 155.7 kB / 1.45 GB, free: 10.17 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04806/2.4, allocations: 13.78 MB / 1.464 GB, free: 12.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001971/2.402, allocations: 125.7 kB / 1.464 GB, free: 12.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.007926/2.41, allocations: 3.128 MB / 1.467 GB, free: 9.145 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002218/2.413, allocations: 0.6982 MB / 1.468 GB, free: 8.457 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/2.414, allocations: 218.4 kB / 1.468 GB, free: 8.238 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001287/2.414, allocations: 305.1 kB / 1.468 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01776/2.432, allocations: 6.58 MB / 1.474 GB, free: 1.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0182/2.45, allocations: 7.025 MB / 1.481 GB, free: 10.24 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4316/2.882, allocations: 154.1 MB / 1.632 GB, free: 15.8 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/2.882, allocations: 0 / 1.632 GB, free: 15.8 MB / 1.232 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.06526/2.947, allocations: 15.64 MB / 1.647 GB, free: 104 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004235/2.948, allocations: 365.7 kB / 1.647 GB, free: 15.67 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/2.948, allocations: 4 kB / 1.647 GB, free: 15.67 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007639/2.956, allocations: 1.745 MB / 1.649 GB, free: 13.9 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008427/2.964, allocations: 1.082 MB / 1.65 GB, free: 12.84 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/2.983, allocations: 13.83 MB / 1.664 GB, free: 14.21 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0134/2.997, allocations: 0.9696 MB / 1.665 GB, free: 13.23 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/2.999, allocations: 167.8 kB / 1.665 GB, free: 13.07 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/2.999, allocations: 4 kB / 1.665 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06138/3.06, allocations: 14.95 MB / 1.679 GB, free: 14.08 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/3.06, allocations: 320 / 1.679 GB, free: 14.08 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005823/3.066, allocations: 1.501 MB / 1.681 GB, free: 12.56 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008311/3.074, allocations: 1.082 MB / 1.682 GB, free: 11.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/3.089, allocations: 12.06 MB / 1.694 GB, free: 14.65 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/3.101, allocations: 0.9267 MB / 1.695 GB, free: 13.72 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/3.103, allocations: 171.8 kB / 1.695 GB, free: 13.55 MB / 1.295 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.009859/3.113, allocations: 3.5 MB / 1.698 GB, free: 10.06 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005504/3.118, allocations: 0.7136 MB / 1.699 GB, free: 9.34 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7586/3.877, allocations: 13.43 MB / 1.712 GB, free: 0.5384 GB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-05/3.877, allocations: 25.55 kB / 1.712 GB, free: 0.5384 GB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/3.877, allocations: 0 / 1.712 GB, free: 0.5384 GB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.312e-05/3.877, allocations: 12.08 kB / 1.712 GB, free: 0.5384 GB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08945/3.967, allocations: 27.31 MB / 1.739 GB, free: 0.5289 GB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.676e-05/3.967, allocations: 3.812 kB / 1.739 GB, free: 0.5289 GB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007422/3.974, allocations: 0.9665 MB / 1.74 GB, free: 0.5287 GB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/3.977, allocations: 0.7225 MB / 1.74 GB, free: 0.5284 GB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001202/3.978, allocations: 121.8 kB / 1.74 GB, free: 0.5283 GB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/3.983, allocations: 3.448 MB / 1.744 GB, free: 0.5255 GB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/3.983, allocations: 3.375 kB / 1.744 GB, free: 0.5255 GB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06892/4.052, allocations: 20.76 MB / 1.764 GB, free: 0.5154 GB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009283/4.061, allocations: 2.698 MB / 1.767 GB, free: 0.5136 GB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004912/4.066, allocations: 189.5 kB / 1.767 GB, free: 0.5135 GB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01271/4.079, allocations: 0.8518 MB / 1.768 GB, free: 0.5132 GB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/4.08, allocations: 242.5 kB / 1.768 GB, free: 0.5131 GB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008709/4.081, allocations: 148.1 kB / 1.768 GB, free: 0.513 GB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0223/4.103, allocations: 9.872 MB / 1.778 GB, free: 0.5049 GB / 1.295 GB Notification: Performance of sort global known variables: time 6.71e-07/4.103, allocations: 0 / 1.778 GB, free: 0.5049 GB / 1.295 GB Notification: Performance of remove unused functions: time 0.01808/4.121, allocations: 2.556 MB / 1.78 GB, free: 0.5024 GB / 1.295 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.003736/4.125, allocations: 0.9959 MB / 1.781 GB, free: 0.5018 GB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.05256/4.178, allocations: 22.34 MB / 1.803 GB, free: 491.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/4.178, allocations: 4.562 kB / 1.803 GB, free: 491.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01574/4.193, allocations: 6.009 MB / 1.809 GB, free: 485.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02007/4.214, allocations: 2.314 MB / 1.811 GB, free: 483 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05245/4.266, allocations: 22.45 MB / 1.833 GB, free: 460.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005532/4.272, allocations: 5.185 MB / 1.838 GB, free: 455.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004885/4.277, allocations: 0.6044 MB / 1.839 GB, free: 454.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.213e-06/4.277, allocations: 0 / 1.839 GB, free: 454.6 MB / 1.295 GB Notification: Performance of Templates: time 0.3864/4.663, allocations: 418.8 MB / 2.248 GB, free: 35.52 MB / 1.295 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++14 -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