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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001772/0.001772, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001907/0.001907, allocations: 187 kB / 17.34 MB, free: 5.742 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 469.4 MB / 0.7428 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 60.12 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9766/0.9783, allocations: 159.1 MB / 1.221 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage): time 0.3491/1.327, allocations: 306.1 MB / 1.52 GB, free: 15.11 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04691/1.374, allocations: 29.05 MB / 1.548 GB, free: 1.977 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005576/1.38, allocations: 83.56 kB / 1.548 GB, free: 1.895 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.007612/1.388, allocations: 1.899 MB / 1.55 GB, free: 15.98 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01406/1.402, allocations: 3.86 MB / 1.554 GB, free: 12.11 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01196/1.414, allocations: 4.328 MB / 1.558 GB, free: 7.816 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.9765/2.39, allocations: 11.71 MB / 1.57 GB, free: 90.27 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009068/2.399, allocations: 4.172 MB / 1.574 GB, free: 89.89 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/2.412, allocations: 4.537 MB / 1.578 GB, free: 89.88 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/2.422, allocations: 4 MB / 1.582 GB, free: 89.88 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.004761/2.427, allocations: 1.08 MB / 1.583 GB, free: 89.88 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/2.441, allocations: 4.958 MB / 1.588 GB, free: 89.88 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.006111/2.448, allocations: 3.329 MB / 1.591 GB, free: 89.64 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01121/2.459, allocations: 5.025 MB / 1.596 GB, free: 88.43 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03006/2.489, allocations: 21.94 MB / 1.617 GB, free: 86.93 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/2.489, allocations: 0.9375 kB / 1.617 GB, free: 86.93 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.893e-06/2.489, allocations: 0 / 1.617 GB, free: 86.93 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004535/2.489, allocations: 4.781 kB / 1.617 GB, free: 86.93 MB / 1.279 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.03672/2.526, allocations: 10.05 MB / 1.627 GB, free: 82.53 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/2.526, allocations: 11.28 kB / 1.627 GB, free: 82.53 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04405/2.57, allocations: 4.469 MB / 1.632 GB, free: 82.1 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03188/2.602, allocations: 9.299 MB / 1.641 GB, free: 80.64 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001988/2.604, allocations: 0.5243 MB / 1.641 GB, free: 80.42 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002402/2.607, allocations: 223.4 kB / 1.641 GB, free: 80.42 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/2.635, allocations: 8.309 MB / 1.65 GB, free: 78.94 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/2.636, allocations: 0 / 1.65 GB, free: 78.94 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007702/2.636, allocations: 92.31 kB / 1.65 GB, free: 78.93 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.439e-05/2.636, allocations: 74.34 kB / 1.65 GB, free: 78.93 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03132/2.668, allocations: 11.48 MB / 1.661 GB, free: 76.32 MB / 1.279 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.07545/2.743, allocations: 33.31 MB / 1.693 GB, free: 50.94 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02891/2.772, allocations: 9.328 MB / 1.703 GB, free: 41.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01233/2.785, allocations: 5.23 MB / 1.708 GB, free: 36.36 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009243/2.786, allocations: 1.352 MB / 1.709 GB, free: 34.73 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01507/2.801, allocations: 6.801 MB / 1.716 GB, free: 27.92 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 5.21e-06/2.801, allocations: 0 / 1.716 GB, free: 27.92 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.06825/2.869, allocations: 18.29 MB / 1.733 GB, free: 9.594 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/2.869, allocations: 144.8 kB / 1.734 GB, free: 9.426 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03025/2.899, allocations: 14.06 MB / 1.747 GB, free: 11.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001973/2.901, allocations: 121.7 kB / 1.747 GB, free: 11.27 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.006185/2.908, allocations: 3.269 MB / 1.751 GB, free: 7.996 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/2.91, allocations: 0.704 MB / 1.751 GB, free: 7.305 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/2.912, allocations: 0.6479 MB / 1.752 GB, free: 6.652 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.000122/2.912, allocations: 305.1 kB / 1.752 GB, free: 6.352 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01524/2.927, allocations: 6.324 MB / 1.758 GB, free: 16 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01664/2.944, allocations: 6.765 MB / 1.765 GB, free: 9.16 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4118/3.355, allocations: 147.3 MB / 1.909 GB, free: 5.469 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/3.355, allocations: 0 / 1.909 GB, free: 5.469 MB / 1.451 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.06087/3.416, allocations: 15.09 MB / 1.924 GB, free: 6.324 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/3.417, allocations: 137.1 kB / 1.924 GB, free: 6.172 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/3.417, allocations: 0 / 1.924 GB, free: 6.172 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007214/3.424, allocations: 1.681 MB / 1.925 GB, free: 4.469 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008186/3.432, allocations: 0.9687 MB / 1.926 GB, free: 3.523 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/3.45, allocations: 14.57 MB / 1.941 GB, free: 4.113 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/3.463, allocations: 0.7978 MB / 1.941 GB, free: 3.312 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/3.465, allocations: 163.8 kB / 1.942 GB, free: 3.152 MB / 1.482 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02388/3.488, allocations: 9.606 MB / 1.951 GB, free: 9.539 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01638/3.505, allocations: 6.734 MB / 1.958 GB, free: 2.715 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4074/3.912, allocations: 147.1 MB / 2.101 GB, free: 15.25 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.291e-05/3.912, allocations: 0 / 2.101 GB, free: 15.25 MB / 1.654 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.06238/3.975, allocations: 14.86 MB / 2.116 GB, free: 348 kB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002851/3.975, allocations: 133.1 kB / 2.116 GB, free: 196 kB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/3.975, allocations: 4.312 kB / 2.116 GB, free: 192 kB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005856/3.981, allocations: 1.493 MB / 2.117 GB, free: 14.67 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0083/3.989, allocations: 0.9647 MB / 2.118 GB, free: 13.73 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/4.004, allocations: 12.72 MB / 2.131 GB, free: 184 kB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/4.017, allocations: 0.7664 MB / 2.131 GB, free: 15.41 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/4.018, allocations: 163.8 kB / 2.132 GB, free: 15.25 MB / 1.686 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.003149/4.022, allocations: 378.9 kB / 2.132 GB, free: 14.89 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005408/4.027, allocations: 0.7445 MB / 2.133 GB, free: 14.14 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05805/4.085, allocations: 12.92 MB / 2.145 GB, free: 1.215 MB / 1.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-05/4.085, allocations: 27.98 kB / 2.145 GB, free: 1.188 MB / 1.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/4.085, allocations: 4 kB / 2.145 GB, free: 1.184 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-05/4.085, allocations: 7.969 kB / 2.145 GB, free: 1.176 MB / 1.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08742/4.173, allocations: 26.83 MB / 2.171 GB, free: 6.34 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/4.173, allocations: 4 kB / 2.171 GB, free: 6.336 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007569/4.18, allocations: 0.8613 MB / 2.172 GB, free: 5.492 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/4.183, allocations: 0.6651 MB / 2.173 GB, free: 4.82 MB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001163/4.184, allocations: 123.8 kB / 2.173 GB, free: 4.699 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/4.189, allocations: 3.472 MB / 2.176 GB, free: 1.051 MB / 1.717 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/4.189, allocations: 0 / 2.176 GB, free: 1.051 MB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8856/5.074, allocations: 19.98 MB / 2.196 GB, free: 0.7225 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009707/5.084, allocations: 2.711 MB / 2.199 GB, free: 0.7212 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006735/5.091, allocations: 185.4 kB / 2.199 GB, free: 0.7211 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0127/5.104, allocations: 0.6553 MB / 2.199 GB, free: 0.7211 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/5.105, allocations: 247.9 kB / 2.2 GB, free: 0.721 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009018/5.106, allocations: 147.2 kB / 2.2 GB, free: 0.721 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.02483/5.131, allocations: 10.06 MB / 2.21 GB, free: 0.7172 GB / 1.717 GB Notification: Performance of sort global known variables: time 3.8e-07/5.131, allocations: 0 / 2.21 GB, free: 0.7172 GB / 1.717 GB Notification: Performance of remove unused functions: time 0.01798/5.149, allocations: 2.614 MB / 2.212 GB, free: 0.717 GB / 1.717 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.003732/5.152, allocations: 0.9899 MB / 2.213 GB, free: 0.7168 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.05144/5.204, allocations: 21.48 MB / 2.234 GB, free: 0.7051 GB / 1.717 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/5.204, allocations: 8.5 kB / 2.234 GB, free: 0.7051 GB / 1.717 GB Notification: Performance of simCode: created simulation system equations: time 0.01625/5.22, allocations: 5.676 MB / 2.24 GB, free: 0.7004 GB / 1.717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01971/5.24, allocations: 2.557 MB / 2.242 GB, free: 0.6985 GB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05624/5.296, allocations: 20.58 MB / 2.262 GB, free: 0.681 GB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006761/5.303, allocations: 5.302 MB / 2.267 GB, free: 0.6769 GB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005073/5.308, allocations: 0.6199 MB / 2.268 GB, free: 0.6764 GB / 1.717 GB Notification: Performance of SimCode: time 9.22e-07/5.308, allocations: 4 kB / 2.268 GB, free: 0.6764 GB / 1.717 GB Notification: Performance of Templates: time 0.4088/5.717, allocations: 432.4 MB / 2.69 GB, free: 260.9 MB / 1.717 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++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_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