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.001521/0.001521, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001734/0.001734, allocations: 187 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.08 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.31/2.31, allocations: 390.3 MB / 0.6655 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 0.9516 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8911/0.8931, allocations: 140.4 MB / 1.089 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage): time 0.251/1.144, allocations: 205.4 MB / 1.289 GB, free: 116 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03409/1.178, allocations: 21.21 MB / 1.31 GB, free: 10.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/1.182, allocations: 51.75 kB / 1.31 GB, free: 10.78 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00422/1.186, allocations: 1.247 MB / 1.311 GB, free: 9.523 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008972/1.195, allocations: 2.652 MB / 1.314 GB, free: 6.859 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.01007/1.205, allocations: 3.495 MB / 1.317 GB, free: 3.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01078/1.216, allocations: 8.305 MB / 1.325 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005616/1.222, allocations: 2.952 MB / 1.328 GB, free: 8.074 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007173/1.229, allocations: 3.08 MB / 1.331 GB, free: 4.996 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005401/1.234, allocations: 2.844 MB / 1.334 GB, free: 2.148 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002192/1.237, allocations: 0.75 MB / 1.335 GB, free: 1.398 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/1.247, allocations: 4.048 MB / 1.339 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004406/1.251, allocations: 2.389 MB / 1.341 GB, free: 10.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01036/1.262, allocations: 3.563 MB / 1.345 GB, free: 7.371 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.03045/1.292, allocations: 15.28 MB / 1.359 GB, free: 8.047 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.292, allocations: 0 / 1.359 GB, free: 8.047 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.334e-06/1.292, allocations: 0 / 1.359 GB, free: 8.047 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003342/1.293, allocations: 0 / 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.03345/1.326, allocations: 7.25 MB / 1.367 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.326, allocations: 12.03 kB / 1.367 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03484/1.361, allocations: 3.57 MB / 1.37 GB, free: 13.08 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/1.377, allocations: 6.352 MB / 1.376 GB, free: 6.641 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009552/1.378, allocations: 443.2 kB / 1.377 GB, free: 6.164 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/1.379, allocations: 183.9 kB / 1.377 GB, free: 5.984 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/1.397, allocations: 6.429 MB / 1.383 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.406e-05/1.397, allocations: 0 / 1.383 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009938/1.398, allocations: 67.98 kB / 1.383 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.492e-05/1.398, allocations: 54.94 kB / 1.383 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02563/1.424, allocations: 8.591 MB / 1.392 GB, free: 6.789 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.05422/1.478, allocations: 23.91 MB / 1.415 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02942/1.508, allocations: 8.429 MB / 1.423 GB, free: 6.211 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01152/1.519, allocations: 4.009 MB / 1.427 GB, free: 2.199 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008946/1.52, allocations: 0.7733 MB / 1.428 GB, free: 1.258 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01429/1.535, allocations: 5.377 MB / 1.433 GB, free: 11.87 MB / 1.17 GB Notification: Performance of pre-optimization done (n=186): time 7.835e-06/1.535, allocations: 3.938 kB / 1.433 GB, free: 11.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=188): time 0.09214/1.627, allocations: 21.91 MB / 1.455 GB, free: 5.816 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/1.627, allocations: 148.8 kB / 1.455 GB, free: 5.645 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02384/1.651, allocations: 10.04 MB / 1.464 GB, free: 11.59 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001355/1.652, allocations: 113.7 kB / 1.465 GB, free: 11.47 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0042/1.656, allocations: 2.221 MB / 1.467 GB, free: 9.242 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.658, allocations: 0.5893 MB / 1.467 GB, free: 8.645 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003042/1.661, allocations: 0.5382 MB / 1.468 GB, free: 8.102 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.661, allocations: 305.1 kB / 1.468 GB, free: 7.801 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01308/1.674, allocations: 4.991 MB / 1.473 GB, free: 2.797 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01373/1.688, 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.102/2.79, allocations: 141.2 MB / 1.616 GB, free: 434.8 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/2.79, allocations: 1.094 kB / 1.616 GB, free: 434.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.04909/2.839, allocations: 12.11 MB / 1.628 GB, free: 429 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/2.839, allocations: 133.2 kB / 1.628 GB, free: 428.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/2.839, allocations: 1.438 kB / 1.628 GB, free: 428.8 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/2.846, allocations: 1.507 MB / 1.629 GB, free: 428.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006426/2.852, allocations: 0.7827 MB / 1.63 GB, free: 427.8 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/2.867, allocations: 13.95 MB / 1.644 GB, free: 415.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00929/2.876, allocations: 0.5242 MB / 1.644 GB, free: 414.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/2.877, allocations: 139.9 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.0179/2.895, allocations: 7.223 MB / 1.651 GB, free: 410.8 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01315/2.908, allocations: 5.15 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.3372/3.246, allocations: 141 MB / 1.794 GB, free: 276.7 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.077e-06/3.246, allocations: 3.938 kB / 1.794 GB, free: 276.7 MB / 1.311 GB Notification: Performance of matching and sorting (n=260) (initialization_lambda0): time 0.04343/3.289, allocations: 11.89 MB / 1.806 GB, free: 265 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/3.289, allocations: 133.1 kB / 1.806 GB, free: 264.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/3.289, allocations: 4 kB / 1.806 GB, free: 264.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/3.294, allocations: 1.318 MB / 1.807 GB, free: 263.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005973/3.3, allocations: 0.7761 MB / 1.808 GB, free: 262.8 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009569/3.31, allocations: 12.25 MB / 1.82 GB, free: 249.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008525/3.318, allocations: 0.5149 MB / 1.82 GB, free: 249.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/3.319, allocations: 151.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.001262/3.321, allocations: 353.5 kB / 1.821 GB, free: 248.7 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002413/3.323, allocations: 0.5323 MB / 1.821 GB, free: 248.2 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04047/3.364, allocations: 9.977 MB / 1.831 GB, free: 238.2 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/3.364, allocations: 23.94 kB / 1.831 GB, free: 238.2 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/3.364, allocations: 7.938 kB / 1.831 GB, free: 238.2 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03789/3.402, allocations: 9.062 MB / 1.84 GB, free: 229.1 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05468/3.456, allocations: 20.15 MB / 1.86 GB, free: 208.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/3.456, allocations: 7.984 kB / 1.86 GB, free: 208.8 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005519/3.462, allocations: 0.7061 MB / 1.86 GB, free: 208.1 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/3.463, allocations: 470.1 kB / 1.861 GB, free: 207.7 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007326/3.464, allocations: 99.83 kB / 1.861 GB, free: 207.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/3.468, allocations: 3.307 MB / 1.864 GB, free: 204.1 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/3.468, allocations: 4 kB / 1.864 GB, free: 204.1 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05139/3.519, allocations: 15.36 MB / 1.879 GB, free: 188.6 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005153/3.524, allocations: 1.978 MB / 1.881 GB, free: 186.6 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002455/3.527, allocations: 167.9 kB / 1.881 GB, free: 186.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00808/3.535, allocations: 0.5305 MB / 1.882 GB, free: 185.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006495/3.535, allocations: 197.6 kB / 1.882 GB, free: 185.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005115/3.536, allocations: 123.8 kB / 1.882 GB, free: 185.6 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.0132/3.549, allocations: 7.14 MB / 1.889 GB, free: 178.5 MB / 1.311 GB Notification: Performance of sort global known variables: time 7.11e-07/3.549, allocations: 0 / 1.889 GB, free: 178.5 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.01131/3.561, allocations: 1.874 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.002827/3.563, allocations: 0.8298 MB / 1.892 GB, free: 176 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.03925/3.603, 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.243e-05/3.603, allocations: 8.75 kB / 1.909 GB, free: 158.4 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/3.615, allocations: 4.4 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.01111/3.626, allocations: 1.803 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.04055/3.666, allocations: 15.02 MB / 1.929 GB, free: 137.2 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/3.67, allocations: 3.92 MB / 1.933 GB, free: 133.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003421/3.673, allocations: 487 kB / 1.934 GB, free: 132.8 MB / 1.311 GB Notification: Performance of SimCode: time 1.553e-06/3.673, allocations: 3.938 kB / 1.934 GB, free: 132.8 MB / 1.311 GB Notification: Performance of Templates: time 0.9262/4.599, 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