Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoi.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoi.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage") translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulStaDX.vol.T|mulStaDX.sta_a.T|mulStaDX.dxCoi.mWat_flow|mulStaDX.port_b.h_outflow|mulStaDX.vol.X_w|mulStaDX.sta_a.X.1.|mulStaDX.dxCoi.Q_flow|mulStaDX.P|mulStaDX.stage",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005533/0.005533, allocations: 100.4 kB / 15.87 MB, free: 6.305 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.001333/0.001333, allocations: 197.4 kB / 16.79 MB, free: 6.238 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.19 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2895, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage): time 0.8082/1.098, allocations: 203.5 MB / 1.252 GB, free: 18.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02522/1.123, allocations: 21.54 MB / 1.273 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/1.127, allocations: 43.59 kB / 1.273 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004691/1.131, allocations: 1.16 MB / 1.274 GB, free: 18.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008893/1.14, allocations: 2.39 MB / 1.276 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009802/1.15, allocations: 3.149 MB / 1.279 GB, free: 18.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01137/1.162, allocations: 8.699 MB / 1.288 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/1.166, allocations: 2.57 MB / 1.29 GB, free: 17.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007179/1.173, allocations: 2.544 MB / 1.293 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0062/1.179, allocations: 2.676 MB / 1.295 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002021/1.181, allocations: 341.1 kB / 1.296 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009835/1.191, allocations: 3.962 MB / 1.299 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003666/1.195, allocations: 2.044 MB / 1.301 GB, free: 17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007563/1.203, allocations: 3.195 MB / 1.305 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01578/1.218, allocations: 13.42 MB / 1.318 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.218, allocations: 8 kB / 1.318 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.218, allocations: 7.875 kB / 1.318 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003132/1.219, allocations: 0 / 1.318 GB, free: 14.96 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.02323/1.242, allocations: 7.565 MB / 1.325 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.242, allocations: 11.94 kB / 1.325 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03454/1.277, allocations: 3.601 MB / 1.329 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/1.292, allocations: 6.779 MB / 1.335 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007003/1.293, allocations: 456 kB / 1.336 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009008/1.294, allocations: 179.2 kB / 1.336 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/1.309, allocations: 6.445 MB / 1.342 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/1.309, allocations: 0 / 1.342 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005859/1.31, allocations: 71.53 kB / 1.342 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/1.31, allocations: 60.55 kB / 1.342 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02216/1.332, allocations: 8.57 MB / 1.351 GB, free: 15.64 MB / 1.014 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.05857/1.391, allocations: 24.07 MB / 1.374 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02751/1.418, allocations: 8.378 MB / 1.382 GB, free: 4.664 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01074/1.429, allocations: 3.957 MB / 1.386 GB, free: 0.707 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008715/1.43, allocations: 0.7706 MB / 1.387 GB, free: 15.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01356/1.443, allocations: 5.325 MB / 1.392 GB, free: 10.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=185): time 5.921e-06/1.443, allocations: 4 kB / 1.392 GB, free: 10.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=187): time 0.08844/1.532, allocations: 21.74 MB / 1.413 GB, free: 4.594 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.532, allocations: 140.8 kB / 1.413 GB, free: 4.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02189/1.554, allocations: 10.18 MB / 1.423 GB, free: 10.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.555, allocations: 109.7 kB / 1.424 GB, free: 10.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.004442/1.56, allocations: 2.361 MB / 1.426 GB, free: 7.777 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/1.561, allocations: 0.5853 MB / 1.426 GB, free: 7.203 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/1.563, allocations: 0.5422 MB / 1.427 GB, free: 6.656 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/1.563, allocations: 307.7 kB / 1.427 GB, free: 6.355 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0117/1.575, allocations: 4.944 MB / 1.432 GB, free: 1.398 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01425/1.589, allocations: 5.113 MB / 1.437 GB, free: 12.23 MB / 1.092 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 0.3762/1.965, allocations: 140.9 MB / 1.575 GB, free: 15.04 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.965, allocations: 4 kB / 1.575 GB, free: 15.03 MB / 1.232 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.04988/2.015, allocations: 12.04 MB / 1.586 GB, free: 2.969 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/2.015, allocations: 134.9 kB / 1.587 GB, free: 2.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/2.015, allocations: 4 kB / 1.587 GB, free: 2.816 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007071/2.022, allocations: 1.504 MB / 1.588 GB, free: 1.293 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/2.028, allocations: 0.7734 MB / 1.589 GB, free: 0.5391 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/2.044, allocations: 13.12 MB / 1.602 GB, free: 2.617 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009155/2.053, allocations: 0.5549 MB / 1.602 GB, free: 2.062 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/2.054, allocations: 148.6 kB / 1.602 GB, free: 1.922 MB / 1.248 GB Warning: Assuming fixed start value for the following 1 variables: mulStaDX.watVapEva.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.01677/2.071, allocations: 7.243 MB / 1.609 GB, free: 10.67 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01275/2.084, allocations: 5.087 MB / 1.614 GB, free: 5.523 MB / 1.264 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.3829/2.467, allocations: 140.7 MB / 1.752 GB, free: 8.562 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.343e-06/2.467, allocations: 0 / 1.752 GB, free: 8.562 MB / 1.404 GB Notification: Performance of matching and sorting (n=262) (initialization_lambda0): time 0.6247/3.092, allocations: 11.83 MB / 1.763 GB, free: 0.5604 GB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/3.092, allocations: 136.5 kB / 1.763 GB, free: 0.5603 GB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/3.092, allocations: 2.969 kB / 1.763 GB, free: 0.5603 GB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00557/3.098, allocations: 1.312 MB / 1.765 GB, free: 0.5603 GB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006544/3.104, allocations: 0.7738 MB / 1.765 GB, free: 0.5603 GB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/3.115, allocations: 11.5 MB / 1.777 GB, free: 0.5518 GB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009298/3.124, allocations: 0.5491 MB / 1.777 GB, free: 0.5518 GB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/3.125, allocations: 143.9 kB / 1.777 GB, free: 0.5518 GB / 1.404 GB Warning: Assuming fixed start value for the following 1 variables: mulStaDX.watVapEva.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: 9 * Number of states: 0 () * Number of discrete variables: 60 (mulStaDX.i_x,$PRE.speRat.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mulStaDX.watVapEva.off,$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],$PRE.mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],speRat.combiTimeTable.nextTimeEventScaled,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEvent,mulStaDX.watVapEva.off,mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],mulStaDX.dxCoi.dryCoi.coiCap.stage,mulStaDX.dxCoi.wetCoi.shr.on,mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],mulStaDX.dxCoi.wetCoi.coiCap.stage,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 216 * 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.001444/3.127, allocations: 368.2 kB / 1.778 GB, free: 0.5516 GB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002728/3.13, allocations: 0.5555 MB / 1.778 GB, free: 0.5516 GB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04841/3.178, allocations: 9.892 MB / 1.788 GB, free: 0.5514 GB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/3.178, allocations: 18.47 kB / 1.788 GB, free: 0.5514 GB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/3.178, allocations: 4.594 kB / 1.788 GB, free: 0.5514 GB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04221/3.22, allocations: 8.982 MB / 1.797 GB, free: 0.5509 GB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06128/3.282, allocations: 20.03 MB / 1.816 GB, free: 0.544 GB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/3.282, allocations: 3.938 kB / 1.816 GB, free: 0.544 GB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005843/3.288, allocations: 0.7044 MB / 1.817 GB, free: 0.544 GB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/3.289, allocations: 484.8 kB / 1.817 GB, free: 0.5439 GB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/3.291, allocations: 98.41 kB / 1.817 GB, free: 0.5438 GB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003975/3.295, allocations: 3.18 MB / 1.821 GB, free: 0.5412 GB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/3.295, allocations: 7.844 kB / 1.821 GB, free: 0.5411 GB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05199/3.347, allocations: 15.21 MB / 1.835 GB, free: 0.534 GB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006062/3.353, allocations: 1.965 MB / 1.837 GB, free: 0.5322 GB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003078/3.356, allocations: 163.9 kB / 1.838 GB, free: 0.5321 GB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008784/3.365, allocations: 0.5343 MB / 1.838 GB, free: 0.5316 GB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008458/3.365, allocations: 193.7 kB / 1.838 GB, free: 0.5314 GB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006077/3.366, allocations: 131.8 kB / 1.838 GB, free: 0.5313 GB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01412/3.38, allocations: 7.217 MB / 1.845 GB, free: 0.5242 GB / 1.404 GB Notification: Performance of sort global known variables: time 4.4e-07/3.38, allocations: 0 / 1.845 GB, free: 0.5242 GB / 1.404 GB Notification: Performance of remove unused functions: time 0.01242/3.393, allocations: 1.884 MB / 1.847 GB, free: 0.5224 GB / 1.404 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (mulStaDX.vol.dynBal.medium.Xi[1],mulStaDX.vol.dynBal.U,mulStaDX.watVapEva.m) * Number of discrete variables: 40 ($whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulStaDX.dxCoi.wetCoi.coiCap.stage,mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],mulStaDX.dxCoi.wetCoi.shr.on,mulStaDX.dxCoi.dryCoi.coiCap.stage,mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],mulStaDX.watVapEva.off,speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 9 (speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled,mulStaDX.dxCoi.wetCoi.coiCap.stage,mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[mulStaDX.dxCoi.wetCoi.coiCap.stage],mulStaDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[mulStaDX.dxCoi.wetCoi.coiCap.stage],mulStaDX.dxCoi.dryCoi.coiCap.stage,mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[mulStaDX.dxCoi.dryCoi.coiCap.stage],mulStaDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[mulStaDX.dxCoi.dryCoi.coiCap.stage],mulStaDX.watVapEva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 157 * 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.002837/3.396, allocations: 0.803 MB / 1.848 GB, free: 0.5219 GB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.03733/3.433, allocations: 17.23 MB / 1.865 GB, free: 0.5048 GB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/3.433, allocations: 0.5625 kB / 1.865 GB, free: 0.5048 GB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.01085/3.444, allocations: 4.324 MB / 1.869 GB, free: 0.5006 GB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0131/3.457, allocations: 1.84 MB / 1.871 GB, free: 0.4988 GB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03944/3.496, allocations: 16.83 MB / 1.887 GB, free: 493.9 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004209/3.501, allocations: 4.018 MB / 1.891 GB, free: 489.9 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003965/3.505, allocations: 495 kB / 1.892 GB, free: 489.4 MB / 1.404 GB Notification: Performance of SimCode: time 1.092e-06/3.505, allocations: 0 / 1.892 GB, free: 489.4 MB / 1.404 GB Notification: Performance of Templates: time 0.2837/3.788, allocations: 304.5 MB / 2.189 GB, free: 184.9 MB / 1.404 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage.makefile make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStage.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:2985:14: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_wetCoi_P_appDewPt_P_uacpmulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage__P_UAcp_' tmp285 = mulStaDX_P_dxCoi_P_wetCoi_P_appDewPt_P_uacpmulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage__P_UAcp_; ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3767:134: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3767:219: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3767:66: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp320); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3773:69: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3773:137: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3773:202: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp323); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3779:134: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3779:219: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3779:66: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp326); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3785:69: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3785:137: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3785:202: error: use of undeclared identifier 'mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp329); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3770:7: warning: expression result unused [-Wunused-value] tmp322; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3776:7: warning: expression result unused [-Wunused-value] tmp325; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3782:7: warning: expression result unused [-Wunused-value] tmp328; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3788:7: warning: expression result unused [-Wunused-value] tmp331; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3877:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3886:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3895:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition5_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 3) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3904:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition3_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 4) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3923:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageInitialize.cpp:3932:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_mulStaDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. make: *** [: OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.MultiStageCalcHelperMain.o] Error 1