Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.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.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoo.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoo.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoo.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoo.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001199, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001136/0.001136, allocations: 189.5 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 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9053/0.9068, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage): time 0.2443/1.151, allocations: 205.5 MB / 1.289 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02867/1.18, allocations: 21.22 MB / 1.31 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/1.183, allocations: 47.75 kB / 1.31 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004043/1.187, allocations: 1.247 MB / 1.311 GB, free: 9.516 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008088/1.195, allocations: 2.652 MB / 1.314 GB, free: 6.852 MB / 1.045 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.008981/1.204, allocations: 3.48 MB / 1.317 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01019/1.215, allocations: 8.3 MB / 1.325 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004687/1.219, allocations: 2.964 MB / 1.328 GB, free: 8.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00682/1.226, allocations: 3.08 MB / 1.331 GB, free: 4.992 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005557/1.232, allocations: 2.844 MB / 1.334 GB, free: 2.145 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002316/1.234, allocations: 0.7578 MB / 1.335 GB, free: 1.387 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009087/1.243, allocations: 4.048 MB / 1.339 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003231/1.246, allocations: 2.381 MB / 1.341 GB, free: 10.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006168/1.253, allocations: 3.563 MB / 1.345 GB, free: 7.367 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02025/1.273, allocations: 15.27 MB / 1.359 GB, free: 8.051 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.273, allocations: 0 / 1.359 GB, free: 8.051 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.034e-06/1.273, allocations: 0 / 1.359 GB, free: 8.051 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002829/1.273, allocations: 4 kB / 1.359 GB, free: 8.047 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.02148/1.295, allocations: 7.254 MB / 1.367 GB, free: 0.668 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.295, allocations: 8.031 kB / 1.367 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03312/1.328, allocations: 3.574 MB / 1.37 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/1.343, allocations: 6.352 MB / 1.376 GB, free: 6.637 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007331/1.344, allocations: 447.2 kB / 1.377 GB, free: 6.156 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008748/1.345, allocations: 171.9 kB / 1.377 GB, free: 5.988 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/1.361, allocations: 6.437 MB / 1.383 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/1.361, allocations: 0 / 1.383 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004667/1.362, allocations: 63.98 kB / 1.383 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/1.362, allocations: 54.94 kB / 1.383 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/1.385, allocations: 8.595 MB / 1.392 GB, free: 6.785 MB / 1.123 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.05163/1.437, allocations: 23.91 MB / 1.415 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02833/1.465, allocations: 8.425 MB / 1.423 GB, free: 6.203 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01102/1.476, allocations: 4.015 MB / 1.427 GB, free: 2.188 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009081/1.477, allocations: 0.7693 MB / 1.428 GB, free: 1.254 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01352/1.491, allocations: 5.376 MB / 1.433 GB, free: 11.87 MB / 1.17 GB Notification: Performance of pre-optimization done (n=186): time 7.714e-06/1.491, allocations: 0 / 1.433 GB, free: 11.87 MB / 1.17 GB Notification: Performance of matching and sorting (n=188): time 0.08929/1.58, allocations: 21.91 MB / 1.455 GB, free: 5.82 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.58, allocations: 152.8 kB / 1.455 GB, free: 5.645 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02354/1.604, allocations: 10.04 MB / 1.464 GB, free: 11.6 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001343/1.605, allocations: 113.7 kB / 1.465 GB, free: 11.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.004632/1.61, allocations: 2.225 MB / 1.467 GB, free: 9.246 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.611, allocations: 0.597 MB / 1.467 GB, free: 8.641 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002985/1.614, allocations: 0.5382 MB / 1.468 GB, free: 8.098 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.615, allocations: 305.1 kB / 1.468 GB, free: 7.797 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/1.627, allocations: 4.987 MB / 1.473 GB, free: 2.797 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/1.64, allocations: 5.168 MB / 1.478 GB, free: 13.57 MB / 1.217 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 1.032/2.673, allocations: 141.2 MB / 1.616 GB, free: 434.8 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/2.673, allocations: 1.344 kB / 1.616 GB, free: 434.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.04612/2.719, allocations: 12.12 MB / 1.628 GB, free: 429 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/2.719, allocations: 140.5 kB / 1.628 GB, free: 428.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/2.719, allocations: 1.312 kB / 1.628 GB, free: 428.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00625/2.725, allocations: 1.504 MB / 1.629 GB, free: 428.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005927/2.731, allocations: 0.7762 MB / 1.63 GB, free: 427.8 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/2.745, allocations: 13.95 MB / 1.644 GB, free: 415.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008518/2.754, allocations: 0.5202 MB / 1.644 GB, free: 414.9 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/2.755, allocations: 143.5 kB / 1.644 GB, free: 414.8 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: mulStaDX.eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: mulStaDX.vol.dynBal.medium.p = mulStaDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01633/2.772, allocations: 7.236 MB / 1.651 GB, free: 410.8 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01212/2.784, allocations: 5.139 MB / 1.656 GB, free: 408 MB / 1.311 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3185/3.102, allocations: 141 MB / 1.794 GB, free: 276.7 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/3.102, allocations: 7.938 kB / 1.794 GB, free: 276.7 MB / 1.311 GB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.04197/3.144, allocations: 11.9 MB / 1.806 GB, free: 265 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/3.144, allocations: 137.1 kB / 1.806 GB, free: 264.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/3.145, allocations: 4.094 kB / 1.806 GB, free: 264.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/3.149, allocations: 1.322 MB / 1.807 GB, free: 263.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005716/3.155, allocations: 0.7682 MB / 1.808 GB, free: 262.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009855/3.165, allocations: 12.24 MB / 1.82 GB, free: 249.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009311/3.174, allocations: 0.5267 MB / 1.82 GB, free: 249.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/3.176, allocations: 139.8 kB / 1.821 GB, free: 249 MB / 1.311 GB Warning: Assuming fixed start value for the following 1 variables: mulStaDX.eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: mulStaDX.vol.dynBal.medium.p = mulStaDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 60 (mulStaDX.i_x,$PRE.speRat.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mulStaDX.eva.off,$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.combiTimeTable.nextTimeEventScaled,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEvent,mulStaDX.eva.off,mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.dryCoi.cooCap.stage,mulStaDX.dxCoo.wetCoi.shr.on,mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulStaDX.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 (226): * Single equations (assignments): 214 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems 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): 7 systems {(1,1), (1,2), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00175/3.178, allocations: 353.3 kB / 1.821 GB, free: 248.7 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003064/3.181, allocations: 0.5362 MB / 1.821 GB, free: 248.2 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0393/3.22, allocations: 9.973 MB / 1.831 GB, free: 238.2 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/3.22, allocations: 23.94 kB / 1.831 GB, free: 238.2 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/3.22, allocations: 11.92 kB / 1.831 GB, free: 238.2 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03528/3.255, allocations: 9.062 MB / 1.84 GB, free: 229.1 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05284/3.308, allocations: 20.16 MB / 1.86 GB, free: 208.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/3.308, allocations: 4 kB / 1.86 GB, free: 208.8 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005254/3.314, allocations: 0.7061 MB / 1.86 GB, free: 208.1 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/3.315, allocations: 470 kB / 1.861 GB, free: 207.7 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007674/3.316, allocations: 107.8 kB / 1.861 GB, free: 207.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/3.319, allocations: 3.296 MB / 1.864 GB, free: 204.1 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/3.319, allocations: 4 kB / 1.864 GB, free: 204.1 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04841/3.368, allocations: 15.35 MB / 1.879 GB, free: 188.6 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005401/3.373, allocations: 1.99 MB / 1.881 GB, free: 186.6 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002761/3.376, allocations: 163.9 kB / 1.881 GB, free: 186.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008559/3.384, allocations: 0.5305 MB / 1.882 GB, free: 185.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008042/3.385, allocations: 193.7 kB / 1.882 GB, free: 185.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006415/3.386, allocations: 123.8 kB / 1.882 GB, free: 185.6 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01374/3.4, allocations: 7.132 MB / 1.889 GB, free: 178.5 MB / 1.311 GB Notification: Performance of sort global known variables: time 5.11e-07/3.4, allocations: 0 / 1.889 GB, free: 178.5 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.01198/3.412, allocations: 1.878 MB / 1.891 GB, free: 176.6 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (mulStaDX.vol.dynBal.medium.Xi[1],mulStaDX.vol.dynBal.U,mulStaDX.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,mulStaDX.dxCoo.wetCoi.cooCap.stage,mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],mulStaDX.dxCoo.wetCoi.shr.on,mulStaDX.dxCoo.dryCoi.cooCap.stage,mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],mulStaDX.eva.off,speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 9 (speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled,mulStaDX.dxCoo.wetCoi.cooCap.stage,mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[mulStaDX.dxCoo.wetCoi.cooCap.stage],mulStaDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[mulStaDX.dxCoo.wetCoi.cooCap.stage],mulStaDX.dxCoo.dryCoi.cooCap.stage,mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[mulStaDX.dxCoo.dryCoi.cooCap.stage],mulStaDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[mulStaDX.dxCoo.dryCoi.cooCap.stage],mulStaDX.eva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003139/3.415, allocations: 0.8265 MB / 1.892 GB, free: 176 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.03921/3.454, allocations: 17.4 MB / 1.909 GB, free: 158.4 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/3.454, allocations: 8.75 kB / 1.909 GB, free: 158.4 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01147/3.466, allocations: 4.397 MB / 1.913 GB, free: 154 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/3.477, allocations: 1.814 MB / 1.915 GB, free: 152.2 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03852/3.515, allocations: 15.03 MB / 1.929 GB, free: 137.2 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003404/3.519, allocations: 3.916 MB / 1.933 GB, free: 133.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003559/3.522, allocations: 483 kB / 1.934 GB, free: 132.8 MB / 1.311 GB Notification: Performance of SimCode: time 1.222e-06/3.522, allocations: 0 / 1.934 GB, free: 132.8 MB / 1.311 GB Notification: Performance of Templates: time 0.9248/4.447, allocations: 297.3 MB / 2.224 GB, free: 383.1 MB / 1.342 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.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.AirCooled.Examples.MultiStageCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:2958:14: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_wetCoi_P_appDewPt_P_uacpmulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage__P_UAcp_' tmp285 = mulStaDX_P_dxCoo_P_wetCoi_P_appDewPt_P_uacpmulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage__P_UAcp_; ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3746:134: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3746:219: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3746:66: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3752:69: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3752:137: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3752:202: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3758:134: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3758:219: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3758:66: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3764:69: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3764:137: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3764:202: error: use of undeclared identifier 'mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3749:7: warning: expression result unused [-Wunused-value] tmp322; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3755:7: warning: expression result unused [-Wunused-value] tmp325; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3761:7: warning: expression result unused [-Wunused-value] tmp328; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3767:7: warning: expression result unused [-Wunused-value] tmp331; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3846:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulStaDX_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.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3855:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulStaDX_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.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3864:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition5_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 3) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulStaDX_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.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3873:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition3_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 4) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_mulStaDX_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.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3912:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulStaDX_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.AirCooled.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStageInitialize.cpp:3921:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_mulStaDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_mulStaDX_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.AirCooled.Examples.MultiStageCalcHelperMain.o] Error 1