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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.001346/0.001346, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001386/0.001386, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.369/1.369, 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.1.0-master/package.mo): time 2.549/2.549, allocations: 469.4 MB / 0.7428 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.89 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 159.1 MB / 1.221 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage): time 0.3536/1.364, allocations: 306.1 MB / 1.52 GB, free: 15.14 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04296/1.407, allocations: 29.04 MB / 1.548 GB, free: 2.02 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00551/1.412, allocations: 83.56 kB / 1.548 GB, free: 1.938 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00641/1.419, allocations: 1.907 MB / 1.55 GB, free: 20 kB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.0151/1.434, allocations: 3.864 MB / 1.554 GB, free: 12.14 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01387/1.448, allocations: 4.323 MB / 1.558 GB, free: 7.852 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.9569/2.405, allocations: 11.7 MB / 1.57 GB, free: 90.31 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007858/2.413, allocations: 4.172 MB / 1.574 GB, free: 89.93 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/2.424, allocations: 4.545 MB / 1.578 GB, free: 89.93 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009053/2.433, allocations: 3.993 MB / 1.582 GB, free: 89.92 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.004225/2.437, allocations: 1.082 MB / 1.583 GB, free: 89.92 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/2.451, allocations: 4.962 MB / 1.588 GB, free: 89.92 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005724/2.456, allocations: 3.325 MB / 1.591 GB, free: 89.68 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01023/2.467, allocations: 5.032 MB / 1.596 GB, free: 88.47 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03091/2.498, allocations: 21.94 MB / 1.617 GB, free: 86.96 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/2.498, allocations: 1 kB / 1.617 GB, free: 86.96 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.304e-06/2.498, allocations: 0 / 1.617 GB, free: 86.96 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0005381/2.498, allocations: 0.5156 kB / 1.617 GB, free: 86.96 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.03684/2.535, allocations: 10.05 MB / 1.627 GB, free: 82.57 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/2.535, allocations: 14.44 kB / 1.627 GB, free: 82.57 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04008/2.575, allocations: 4.466 MB / 1.632 GB, free: 82.14 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02479/2.6, allocations: 9.308 MB / 1.641 GB, free: 80.68 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/2.601, allocations: 0.5232 MB / 1.641 GB, free: 80.45 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/2.603, allocations: 223.2 kB / 1.641 GB, free: 80.45 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/2.623, allocations: 8.31 MB / 1.65 GB, free: 78.97 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/2.623, allocations: 3.984 kB / 1.65 GB, free: 78.96 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000759/2.624, allocations: 87.38 kB / 1.65 GB, free: 78.96 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-05/2.624, allocations: 72.58 kB / 1.65 GB, free: 78.96 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02946/2.653, allocations: 11.48 MB / 1.661 GB, free: 76.33 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.07087/2.724, allocations: 33.31 MB / 1.693 GB, free: 51.01 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02862/2.753, allocations: 9.328 MB / 1.703 GB, free: 41.67 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01212/2.765, allocations: 5.226 MB / 1.708 GB, free: 36.44 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009489/2.766, allocations: 1.352 MB / 1.709 GB, free: 34.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01519/2.781, allocations: 6.806 MB / 1.716 GB, free: 28 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 6.071e-06/2.781, allocations: 4 kB / 1.716 GB, free: 27.99 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.07266/2.854, allocations: 18.28 MB / 1.733 GB, free: 9.672 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/2.854, allocations: 144.8 kB / 1.734 GB, free: 9.504 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03282/2.887, allocations: 14.06 MB / 1.747 GB, free: 11.48 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001983/2.889, allocations: 125.7 kB / 1.747 GB, free: 11.35 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.007106/2.896, allocations: 3.265 MB / 1.751 GB, free: 8.074 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/2.898, allocations: 0.7001 MB / 1.751 GB, free: 7.387 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003011/2.901, allocations: 0.6405 MB / 1.752 GB, free: 6.738 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001197/2.902, allocations: 317.1 kB / 1.752 GB, free: 6.426 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01523/2.917, allocations: 6.325 MB / 1.758 GB, free: 92 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01694/2.934, allocations: 6.759 MB / 1.765 GB, free: 9.238 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4006/3.335, allocations: 147.3 MB / 1.909 GB, free: 5.543 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/3.335, allocations: 0 / 1.909 GB, free: 5.543 MB / 1.451 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.06506/3.4, allocations: 15.09 MB / 1.924 GB, free: 6.395 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002622/3.4, allocations: 138.8 kB / 1.924 GB, free: 6.242 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/3.4, allocations: 4 kB / 1.924 GB, free: 6.238 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007718/3.408, allocations: 1.684 MB / 1.925 GB, free: 4.535 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008282/3.416, allocations: 0.9647 MB / 1.926 GB, free: 3.594 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/3.436, allocations: 14.57 MB / 1.941 GB, free: 4.184 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/3.449, allocations: 0.7939 MB / 1.941 GB, free: 3.387 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/3.451, allocations: 167.8 kB / 1.942 GB, free: 3.223 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.02412/3.475, allocations: 9.601 MB / 1.951 GB, free: 9.609 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01729/3.492, allocations: 6.735 MB / 1.958 GB, free: 2.785 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3938/3.886, allocations: 147.1 MB / 2.101 GB, free: 15.32 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.149e-05/3.886, allocations: 0 / 2.101 GB, free: 15.32 MB / 1.654 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.06125/3.947, allocations: 14.85 MB / 2.116 GB, free: 420 kB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002522/3.948, allocations: 133.1 kB / 2.116 GB, free: 268 kB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/3.948, allocations: 4 kB / 2.116 GB, free: 264 kB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005819/3.953, allocations: 1.5 MB / 2.117 GB, free: 14.74 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007993/3.961, allocations: 0.9608 MB / 2.118 GB, free: 13.8 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/3.976, allocations: 12.72 MB / 2.131 GB, free: 252 kB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01274/3.988, allocations: 0.7556 MB / 2.131 GB, free: 15.48 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/3.99, allocations: 175.5 kB / 2.132 GB, free: 15.32 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.003344/3.994, allocations: 376.6 kB / 2.132 GB, free: 14.96 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005642/3.999, allocations: 0.7406 MB / 2.133 GB, free: 14.21 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05538/4.055, allocations: 12.91 MB / 2.145 GB, free: 1.285 MB / 1.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/4.055, allocations: 20 kB / 2.145 GB, free: 1.266 MB / 1.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/4.055, allocations: 4 kB / 2.145 GB, free: 1.262 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.695e-05/4.055, allocations: 11.95 kB / 2.145 GB, free: 1.25 MB / 1.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09197/4.147, allocations: 26.85 MB / 2.171 GB, free: 6.402 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/4.147, allocations: 4 kB / 2.171 GB, free: 6.398 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007355/4.154, allocations: 0.8458 MB / 2.172 GB, free: 5.57 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/4.157, allocations: 0.6812 MB / 2.173 GB, free: 4.883 MB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001362/4.158, allocations: 115.8 kB / 2.173 GB, free: 4.77 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/4.163, allocations: 3.476 MB / 2.176 GB, free: 1.117 MB / 1.717 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/4.163, allocations: 4 kB / 2.176 GB, free: 1.113 MB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9228/5.086, allocations: 19.97 MB / 2.196 GB, free: 0.7223 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009214/5.095, allocations: 2.714 MB / 2.199 GB, free: 0.721 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004471/5.1, allocations: 185.1 kB / 2.199 GB, free: 0.7209 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01163/5.111, allocations: 0.6618 MB / 2.199 GB, free: 0.7208 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/5.112, allocations: 240.2 kB / 2.2 GB, free: 0.7208 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008132/5.113, allocations: 148.2 kB / 2.2 GB, free: 0.7208 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.02297/5.136, allocations: 10.06 MB / 2.21 GB, free: 0.717 GB / 1.717 GB Notification: Performance of sort global known variables: time 7.31e-07/5.136, allocations: 0 / 2.21 GB, free: 0.717 GB / 1.717 GB Notification: Performance of remove unused functions: time 0.01735/5.154, allocations: 2.606 MB / 2.212 GB, free: 0.7168 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.003623/5.157, allocations: 0.9922 MB / 2.213 GB, free: 0.7166 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.04942/5.207, allocations: 21.49 MB / 2.234 GB, free: 0.7053 GB / 1.717 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/5.207, allocations: 0.5625 kB / 2.234 GB, free: 0.7053 GB / 1.717 GB Notification: Performance of simCode: created simulation system equations: time 0.01494/5.222, allocations: 5.678 MB / 2.24 GB, free: 0.7006 GB / 1.717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01914/5.241, allocations: 2.56 MB / 2.242 GB, free: 0.6987 GB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05233/5.293, allocations: 20.58 MB / 2.262 GB, free: 0.6811 GB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007669/5.301, allocations: 5.305 MB / 2.267 GB, free: 0.677 GB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005608/5.307, allocations: 0.6236 MB / 2.268 GB, free: 0.6765 GB / 1.717 GB Notification: Performance of SimCode: time 1.443e-06/5.307, allocations: 4 kB / 2.268 GB, free: 0.6765 GB / 1.717 GB Notification: Performance of Templates: time 0.4452/5.752, allocations: 432.4 MB / 2.69 GB, free: 261.2 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