Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DXSystems.Cooling.AirSource.Examples.VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varSpeDX.vol.T|TEvaIn.y|varSpeDX.dxCoi.mWat_flow|varSpeDX.vol.ports.2..h_outflow|sou.ports.1..h_outflow|varSpeDX.vol.X_w|varSpeDX.dxCoi.XEvaIn|varSpeDX.P|varSpeDX.dxCoi.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed") translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varSpeDX.vol.T|TEvaIn.y|varSpeDX.dxCoi.mWat_flow|varSpeDX.vol.ports.2..h_outflow|sou.ports.1..h_outflow|varSpeDX.vol.X_w|varSpeDX.dxCoi.XEvaIn|varSpeDX.P|varSpeDX.dxCoi.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 110.3 kB / 15.99 MB, free: 6.352 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.001213/0.001213, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.5 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed): time 0.7516/1.084, allocations: 203 MB / 1.262 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03055/1.114, allocations: 20.72 MB / 1.283 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/1.118, allocations: 39.75 kB / 1.283 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00422/1.123, allocations: 1.143 MB / 1.284 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007251/1.13, allocations: 2.29 MB / 1.286 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008308/1.138, allocations: 3.109 MB / 1.289 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01069/1.149, allocations: 8.369 MB / 1.297 GB, free: 10.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005016/1.154, allocations: 2.949 MB / 1.3 GB, free: 7.531 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007231/1.161, allocations: 3.076 MB / 1.303 GB, free: 4.457 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005826/1.167, allocations: 2.938 MB / 1.306 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002256/1.169, allocations: 0.7578 MB / 1.307 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009799/1.179, allocations: 4.34 MB / 1.311 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00365/1.183, allocations: 2.424 MB / 1.313 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007208/1.19, allocations: 3.653 MB / 1.317 GB, free: 6.312 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01686/1.207, allocations: 13.53 MB / 1.33 GB, free: 8.754 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.207, allocations: 0 / 1.33 GB, free: 8.754 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.983e-06/1.207, allocations: 4 kB / 1.33 GB, free: 8.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003358/1.207, allocations: 0 / 1.33 GB, free: 8.75 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.02693/1.234, allocations: 7.416 MB / 1.337 GB, free: 1.199 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/1.234, allocations: 12.03 kB / 1.337 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03487/1.269, allocations: 3.648 MB / 1.341 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/1.287, allocations: 6.713 MB / 1.347 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/1.288, allocations: 417.5 kB / 1.348 GB, free: 6.285 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/1.289, allocations: 176 kB / 1.348 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/1.308, allocations: 6.585 MB / 1.354 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.646e-05/1.308, allocations: 7.938 kB / 1.354 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009741/1.309, allocations: 67.98 kB / 1.355 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-05/1.309, allocations: 54.88 kB / 1.355 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/1.335, allocations: 8.873 MB / 1.363 GB, free: 6.477 MB / 1.076 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.05792/1.393, allocations: 24.21 MB / 1.387 GB, free: 14.03 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02904/1.422, allocations: 8.886 MB / 1.396 GB, free: 5.133 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.011/1.433, allocations: 4.131 MB / 1.4 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/1.435, allocations: 1.208 MB / 1.401 GB, free: 15.53 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01413/1.449, allocations: 5.529 MB / 1.406 GB, free: 9.98 MB / 1.123 GB Notification: Performance of pre-optimization done (n=182): time 6.783e-06/1.449, allocations: 0 / 1.406 GB, free: 9.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=184): time 0.0931/1.542, allocations: 22.6 MB / 1.428 GB, free: 3.219 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/1.542, allocations: 144.8 kB / 1.428 GB, free: 3.051 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02441/1.566, allocations: 10.03 MB / 1.438 GB, free: 9.02 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001293/1.568, allocations: 113.7 kB / 1.438 GB, free: 8.902 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.004758/1.573, allocations: 2.314 MB / 1.441 GB, free: 6.578 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.574, allocations: 0.5662 MB / 1.441 GB, free: 6.004 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003126/1.577, allocations: 0.546 MB / 1.442 GB, free: 5.453 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.577, allocations: 313 kB / 1.442 GB, free: 5.145 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01282/1.59, allocations: 5.077 MB / 1.447 GB, free: 56 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01348/1.604, allocations: 5.24 MB / 1.452 GB, free: 10.77 MB / 1.17 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.9748/2.579, allocations: 150.7 MB / 1.599 GB, free: 416.3 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/2.579, allocations: 5.031 kB / 1.599 GB, free: 416.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.04939/2.628, allocations: 12.34 MB / 1.611 GB, free: 410.6 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/2.628, allocations: 165.5 kB / 1.611 GB, free: 410.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/2.628, allocations: 1.375 kB / 1.611 GB, free: 410.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006423/2.635, allocations: 1.515 MB / 1.613 GB, free: 409.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005629/2.64, allocations: 0.7704 MB / 1.614 GB, free: 409.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/2.653, allocations: 14 MB / 1.627 GB, free: 396.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008115/2.661, allocations: 0.5663 MB / 1.628 GB, free: 396.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009719/2.662, allocations: 161.2 kB / 1.628 GB, free: 396.4 MB / 1.264 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.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: varSpeDX.vol.dynBal.medium.p = varSpeDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01377/2.676, allocations: 7.35 MB / 1.635 GB, free: 392.2 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01089/2.687, allocations: 5.209 MB / 1.64 GB, free: 389.5 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.3699/3.057, allocations: 150.5 MB / 1.787 GB, free: 239.6 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.035e-06/3.057, allocations: 3.938 kB / 1.787 GB, free: 239.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=259) (initialization_lambda0): time 0.04522/3.102, allocations: 12.13 MB / 1.799 GB, free: 227.7 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/3.102, allocations: 162.8 kB / 1.799 GB, free: 227.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/3.102, allocations: 4 kB / 1.799 GB, free: 227.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004798/3.107, allocations: 1.31 MB / 1.801 GB, free: 226.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00568/3.113, allocations: 0.7838 MB / 1.801 GB, free: 225.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009792/3.123, allocations: 12.28 MB / 1.813 GB, free: 212.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008148/3.131, allocations: 0.56 MB / 1.814 GB, free: 211.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009928/3.132, allocations: 163.8 kB / 1.814 GB, free: 211.6 MB / 1.264 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.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: varSpeDX.vol.dynBal.medium.p = varSpeDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 64 (varSpeDX.i_x,$PRE.varSpeDX.deaBan.y,$PRE.varSpeDX.watVapEva.off,$PRE.varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],$PRE.varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],$PRE.varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],$PRE.varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],$PRE.varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],$PRE.varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],$PRE.varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],$PRE.varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],$PRE.varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],$PRE.varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],$PRE.varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],$PRE.varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],$PRE.varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,varSpeDX.deaBan.y,varSpeDX.watVapEva.off,varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],varSpeDX.dxCoi.dryCoi.coiCap.stage,varSpeDX.dxCoi.wetCoi.shr.on,varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],varSpeDX.dxCoi.wetCoi.coiCap.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 (220): * Single equations (assignments): 207 * 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.001839/3.134, allocations: 391.3 kB / 1.814 GB, free: 211.2 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002615/3.136, allocations: 0.539 MB / 1.815 GB, free: 210.7 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04128/3.178, allocations: 10.34 MB / 1.825 GB, free: 200.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/3.178, allocations: 16 kB / 1.825 GB, free: 200.3 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/3.178, allocations: 3.938 kB / 1.825 GB, free: 200.3 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03749/3.215, allocations: 9.376 MB / 1.834 GB, free: 190.9 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05589/3.271, allocations: 20.59 MB / 1.854 GB, free: 170.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/3.271, allocations: 0 / 1.854 GB, free: 170.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005095/3.276, allocations: 0.7098 MB / 1.855 GB, free: 169.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/3.278, allocations: 470.1 kB / 1.856 GB, free: 169 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007472/3.279, allocations: 115.8 kB / 1.856 GB, free: 168.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/3.282, allocations: 3.349 MB / 1.859 GB, free: 165.4 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/3.282, allocations: 8.172 kB / 1.859 GB, free: 165.4 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04939/3.331, allocations: 15.86 MB / 1.874 GB, free: 149.4 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004877/3.336, allocations: 2.005 MB / 1.876 GB, free: 147.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002581/3.339, allocations: 167.9 kB / 1.877 GB, free: 147.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008048/3.347, allocations: 0.5566 MB / 1.877 GB, free: 146.7 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007022/3.348, allocations: 185.7 kB / 1.877 GB, free: 146.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008063/3.349, allocations: 147.8 kB / 1.877 GB, free: 146.4 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01288/3.361, allocations: 7.136 MB / 1.884 GB, free: 139.2 MB / 1.264 GB Notification: Performance of sort global known variables: time 5.61e-07/3.361, allocations: 0 / 1.884 GB, free: 139.2 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.009794/3.371, allocations: 1.947 MB / 1.886 GB, free: 137.3 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (varSpeDX.vol.dynBal.medium.Xi[1],varSpeDX.vol.dynBal.U,varSpeDX.watVapEva.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.dxCoi.wetCoi.coiCap.stage,varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],varSpeDX.dxCoi.wetCoi.shr.on,varSpeDX.dxCoi.dryCoi.coiCap.stage,varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],varSpeDX.watVapEva.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.dxCoi.wetCoi.coiCap.stage,varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[varSpeDX.dxCoi.wetCoi.coiCap.stage],varSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[varSpeDX.dxCoi.wetCoi.coiCap.stage],varSpeDX.dxCoi.dryCoi.coiCap.stage,varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[varSpeDX.dxCoi.dryCoi.coiCap.stage],varSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[varSpeDX.dxCoi.dryCoi.coiCap.stage],varSpeDX.watVapEva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (171): * Single equations (assignments): 151 * 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.002006/3.373, allocations: 0.5737 MB / 1.887 GB, free: 136.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0391/3.412, allocations: 18.89 MB / 1.905 GB, free: 117.7 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/3.412, allocations: 4.688 kB / 1.905 GB, free: 117.7 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/3.423, allocations: 4.608 MB / 1.91 GB, free: 113.1 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/3.433, allocations: 1.858 MB / 1.912 GB, free: 111.3 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04068/3.474, allocations: 16.83 MB / 1.928 GB, free: 94.39 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005344/3.479, allocations: 3.973 MB / 1.932 GB, free: 90.39 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003697/3.483, allocations: 499 kB / 1.932 GB, free: 89.91 MB / 1.264 GB Notification: Performance of SimCode: time 1.282e-06/3.483, allocations: 0 / 1.932 GB, free: 89.91 MB / 1.264 GB Notification: Performance of Templates: time 0.7865/4.269, allocations: 302.7 MB / 2.228 GB, free: 287.6 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed.makefile make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.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_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.o OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3744:134: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp337); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3744:219: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp337); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3744:66: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp337); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3750:69: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp340); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3750:137: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp340); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3750:202: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp340); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3756:134: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp343); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3756:219: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp343); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3756:66: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp343); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3762:69: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp346); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3762:137: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp346); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3762:202: error: use of undeclared identifier 'varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp346); ^ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3747:7: warning: expression result unused [-Wunused-value] tmp339; ^~~~~~ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3753:7: warning: expression result unused [-Wunused-value] tmp342; ^~~~~~ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3759:7: warning: expression result unused [-Wunused-value] tmp345; ^~~~~~ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3765:7: warning: expression result unused [-Wunused-value] tmp348; ^~~~~~ ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3854:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_varSpeDX_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_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3863:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_varSpeDX_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_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3872:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition5_, ((_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 3) && _discrete_events->pre(_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_varSpeDX_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_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3881:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition3_, ((_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 4) && _discrete_events->pre(_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_varSpeDX_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_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3900:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_varSpeDX_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_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3909:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_varSpeDX_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_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3918:132: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition4_, ((_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 3) && _discrete_events->pre(_varSpeDX_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_varSpeDX_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_11_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.o] Error 1