Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSpeDX.eva.vol.T|mulSpeDX.sta_a1.T|mulSpeDX.sta_a2.T|mulSpeDX.sta_b2.T|mulSpeDX.sta_a1.X.1.|mulSpeDX.eva.vol.X_w|mulSpeDX.eva.dxCoo.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoo.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSpeDX.eva.vol.T|mulSpeDX.sta_a1.T|mulSpeDX.sta_a2.T|mulSpeDX.sta_b2.T|mulSpeDX.sta_a1.X.1.|mulSpeDX.eva.vol.X_w|mulSpeDX.eva.dxCoo.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoo.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 108.6 kB / 16.41 MB, free: 6.453 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.001767/0.001767, allocations: 189.7 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9783/0.9798, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage): time 0.3694/1.349, allocations: 303.8 MB / 1.385 GB, free: 13.4 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04611/1.395, allocations: 28.85 MB / 1.414 GB, free: 480 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00607/1.401, allocations: 83.56 kB / 1.414 GB, free: 396 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006112/1.408, allocations: 1.849 MB / 1.415 GB, free: 14.53 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01436/1.422, allocations: 3.814 MB / 1.419 GB, free: 10.7 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01299/1.435, allocations: 4.294 MB / 1.423 GB, free: 6.434 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01624/1.451, allocations: 11.49 MB / 1.435 GB, free: 10.94 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006856/1.458, allocations: 4.094 MB / 1.439 GB, free: 6.777 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/1.47, allocations: 4.467 MB / 1.443 GB, free: 2.312 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009638/1.479, allocations: 3.913 MB / 1.447 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.003948/1.483, allocations: 1.066 MB / 1.448 GB, free: 13.32 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/1.495, allocations: 4.945 MB / 1.453 GB, free: 8.371 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004431/1.499, allocations: 3.243 MB / 1.456 GB, free: 5.121 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.01085/1.51, allocations: 4.894 MB / 1.461 GB, free: 212 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0299/1.54, allocations: 21.48 MB / 1.482 GB, free: 10.67 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.54, allocations: 0 / 1.482 GB, free: 10.67 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.124e-06/1.54, allocations: 3.938 kB / 1.482 GB, free: 10.66 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0004692/1.541, allocations: 4 kB / 1.482 GB, free: 10.66 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.0386/1.579, allocations: 9.738 MB / 1.491 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.58, allocations: 8.031 kB / 1.491 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04135/1.621, allocations: 4.43 MB / 1.495 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02469/1.646, allocations: 8.802 MB / 1.504 GB, free: 3.41 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001451/1.647, allocations: 0.5196 MB / 1.504 GB, free: 2.844 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/1.649, allocations: 220 kB / 1.505 GB, free: 2.629 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02515/1.674, allocations: 8.265 MB / 1.513 GB, free: 10.32 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.71e-05/1.674, allocations: 3.984 kB / 1.513 GB, free: 10.31 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001548/1.676, allocations: 87.98 kB / 1.513 GB, free: 10.23 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.676, allocations: 79.73 kB / 1.513 GB, free: 10.15 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03392/1.71, allocations: 11.46 MB / 1.524 GB, free: 14.68 MB / 1.264 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.07944/1.789, allocations: 33.09 MB / 1.556 GB, free: 13.23 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03304/1.822, allocations: 9.34 MB / 1.566 GB, free: 3.852 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01464/1.837, allocations: 5.227 MB / 1.571 GB, free: 14.62 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/1.839, allocations: 1.352 MB / 1.572 GB, free: 12.98 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01834/1.857, allocations: 6.81 MB / 1.579 GB, free: 6.152 MB / 1.311 GB Notification: Performance of pre-optimization done (n=220): time 6.051e-06/1.857, allocations: 0 / 1.579 GB, free: 6.152 MB / 1.311 GB Notification: Performance of matching and sorting (n=220): time 0.8081/2.665, allocations: 18.32 MB / 1.597 GB, free: 430.3 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/2.665, allocations: 147.8 kB / 1.597 GB, free: 430.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03298/2.698, allocations: 13.77 MB / 1.61 GB, free: 425.2 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001798/2.7, allocations: 120.8 kB / 1.61 GB, free: 425.1 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.00618/2.706, allocations: 3.135 MB / 1.613 GB, free: 422.8 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001911/2.708, allocations: 0.7016 MB / 1.614 GB, free: 422.4 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00444/2.713, allocations: 0.6365 MB / 1.615 GB, free: 422.2 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.953e-05/2.713, allocations: 303 kB / 1.615 GB, free: 421.9 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01693/2.73, allocations: 6.327 MB / 1.621 GB, free: 419.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01859/2.748, allocations: 6.77 MB / 1.628 GB, free: 416.6 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3839/3.132, allocations: 147.4 MB / 1.772 GB, free: 296.9 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/3.133, allocations: 0 / 1.772 GB, free: 296.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.05803/3.191, allocations: 15.09 MB / 1.786 GB, free: 281.7 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/3.191, allocations: 145 kB / 1.786 GB, free: 281.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/3.191, allocations: 0 / 1.786 GB, free: 281.6 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006642/3.198, allocations: 1.716 MB / 1.788 GB, free: 279.8 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007824/3.205, allocations: 0.9633 MB / 1.789 GB, free: 278.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/3.221, allocations: 14.66 MB / 1.803 GB, free: 263.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/3.233, allocations: 0.7976 MB / 1.804 GB, free: 262.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/3.234, allocations: 171.7 kB / 1.804 GB, free: 262.4 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: mulSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02156/3.256, allocations: 9.53 MB / 1.814 GB, free: 252.8 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01495/3.271, allocations: 6.746 MB / 1.82 GB, free: 246 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3651/3.636, allocations: 147.1 MB / 1.964 GB, free: 98.5 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.366e-05/3.636, allocations: 0 / 1.964 GB, free: 98.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.05751/3.694, allocations: 14.88 MB / 1.978 GB, free: 83.52 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/3.694, allocations: 139.7 kB / 1.979 GB, free: 83.37 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/3.694, allocations: 8 kB / 1.979 GB, free: 83.36 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005312/3.699, allocations: 1.521 MB / 1.98 GB, free: 81.81 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007717/3.707, allocations: 0.9593 MB / 1.981 GB, free: 80.85 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/3.719, allocations: 12.8 MB / 1.993 GB, free: 67.15 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/3.731, allocations: 0.7594 MB / 1.994 GB, free: 66.39 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/3.733, allocations: 167.8 kB / 1.994 GB, free: 66.22 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: mulSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 60 (mulSpeDX.eva.i_x,$PRE.speRat.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mulSpeDX.eva.eva.off,$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.combiTimeTable.nextTimeEventScaled,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEvent,mulSpeDX.eva.eva.off,mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage,mulSpeDX.eva.dxCoo.wetCoi.shr.on,mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(8,3), (1,1), (1,2), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002653/3.735, allocations: 381.6 kB / 1.995 GB, free: 65.84 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004278/3.74, allocations: 0.7175 MB / 1.995 GB, free: 65.11 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04928/3.789, allocations: 12.91 MB / 2.008 GB, free: 52.18 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.191e-05/3.789, allocations: 24 kB / 2.008 GB, free: 52.16 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/3.789, allocations: 0 / 2.008 GB, free: 52.16 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-05/3.789, allocations: 11.91 kB / 2.008 GB, free: 52.14 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07635/3.865, allocations: 26.79 MB / 2.034 GB, free: 25.32 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/3.866, allocations: 384 / 2.034 GB, free: 25.32 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006701/3.872, allocations: 0.8463 MB / 2.035 GB, free: 24.47 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/3.874, allocations: 0.7127 MB / 2.036 GB, free: 23.75 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001045/3.875, allocations: 119.8 kB / 2.036 GB, free: 23.63 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004597/3.88, allocations: 3.543 MB / 2.039 GB, free: 19.89 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/3.88, allocations: 4 kB / 2.039 GB, free: 19.89 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06298/3.943, allocations: 19.99 MB / 2.059 GB, free: 15.82 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008982/3.952, allocations: 2.69 MB / 2.061 GB, free: 13.11 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004571/3.957, allocations: 188.1 kB / 2.062 GB, free: 12.92 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01113/3.968, allocations: 0.6514 MB / 2.062 GB, free: 12.27 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/3.969, allocations: 253.7 kB / 2.063 GB, free: 12.02 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001148/3.97, allocations: 147.8 kB / 2.063 GB, free: 11.88 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.0269/3.997, allocations: 9.864 MB / 2.072 GB, free: 2.039 MB / 1.326 GB Notification: Performance of sort global known variables: time 9.92e-07/3.997, allocations: 0 / 2.072 GB, free: 2.039 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.01951/4.017, allocations: 2.564 MB / 2.075 GB, free: 15.5 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (mulSpeDX.eva.eva.m) * Number of discrete variables: 40 ($whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage,mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoo.wetCoi.shr.on,mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage,mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulSpeDX.eva.eva.off,speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 9 (speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled,mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage,mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage],mulSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[mulSpeDX.eva.dxCoo.wetCoi.cooCap.stage],mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage,mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage],mulSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[mulSpeDX.eva.dxCoo.dryCoi.cooCap.stage],mulSpeDX.eva.eva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(8,3), (1,1), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004054/4.021, allocations: 1.01 MB / 2.076 GB, free: 14.76 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.7822/4.803, allocations: 21.66 MB / 2.097 GB, free: 456.4 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/4.803, allocations: 1.781 kB / 2.097 GB, free: 456.4 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.01794/4.821, allocations: 5.751 MB / 2.103 GB, free: 454.3 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01456/4.836, allocations: 2.397 MB / 2.105 GB, free: 453.7 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07369/4.909, allocations: 20.17 MB / 2.125 GB, free: 445.3 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01167/4.921, allocations: 5.184 MB / 2.13 GB, free: 443.1 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006782/4.928, allocations: 0.6096 MB / 2.13 GB, free: 443 MB / 1.342 GB Notification: Performance of SimCode: time 1.543e-06/4.928, allocations: 0 / 2.13 GB, free: 443 MB / 1.342 GB Notification: Performance of Templates: time 0.4368/5.365, allocations: 421.3 MB / 2.542 GB, free: 54 MB / 1.342 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage.makefile clang++ -std=c++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_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:3780:14: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_wetCoi_P_appDewPt_P_uacpmulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage__P_UAcp_' tmp382 = mulSpeDX_P_eva_P_dxCoo_P_wetCoi_P_appDewPt_P_uacpmulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage__P_UAcp_; ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4540:140: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4540:231: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4540:66: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4546:69: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4546:143: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4546:214: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4552:140: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4552:231: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4552:66: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4558:69: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4558:143: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4558:214: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4543:7: warning: expression result unused [-Wunused-value] tmp427; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4549:7: warning: expression result unused [-Wunused-value] tmp430; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4555:7: warning: expression result unused [-Wunused-value] tmp433; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4561:7: warning: expression result unused [-Wunused-value] tmp436; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4640:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4649:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4658:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition4_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 3) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4667:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition2_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 4) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4706:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageInitialize.cpp:4715:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoo_P_dryCoi_P_cooCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStageCalcHelperMain.o] Error 1