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.001719/0.001719, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001985/0.001985, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.277/2.277, allocations: 390.2 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 65.8 kB / 0.8132 GB, free: 32.91 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2911, allocations: 140.4 MB / 0.9503 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed): time 0.838/1.129, allocations: 205.3 MB / 1.151 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02884/1.158, allocations: 20.74 MB / 1.171 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004579/1.163, allocations: 46.03 kB / 1.171 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004558/1.167, allocations: 1.193 MB / 1.172 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/1.178, allocations: 2.411 MB / 1.175 GB, free: 14.08 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.01144/1.189, allocations: 3.313 MB / 1.178 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01305/1.202, allocations: 8.115 MB / 1.186 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005926/1.208, allocations: 2.911 MB / 1.189 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008538/1.217, allocations: 2.991 MB / 1.191 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006687/1.224, allocations: 2.803 MB / 1.194 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002834/1.226, allocations: 0.7476 MB / 1.195 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.013/1.239, allocations: 4.206 MB / 1.199 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004291/1.244, allocations: 2.333 MB / 1.201 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.009637/1.253, allocations: 3.516 MB / 1.205 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.03111/1.285, allocations: 15.18 MB / 1.22 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/1.285, allocations: 0 / 1.22 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/1.285, allocations: 0 / 1.22 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004056/1.285, allocations: 6.844 kB / 1.22 GB, free: 3.09 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.02898/1.314, allocations: 7.107 MB / 1.227 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.314, allocations: 7.438 kB / 1.227 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03545/1.35, allocations: 3.621 MB / 1.23 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/1.366, allocations: 6.262 MB / 1.236 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009207/1.367, allocations: 421.4 kB / 1.237 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/1.368, allocations: 168 kB / 1.237 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/1.386, allocations: 6.591 MB / 1.243 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.97e-05/1.386, allocations: 0 / 1.243 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009627/1.387, allocations: 67.98 kB / 1.243 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.49e-05/1.388, allocations: 50.84 kB / 1.243 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/1.413, allocations: 8.919 MB / 1.252 GB, free: 6.195 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.05643/1.47, allocations: 24.09 MB / 1.276 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03052/1.5, allocations: 8.938 MB / 1.284 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01152/1.512, allocations: 4.182 MB / 1.288 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/1.514, allocations: 1.22 MB / 1.29 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01492/1.529, allocations: 5.61 MB / 1.295 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=183): time 6.412e-06/1.529, allocations: 0 / 1.295 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=185): time 0.09794/1.627, allocations: 22.84 MB / 1.317 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/1.627, allocations: 151.2 kB / 1.317 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02581/1.653, allocations: 9.848 MB / 1.327 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001459/1.654, allocations: 113.7 kB / 1.327 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00457/1.659, allocations: 2.182 MB / 1.329 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.66, allocations: 0.57 MB / 1.33 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00301/1.663, allocations: 0.5443 MB / 1.33 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/1.663, allocations: 301.1 kB / 1.331 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01312/1.676, allocations: 5.143 MB / 1.336 GB, free: 15.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01358/1.69, allocations: 5.29 MB / 1.341 GB, free: 10.53 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.4288/2.119, allocations: 151.1 MB / 1.488 GB, free: 3.105 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/2.119, allocations: 4 kB / 1.488 GB, free: 3.102 MB / 1.154 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.05191/2.171, allocations: 12.44 MB / 1.501 GB, free: 6.605 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.000264/2.171, allocations: 170.8 kB / 1.501 GB, free: 6.414 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/2.171, allocations: 0 / 1.501 GB, free: 6.414 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006932/2.178, allocations: 1.511 MB / 1.502 GB, free: 4.879 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006439/2.185, allocations: 0.7838 MB / 1.503 GB, free: 4.094 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/2.202, allocations: 13.99 MB / 1.517 GB, free: 5.195 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009659/2.212, allocations: 0.5305 MB / 1.517 GB, free: 4.664 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/2.213, allocations: 163.8 kB / 1.517 GB, free: 4.504 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.0187/2.232, allocations: 7.353 MB / 1.525 GB, free: 13.14 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01397/2.246, allocations: 5.263 MB / 1.53 GB, free: 7.832 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.054/3.3, allocations: 150.9 MB / 1.677 GB, free: 358.3 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.211e-06/3.3, allocations: 11.67 kB / 1.677 GB, free: 358.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.04471/3.345, allocations: 12.22 MB / 1.689 GB, free: 346.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/3.345, allocations: 166.8 kB / 1.689 GB, free: 346.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/3.345, allocations: 0 / 1.689 GB, free: 346.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004628/3.35, allocations: 1.332 MB / 1.69 GB, free: 344.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/3.356, allocations: 0.7752 MB / 1.691 GB, free: 344 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009667/3.365, allocations: 12.29 MB / 1.703 GB, free: 330.9 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009289/3.375, allocations: 0.5345 MB / 1.704 GB, free: 330.4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/3.376, allocations: 155.8 kB / 1.704 GB, free: 330.2 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.002256/3.378, allocations: 390.3 kB / 1.704 GB, free: 329.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003434/3.382, allocations: 0.5179 MB / 1.705 GB, free: 329.6 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04399/3.426, allocations: 10.46 MB / 1.715 GB, free: 319.1 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/3.426, allocations: 20 kB / 1.715 GB, free: 319.1 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/3.426, allocations: 0 / 1.715 GB, free: 319.1 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04077/3.466, allocations: 9.5 MB / 1.724 GB, free: 309.6 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06065/3.527, allocations: 20.75 MB / 1.744 GB, free: 288.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.38e-05/3.527, allocations: 4 kB / 1.745 GB, free: 288.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005736/3.533, allocations: 0.7177 MB / 1.745 GB, free: 288.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/3.535, allocations: 486.1 kB / 1.746 GB, free: 287.6 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009419/3.536, allocations: 107 kB / 1.746 GB, free: 287.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/3.539, allocations: 3.34 MB / 1.749 GB, free: 284 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/3.539, allocations: 7.938 kB / 1.749 GB, free: 284 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05708/3.597, allocations: 16.09 MB / 1.765 GB, free: 267.9 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006179/3.603, allocations: 2.009 MB / 1.767 GB, free: 265.9 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00348/3.606, allocations: 171.8 kB / 1.767 GB, free: 265.7 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009359/3.616, allocations: 0.5399 MB / 1.767 GB, free: 265.2 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008337/3.616, allocations: 193.7 kB / 1.768 GB, free: 265 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009937/3.617, allocations: 139.8 kB / 1.768 GB, free: 264.9 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.01678/3.634, allocations: 7.02 MB / 1.775 GB, free: 257.9 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.5e-07/3.634, allocations: 0 / 1.775 GB, free: 257.9 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.014/3.648, allocations: 1.933 MB / 1.776 GB, free: 255.9 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.002647/3.651, allocations: 0.5912 MB / 1.777 GB, free: 255.4 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.04538/3.696, allocations: 19.09 MB / 1.796 GB, free: 236.1 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/3.696, allocations: 4.562 kB / 1.796 GB, free: 236.1 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01291/3.709, allocations: 4.676 MB / 1.8 GB, free: 231.4 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01431/3.724, allocations: 1.749 MB / 1.802 GB, free: 229.7 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04594/3.77, allocations: 15.18 MB / 1.817 GB, free: 214.5 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005793/3.776, allocations: 3.871 MB / 1.821 GB, free: 210.6 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/3.78, allocations: 487 kB / 1.821 GB, free: 210.1 MB / 1.201 GB Notification: Performance of SimCode: time 1.183e-06/3.78, allocations: 0 / 1.821 GB, free: 210.1 MB / 1.201 GB Notification: Performance of Templates: time 0.8955/4.675, allocations: 294.8 MB / 2.109 GB, free: 410.3 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++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.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