Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.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.VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varSpeDX.vol.T|TEvaIn.y|varSpeDX.dxCoo.mWat_flow|varSpeDX.vol.ports.2..h_outflow|sou.ports.1..h_outflow|varSpeDX.vol.X_w|varSpeDX.dxCoo.XEvaIn|varSpeDX.P|varSpeDX.dxCoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varSpeDX.vol.T|TEvaIn.y|varSpeDX.dxCoo.mWat_flow|varSpeDX.vol.ports.2..h_outflow|sou.ports.1..h_outflow|varSpeDX.vol.X_w|varSpeDX.dxCoo.XEvaIn|varSpeDX.P|varSpeDX.dxCoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 105.4 kB / 15.98 MB, free: 6.359 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.001915/0.001915, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.218/2.218, allocations: 390.2 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.2 kB / 0.8127 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3024, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed): time 0.8688/1.171, allocations: 202.6 MB / 1.148 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02955/1.201, allocations: 20.54 MB / 1.168 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004319/1.205, allocations: 40.94 kB / 1.168 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004286/1.209, allocations: 1.094 MB / 1.169 GB, free: 196 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009769/1.219, allocations: 2.239 MB / 1.171 GB, free: 15.3 MB / 0.8731 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.01039/1.23, allocations: 3.099 MB / 1.174 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01318/1.243, allocations: 8.153 MB / 1.182 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005356/1.248, allocations: 2.897 MB / 1.185 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007949/1.256, allocations: 3.008 MB / 1.188 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/1.262, allocations: 2.863 MB / 1.191 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002524/1.265, allocations: 0.7467 MB / 1.191 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/1.277, allocations: 4.331 MB / 1.196 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004163/1.281, allocations: 2.334 MB / 1.198 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.009433/1.29, allocations: 3.541 MB / 1.201 GB, free: 492 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0175/1.308, allocations: 13.22 MB / 1.214 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.308, allocations: 0 / 1.214 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.195e-06/1.308, allocations: 4 kB / 1.214 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003622/1.308, allocations: 0 / 1.214 GB, free: 6.758 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.02597/1.334, allocations: 7.103 MB / 1.221 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.334, allocations: 14.28 kB / 1.221 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03568/1.37, allocations: 3.618 MB / 1.225 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/1.386, allocations: 6.261 MB / 1.231 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009139/1.387, allocations: 405.5 kB / 1.231 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/1.388, allocations: 172 kB / 1.231 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/1.406, allocations: 6.601 MB / 1.238 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/1.407, allocations: 0 / 1.238 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/1.408, allocations: 60 kB / 1.238 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/1.408, allocations: 62.83 kB / 1.238 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02444/1.432, allocations: 8.908 MB / 1.247 GB, free: 10.73 MB / 0.92 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.05497/1.487, allocations: 24.06 MB / 1.27 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02872/1.516, allocations: 8.948 MB / 1.279 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01103/1.527, allocations: 4.182 MB / 1.283 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/1.528, allocations: 1.22 MB / 1.284 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01432/1.543, allocations: 5.611 MB / 1.29 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=183): time 6.562e-06/1.543, allocations: 0 / 1.29 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=185): time 0.09669/1.64, allocations: 22.84 MB / 1.312 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/1.64, allocations: 151.2 kB / 1.312 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02496/1.665, allocations: 9.845 MB / 1.322 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001654/1.666, allocations: 109.7 kB / 1.322 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0044/1.671, allocations: 2.182 MB / 1.324 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/1.672, allocations: 0.5698 MB / 1.324 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00344/1.676, allocations: 0.5519 MB / 1.325 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.676, allocations: 305.1 kB / 1.325 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01281/1.689, allocations: 5.143 MB / 1.33 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/1.702, allocations: 5.279 MB / 1.335 GB, free: 15.07 MB / 1.014 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.439/2.141, allocations: 151.1 MB / 1.483 GB, free: 7.633 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/2.141, allocations: 0 / 1.483 GB, free: 7.633 MB / 1.154 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.05298/2.194, allocations: 12.44 MB / 1.495 GB, free: 11.14 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002804/2.194, allocations: 166.8 kB / 1.495 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/2.194, allocations: 4 kB / 1.495 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006993/2.201, allocations: 1.507 MB / 1.497 GB, free: 9.414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006449/2.208, allocations: 0.7838 MB / 1.498 GB, free: 8.629 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/2.225, allocations: 14 MB / 1.511 GB, free: 9.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009387/2.235, allocations: 0.5755 MB / 1.512 GB, free: 9.156 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/2.236, allocations: 155.8 kB / 1.512 GB, free: 9.004 MB / 1.186 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.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: varSpeDX.vol.dynBal.medium.p = varSpeDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01839/2.255, allocations: 7.367 MB / 1.519 GB, free: 1.625 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01295/2.268, allocations: 5.263 MB / 1.524 GB, free: 12.32 MB / 1.201 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 1.034/3.302, allocations: 150.9 MB / 1.672 GB, free: 362.6 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-05/3.302, allocations: 0 / 1.672 GB, free: 362.6 MB / 1.201 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.04689/3.349, allocations: 12.23 MB / 1.684 GB, free: 350.7 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/3.349, allocations: 166.8 kB / 1.684 GB, free: 350.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/3.349, allocations: 0 / 1.684 GB, free: 350.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005049/3.354, allocations: 1.321 MB / 1.685 GB, free: 349.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006297/3.361, allocations: 0.7794 MB / 1.686 GB, free: 348.4 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/3.371, allocations: 12.28 MB / 1.698 GB, free: 335.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008803/3.379, allocations: 0.574 MB / 1.698 GB, free: 334.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/3.381, allocations: 159.6 kB / 1.698 GB, free: 334.5 MB / 1.201 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.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: varSpeDX.vol.dynBal.medium.p = varSpeDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 64 (varSpeDX.i_x,$PRE.varSpeDX.deaBan.y,$PRE.varSpeDX.eva.off,$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,varSpeDX.deaBan.y,varSpeDX.eva.off,varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],varSpeDX.dxCoo.dryCoi.cooCap.stage,varSpeDX.dxCoo.wetCoi.shr.on,varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],varSpeDX.dxCoo.wetCoi.cooCap.stage,$whenCondition1,$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 (218): * Single equations (assignments): 205 * Array equations: 1 * Algorithm blocks: 4 * 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.002009/3.383, allocations: 384.5 kB / 1.699 GB, free: 334.1 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00287/3.386, allocations: 0.5247 MB / 1.699 GB, free: 333.9 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04257/3.428, allocations: 10.44 MB / 1.71 GB, free: 323.4 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/3.428, allocations: 16 kB / 1.71 GB, free: 323.4 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/3.428, allocations: 4 kB / 1.71 GB, free: 323.4 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03901/3.467, allocations: 9.503 MB / 1.719 GB, free: 313.9 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06072/3.528, allocations: 20.74 MB / 1.739 GB, free: 293.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/3.528, allocations: 8 kB / 1.739 GB, free: 293.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00549/3.534, allocations: 0.7219 MB / 1.74 GB, free: 292.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/3.535, allocations: 482 kB / 1.74 GB, free: 291.9 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008895/3.536, allocations: 111.8 kB / 1.74 GB, free: 291.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/3.54, allocations: 3.342 MB / 1.744 GB, free: 288.3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/3.54, allocations: 11.77 kB / 1.744 GB, free: 288.3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05349/3.593, allocations: 16.07 MB / 1.759 GB, free: 272.2 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005766/3.599, allocations: 2.021 MB / 1.761 GB, free: 270.2 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003386/3.602, allocations: 160 kB / 1.761 GB, free: 270 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008813/3.611, allocations: 0.58 MB / 1.762 GB, free: 269.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007391/3.612, allocations: 189.7 kB / 1.762 GB, free: 269.3 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008644/3.613, allocations: 139.8 kB / 1.762 GB, free: 269.1 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.01487/3.628, allocations: 7.024 MB / 1.769 GB, free: 262.1 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.51e-07/3.628, allocations: 0 / 1.769 GB, free: 262.1 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01217/3.64, allocations: 1.936 MB / 1.771 GB, free: 260.2 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (varSpeDX.vol.dynBal.medium.Xi[1],varSpeDX.vol.dynBal.U,varSpeDX.eva.m) * Number of discrete variables: 44 ($whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpeDX.dxCoo.wetCoi.cooCap.stage,varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],varSpeDX.dxCoo.wetCoi.shr.on,varSpeDX.dxCoo.dryCoi.cooCap.stage,varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],varSpeDX.eva.off,varSpeDX.deaBan.y,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 14 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1,varSpeDX.deaBan.y,varSpeDX.dxCoo.wetCoi.cooCap.stage,varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTCon[varSpeDX.dxCoo.wetCoi.cooCap.stage],varSpeDX.dxCoo.wetCoi.cooCap.checkBoundsTEva[varSpeDX.dxCoo.wetCoi.cooCap.stage],varSpeDX.dxCoo.dryCoi.cooCap.stage,varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTCon[varSpeDX.dxCoo.dryCoi.cooCap.stage],varSpeDX.dxCoo.dryCoi.cooCap.checkBoundsTEva[varSpeDX.dxCoo.dryCoi.cooCap.stage],varSpeDX.eva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 16 * 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.002478/3.642, allocations: 0.5875 MB / 1.772 GB, free: 259.7 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.04205/3.685, allocations: 19.08 MB / 1.79 GB, free: 240.4 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/3.685, allocations: 8.562 kB / 1.79 GB, free: 240.4 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01153/3.696, allocations: 4.685 MB / 1.795 GB, free: 235.7 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01279/3.709, allocations: 1.745 MB / 1.797 GB, free: 234 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04382/3.753, allocations: 16.46 MB / 1.813 GB, free: 217.5 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005666/3.759, allocations: 3.871 MB / 1.816 GB, free: 213.6 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004148/3.763, allocations: 487 kB / 1.817 GB, free: 213.1 MB / 1.201 GB Notification: Performance of SimCode: time 1.192e-06/3.763, allocations: 3.938 kB / 1.817 GB, free: 213.1 MB / 1.201 GB Notification: Performance of Templates: time 0.8799/4.643, allocations: 294.8 MB / 2.105 GB, free: 413.1 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed.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_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3719:134: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp336); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3719:219: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp336); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3719:66: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunT_, (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp336); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3725:69: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp339); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3725:137: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp339); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3725:202: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_capFunFF_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp339); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3731:134: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp342); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3731:219: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp342); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3731:66: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunT_, (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp342); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3737:69: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp345); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3737:137: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp345); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3737:202: error: use of undeclared identifier 'varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_EIRFunFF_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_staiSta__P_perCur_P_ffMax_, tmp345); ^ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3722:7: warning: expression result unused [-Wunused-value] tmp338; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3728:7: warning: expression result unused [-Wunused-value] tmp341; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3734:7: warning: expression result unused [-Wunused-value] tmp344; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3740:7: warning: expression result unused [-Wunused-value] tmp347; ^~~~~~ ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3819:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_varSpeDX_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.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3828:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_varSpeDX_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.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3837:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition5_, ((_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 3) && _discrete_events->pre(_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_varSpeDX_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.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3846:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition3_, ((_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 4) && _discrete_events->pre(_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTEva_)(_varSpeDX_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.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3885:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 1) && _discrete_events->pre(_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_varSpeDX_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.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3894:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 2) && _discrete_events->pre(_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_varSpeDX_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.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeedInitialize.cpp:3903:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition4_, ((_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_stage_ == 3) && _discrete_events->pre(_varSpeDX_P_dxCoo_P_dryCoi_P_cooCap_P_checkBoundsTCon_)(_varSpeDX_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.VariableSpeedCalcHelperMain.o] Error 1