Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.DXSystems.Cooling.WaterSource.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.dxCoi.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoi.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage") translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.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.dxCoi.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoi.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, 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.001425/0.001425, 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.806/2.806, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003952, allocations: 11.06 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.352, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage): time 1.03/1.382, allocations: 299.2 MB / 1.352 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03607/1.418, allocations: 28.84 MB / 1.38 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006192/1.424, allocations: 68.91 kB / 1.38 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005503/1.429, allocations: 1.634 MB / 1.381 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/1.441, allocations: 3.403 MB / 1.385 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01016/1.451, allocations: 3.905 MB / 1.389 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01509/1.466, allocations: 12.18 MB / 1.4 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00574/1.472, allocations: 3.334 MB / 1.404 GB, free: 11.29 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008762/1.481, allocations: 3.526 MB / 1.407 GB, free: 9.438 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007423/1.488, allocations: 3.492 MB / 1.411 GB, free: 7.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001922/1.49, allocations: 411.5 kB / 1.411 GB, free: 7.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/1.501, allocations: 4.574 MB / 1.415 GB, free: 5.328 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003747/1.505, allocations: 2.643 MB / 1.418 GB, free: 3.664 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00745/1.513, allocations: 4.254 MB / 1.422 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02002/1.533, allocations: 18.57 MB / 1.44 GB, free: 15.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.533, allocations: 0 / 1.44 GB, free: 15.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.855e-06/1.533, allocations: 0 / 1.44 GB, free: 15.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004057/1.533, allocations: 0 / 1.44 GB, free: 15.59 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.02059/1.554, allocations: 8.24 MB / 1.448 GB, free: 7.219 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.554, allocations: 11.97 kB / 1.448 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04021/1.594, allocations: 5.029 MB / 1.453 GB, free: 2.172 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02386/1.618, allocations: 9.278 MB / 1.462 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002549/1.621, allocations: 0.6537 MB / 1.463 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/1.623, allocations: 224 kB / 1.463 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02783/1.651, allocations: 8.559 MB / 1.471 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-05/1.651, allocations: 7.984 kB / 1.471 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001432/1.652, allocations: 81.64 kB / 1.472 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/1.652, allocations: 83.81 kB / 1.472 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03455/1.687, allocations: 12 MB / 1.483 GB, free: 3.301 MB / 1.076 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.07915/1.766, allocations: 33.72 MB / 1.516 GB, free: 1.328 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03434/1.801, allocations: 9.884 MB / 1.526 GB, free: 7.41 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01609/1.817, allocations: 5.473 MB / 1.531 GB, free: 1.93 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/1.819, allocations: 1.357 MB / 1.533 GB, free: 300 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01959/1.838, allocations: 7.047 MB / 1.54 GB, free: 9.238 MB / 1.139 GB Notification: Performance of pre-optimization done (n=220): time 8.246e-06/1.838, allocations: 4 kB / 1.54 GB, free: 9.234 MB / 1.139 GB Notification: Performance of matching and sorting (n=220): time 0.08421/1.922, allocations: 19.08 MB / 1.558 GB, free: 6.078 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/1.923, allocations: 148.8 kB / 1.558 GB, free: 5.906 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04205/1.965, allocations: 14.06 MB / 1.572 GB, free: 7.875 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.001863/1.967, allocations: 125.7 kB / 1.572 GB, free: 7.746 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.007747/1.974, allocations: 3.268 MB / 1.575 GB, free: 4.469 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002046/1.976, allocations: 0.6965 MB / 1.576 GB, free: 3.785 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001743/1.978, allocations: 222.4 kB / 1.576 GB, free: 3.562 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.978, allocations: 309 kB / 1.577 GB, free: 3.258 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01811/1.997, allocations: 6.577 MB / 1.583 GB, free: 12.68 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01778/2.014, allocations: 7.021 MB / 1.59 GB, free: 5.559 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4355/2.45, allocations: 154.1 MB / 1.74 GB, free: 11.12 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/2.45, allocations: 4 kB / 1.74 GB, free: 11.12 MB / 1.342 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.7163/3.166, allocations: 15.61 MB / 1.755 GB, free: 0.4954 GB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/3.167, allocations: 364.1 kB / 1.756 GB, free: 0.495 GB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/3.167, allocations: 5.344 kB / 1.756 GB, free: 0.495 GB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006928/3.174, allocations: 1.705 MB / 1.758 GB, free: 0.495 GB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007979/3.182, allocations: 1.087 MB / 1.759 GB, free: 0.495 GB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/3.197, allocations: 13.74 MB / 1.772 GB, free: 498.1 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/3.21, allocations: 0.965 MB / 1.773 GB, free: 498.1 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/3.212, allocations: 173.2 kB / 1.773 GB, free: 498.1 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/3.212, allocations: 7.469 kB / 1.773 GB, free: 498.1 MB / 1.342 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05948/3.271, allocations: 14.9 MB / 1.788 GB, free: 496.5 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/3.271, allocations: 6.797 kB / 1.788 GB, free: 496.5 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00614/3.277, allocations: 1.465 MB / 1.789 GB, free: 496.2 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008105/3.285, allocations: 1.088 MB / 1.79 GB, free: 496.1 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/3.298, allocations: 12.02 MB / 1.802 GB, free: 485.5 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/3.309, allocations: 0.9324 MB / 1.803 GB, free: 485.4 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/3.31, allocations: 170 kB / 1.803 GB, free: 485.4 MB / 1.342 GB Warning: Assuming fixed start value for the following 1 variables: mulSpeDX.eva.watVapEva.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.watVapEva.off,$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],speRat.combiTimeTable.nextTimeEventScaled,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEvent,mulSpeDX.eva.watVapEva.off,mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage,mulSpeDX.eva.dxCoi.wetCoi.shr.on,mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoi.wetCoi.coiCap.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 (263): * Single equations (assignments): 252 * 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 {(7,3), (1,1), (1,2), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.008606/3.319, allocations: 3.559 MB / 1.806 GB, free: 483.6 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003834/3.323, allocations: 0.7513 MB / 1.807 GB, free: 483.6 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05235/3.375, allocations: 13.43 MB / 1.82 GB, free: 477.4 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.086e-05/3.375, allocations: 23.61 kB / 1.82 GB, free: 477.4 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/3.375, allocations: 4.547 kB / 1.82 GB, free: 477.4 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.97e-05/3.375, allocations: 7.969 kB / 1.82 GB, free: 477.4 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07537/3.45, allocations: 27.37 MB / 1.847 GB, free: 454.6 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/3.451, allocations: 7.938 kB / 1.847 GB, free: 454.5 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006724/3.457, allocations: 0.9755 MB / 1.848 GB, free: 453.6 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/3.459, allocations: 0.6931 MB / 1.849 GB, free: 452.9 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009977/3.46, allocations: 127.3 kB / 1.849 GB, free: 452.7 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/3.464, allocations: 3.342 MB / 1.852 GB, free: 449.2 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/3.464, allocations: 4 kB / 1.852 GB, free: 449.2 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06612/3.531, allocations: 20.75 MB / 1.872 GB, free: 428.4 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007671/3.538, allocations: 2.728 MB / 1.875 GB, free: 425.7 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003956/3.542, allocations: 188 kB / 1.875 GB, free: 425.5 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01118/3.554, allocations: 0.8537 MB / 1.876 GB, free: 424.6 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009578/3.555, allocations: 245.6 kB / 1.876 GB, free: 424.4 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009708/3.556, allocations: 147.8 kB / 1.876 GB, free: 424.3 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.02234/3.578, allocations: 10.06 MB / 1.886 GB, free: 414.2 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.623e-06/3.578, allocations: 4 kB / 1.886 GB, free: 414.2 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.01808/3.596, allocations: 2.607 MB / 1.889 GB, free: 411.7 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.watVapEva.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.dxCoi.wetCoi.coiCap.stage,mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoi.wetCoi.shr.on,mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage,mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],mulSpeDX.eva.watVapEva.off,speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 9 (speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled,mulSpeDX.eva.dxCoi.wetCoi.coiCap.stage,mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[mulSpeDX.eva.dxCoi.wetCoi.coiCap.stage],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[mulSpeDX.eva.dxCoi.wetCoi.coiCap.stage],mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage,mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage],mulSpeDX.eva.watVapEva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 186 * 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 {(7,3), (1,1), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003807/3.6, allocations: 0.9829 MB / 1.89 GB, free: 410.9 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.05196/3.652, allocations: 22.21 MB / 1.911 GB, free: 388.5 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/3.652, allocations: 8.5 kB / 1.911 GB, free: 388.5 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.01566/3.668, allocations: 5.924 MB / 1.917 GB, free: 382.5 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02568/3.693, allocations: 2.471 MB / 1.92 GB, free: 380.1 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06255/3.756, allocations: 22.91 MB / 1.942 GB, free: 357.1 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009115/3.765, allocations: 5.307 MB / 1.947 GB, free: 351.8 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005896/3.771, allocations: 0.62 MB / 1.948 GB, free: 351.2 MB / 1.342 GB Notification: Performance of SimCode: time 1.122e-06/3.771, allocations: 0 / 1.948 GB, free: 351.2 MB / 1.342 GB Notification: Performance of Templates: time 1.059/4.83, allocations: 429.8 MB / 2.368 GB, free: 457.9 MB / 1.342 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage.makefile make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.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_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:3780:14: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_wetCoi_P_appDewPt_P_uacpmulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage__P_UAcp_' tmp382 = mulSpeDX_P_eva_P_dxCoi_P_wetCoi_P_appDewPt_P_uacpmulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage__P_UAcp_; ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4543:140: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4543:231: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4543:66: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4549:69: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4549:143: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4549:214: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4555:140: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4555:231: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4555:66: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4561:69: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4561:143: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4561:214: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4546:7: warning: expression result unused [-Wunused-value] tmp427; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4552:7: warning: expression result unused [-Wunused-value] tmp430; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4558:7: warning: expression result unused [-Wunused-value] tmp433; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4564:7: warning: expression result unused [-Wunused-value] tmp436; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4643:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_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_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4652:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_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_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4661:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition5_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 3) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_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_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4670:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition3_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 4) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_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_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4699:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_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_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4708:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_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_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.o] Error 1