Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.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_10_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_10_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.001215/0.001215, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001259/0.001259, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.97/0.9715, allocations: 151.7 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage): time 0.3338/1.305, allocations: 306.1 MB / 1.466 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04153/1.347, allocations: 29.05 MB / 1.495 GB, free: 3.535 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005479/1.352, allocations: 83.56 kB / 1.495 GB, free: 3.453 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006032/1.359, allocations: 1.903 MB / 1.497 GB, free: 1.539 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01245/1.371, allocations: 3.862 MB / 1.5 GB, free: 13.66 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01171/1.383, allocations: 4.327 MB / 1.505 GB, free: 9.371 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01575/1.399, allocations: 11.72 MB / 1.516 GB, free: 13.63 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006928/1.406, allocations: 4.166 MB / 1.52 GB, free: 9.402 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/1.416, allocations: 4.557 MB / 1.524 GB, free: 4.844 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008259/1.424, allocations: 3.998 MB / 1.528 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.005081/1.429, allocations: 1.082 MB / 1.529 GB, free: 15.75 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01465/1.444, allocations: 4.956 MB / 1.534 GB, free: 10.79 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.005322/1.449, allocations: 3.328 MB / 1.538 GB, free: 7.457 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.01064/1.46, allocations: 5.026 MB / 1.542 GB, free: 2.41 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 1.086/2.546, allocations: 21.93 MB / 1.564 GB, free: 116.2 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/2.546, allocations: 0.5 kB / 1.564 GB, free: 116.2 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.747e-06/2.546, allocations: 0.7812 kB / 1.564 GB, free: 116.2 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004967/2.546, allocations: 1.594 kB / 1.564 GB, free: 116.2 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.04528/2.592, allocations: 10.05 MB / 1.574 GB, free: 112.1 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/2.592, allocations: 11.08 kB / 1.574 GB, free: 112.1 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04245/2.634, allocations: 4.468 MB / 1.578 GB, free: 111.7 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02588/2.66, allocations: 9.306 MB / 1.587 GB, free: 110.2 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001718/2.662, allocations: 0.5231 MB / 1.588 GB, free: 110 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/2.664, allocations: 218.8 kB / 1.588 GB, free: 110 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02362/2.688, allocations: 8.315 MB / 1.596 GB, free: 109.8 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-05/2.688, allocations: 0 / 1.596 GB, free: 109.8 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001741/2.69, allocations: 83.92 kB / 1.596 GB, free: 109.8 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/2.69, allocations: 74.33 kB / 1.596 GB, free: 109.8 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03125/2.721, allocations: 11.48 MB / 1.607 GB, free: 109.8 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.07493/2.796, allocations: 33.31 MB / 1.64 GB, free: 106.9 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03038/2.827, allocations: 9.326 MB / 1.649 GB, free: 103.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01222/2.839, allocations: 5.23 MB / 1.654 GB, free: 101.4 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/2.84, allocations: 1.355 MB / 1.655 GB, free: 99.86 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01633/2.856, allocations: 6.797 MB / 1.662 GB, free: 96.04 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 1.742e-05/2.856, allocations: 0 / 1.662 GB, free: 96.04 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.07445/2.931, allocations: 18.28 MB / 1.68 GB, free: 80.84 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/2.931, allocations: 146 kB / 1.68 GB, free: 80.68 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03245/2.963, allocations: 14.06 MB / 1.694 GB, free: 66.64 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002364/2.966, allocations: 125.2 kB / 1.694 GB, free: 66.52 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005839/2.972, allocations: 3.269 MB / 1.697 GB, free: 63.24 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/2.974, allocations: 0.7014 MB / 1.698 GB, free: 62.55 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005104/2.979, allocations: 0.6406 MB / 1.698 GB, free: 61.91 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.927e-05/2.979, allocations: 307.6 kB / 1.699 GB, free: 61.61 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01394/2.993, allocations: 6.327 MB / 1.705 GB, free: 55.27 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0148/3.008, allocations: 6.763 MB / 1.711 GB, free: 48.42 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3884/3.396, allocations: 147.3 MB / 1.855 GB, free: 12.74 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/3.396, allocations: 0 / 1.855 GB, free: 12.74 MB / 1.389 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0607/3.457, allocations: 15.07 MB / 1.87 GB, free: 13.62 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002498/3.457, allocations: 137.1 kB / 1.87 GB, free: 13.46 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/3.457, allocations: 320 / 1.87 GB, free: 13.46 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007132/3.464, allocations: 1.687 MB / 1.872 GB, free: 11.75 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008096/3.472, allocations: 0.9728 MB / 1.873 GB, free: 10.8 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/3.492, allocations: 14.57 MB / 1.887 GB, free: 11.41 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01315/3.505, allocations: 0.7912 MB / 1.888 GB, free: 10.62 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/3.507, allocations: 174.7 kB / 1.888 GB, free: 10.45 MB / 1.42 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.02495/3.532, allocations: 9.598 MB / 1.897 GB, free: 0.8398 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01711/3.549, allocations: 6.734 MB / 1.904 GB, free: 10.02 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3974/3.947, allocations: 147.1 MB / 2.048 GB, free: 6.566 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.581e-05/3.947, allocations: 0 / 2.048 GB, free: 6.566 MB / 1.576 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.06312/4.01, allocations: 14.86 MB / 2.062 GB, free: 7.656 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/4.01, allocations: 137.1 kB / 2.062 GB, free: 7.504 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/4.01, allocations: 4 kB / 2.062 GB, free: 7.5 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005802/4.016, allocations: 1.492 MB / 2.064 GB, free: 5.988 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008238/4.024, allocations: 0.9649 MB / 2.065 GB, free: 5.047 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/4.039, allocations: 12.73 MB / 2.077 GB, free: 7.488 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/4.052, allocations: 0.7567 MB / 2.078 GB, free: 6.73 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/4.054, allocations: 163.8 kB / 2.078 GB, free: 6.57 MB / 1.607 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.003785/4.058, allocations: 377.5 kB / 2.078 GB, free: 6.215 MB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005817/4.064, allocations: 0.7445 MB / 2.079 GB, free: 5.461 MB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0596/4.124, allocations: 12.91 MB / 2.092 GB, free: 8.539 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/4.124, allocations: 27.98 kB / 2.092 GB, free: 8.512 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/4.124, allocations: 0 / 2.092 GB, free: 8.512 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.432e-05/4.124, allocations: 11.91 kB / 2.092 GB, free: 8.5 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08625/4.21, allocations: 26.86 MB / 2.118 GB, free: 13.67 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/4.21, allocations: 0 / 2.118 GB, free: 13.67 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007023/4.217, allocations: 0.8574 MB / 2.119 GB, free: 12.83 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/4.219, allocations: 0.6691 MB / 2.119 GB, free: 12.15 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/4.221, allocations: 123.8 kB / 2.12 GB, free: 12.03 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004809/4.226, allocations: 3.45 MB / 2.123 GB, free: 8.395 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/4.226, allocations: 3.188 kB / 2.123 GB, free: 8.395 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07229/4.298, allocations: 19.99 MB / 2.142 GB, free: 4.355 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01126/4.309, allocations: 2.713 MB / 2.145 GB, free: 1.613 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005264/4.314, allocations: 187.9 kB / 2.145 GB, free: 1.43 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01254/4.327, allocations: 0.6553 MB / 2.146 GB, free: 0.7734 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001447/4.329, allocations: 249 kB / 2.146 GB, free: 0.5352 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001548/4.33, allocations: 139.8 kB / 2.146 GB, free: 408 kB / 1.67 GB Notification: Performance of sorting global known variables: time 0.02869/4.359, allocations: 10.06 MB / 2.156 GB, free: 6.367 MB / 1.686 GB Notification: Performance of sort global known variables: time 5.61e-07/4.359, allocations: 0 / 2.156 GB, free: 6.367 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.01932/4.378, allocations: 2.612 MB / 2.159 GB, free: 3.754 MB / 1.686 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.004195/4.382, allocations: 0.9965 MB / 2.16 GB, free: 3.008 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.7507/5.133, allocations: 21.48 MB / 2.181 GB, free: 0.7516 GB / 1.686 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/5.133, allocations: 0.5625 kB / 2.181 GB, free: 0.7516 GB / 1.686 GB Notification: Performance of simCode: created simulation system equations: time 0.01508/5.148, allocations: 5.673 MB / 2.186 GB, free: 0.7496 GB / 1.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01714/5.166, allocations: 2.561 MB / 2.189 GB, free: 0.7489 GB / 1.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05889/5.224, allocations: 20.57 MB / 2.209 GB, free: 0.7317 GB / 1.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009285/5.234, allocations: 5.303 MB / 2.214 GB, free: 0.7265 GB / 1.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006636/5.24, allocations: 0.62 MB / 2.214 GB, free: 0.7259 GB / 1.686 GB Notification: Performance of SimCode: time 1.162e-06/5.24, allocations: 0 / 2.214 GB, free: 0.7259 GB / 1.686 GB Notification: Performance of Templates: time 0.3895/5.63, allocations: 432.4 MB / 2.637 GB, free: 311 MB / 1.686 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage.makefile make -j1 -f Buildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4546:7: warning: expression result unused [-Wunused-value] tmp427; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4552:7: warning: expression result unused [-Wunused-value] tmp430; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4558:7: warning: expression result unused [-Wunused-value] tmp433; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4564:7: warning: expression result unused [-Wunused-value] tmp436; ^~~~~~ ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.o] Error 1