Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.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_latest_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_latest_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.00163/0.00163, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 197.7 kB / 16.79 MB, free: 6.809 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.469/1.469, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 66.2 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3231, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed): time 1.039/1.362, allocations: 203.4 MB / 1.251 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02877/1.391, allocations: 21.09 MB / 1.272 GB, free: 18.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/1.395, allocations: 38.31 kB / 1.272 GB, free: 18.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004482/1.399, allocations: 1.124 MB / 1.273 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009632/1.409, allocations: 2.271 MB / 1.275 GB, free: 18.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01111/1.42, allocations: 3.018 MB / 1.278 GB, free: 18.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01556/1.436, allocations: 8.519 MB / 1.287 GB, free: 18.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005847/1.441, allocations: 2.513 MB / 1.289 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008849/1.45, allocations: 2.507 MB / 1.291 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007178/1.458, allocations: 2.629 MB / 1.294 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002714/1.46, allocations: 338.2 kB / 1.294 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01455/1.475, allocations: 4.14 MB / 1.298 GB, free: 17.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004219/1.479, allocations: 1.989 MB / 1.3 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01057/1.49, allocations: 3.148 MB / 1.303 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0186/1.508, allocations: 13.41 MB / 1.317 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.508, allocations: 0 / 1.317 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/1.508, allocations: 0 / 1.317 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003708/1.509, allocations: 4 kB / 1.317 GB, free: 15.18 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.02945/1.538, allocations: 7.417 MB / 1.324 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.538, allocations: 16.41 kB / 1.324 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03545/1.574, allocations: 3.648 MB / 1.327 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/1.59, allocations: 6.71 MB / 1.334 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006794/1.591, allocations: 416.3 kB / 1.334 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009598/1.592, allocations: 183.8 kB / 1.334 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/1.608, allocations: 6.587 MB / 1.341 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/1.608, allocations: 4 kB / 1.341 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005757/1.609, allocations: 67.81 kB / 1.341 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.654e-05/1.609, allocations: 61.52 kB / 1.341 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.023/1.632, allocations: 8.874 MB / 1.35 GB, free: 15.95 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06022/1.692, allocations: 24.21 MB / 1.373 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03074/1.723, allocations: 8.883 MB / 1.382 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01118/1.734, allocations: 4.119 MB / 1.386 GB, free: 452 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/1.736, allocations: 1.21 MB / 1.387 GB, free: 14.99 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01462/1.75, allocations: 5.535 MB / 1.393 GB, free: 9.438 MB / 1.045 GB Notification: Performance of pre-optimization done (n=182): time 6.602e-06/1.75, allocations: 0 / 1.393 GB, free: 9.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=184): time 0.09886/1.849, allocations: 22.6 MB / 1.415 GB, free: 2.711 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/1.849, allocations: 147.8 kB / 1.415 GB, free: 2.543 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02646/1.876, allocations: 10.04 MB / 1.425 GB, free: 8.508 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001764/1.878, allocations: 109.7 kB / 1.425 GB, free: 8.395 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.005376/1.883, allocations: 2.308 MB / 1.427 GB, free: 6.078 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001773/1.885, allocations: 0.5668 MB / 1.428 GB, free: 5.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003402/1.888, allocations: 0.5538 MB / 1.428 GB, free: 4.961 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.888, allocations: 307.7 kB / 1.428 GB, free: 4.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01226/1.901, allocations: 5.077 MB / 1.433 GB, free: 15.57 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01287/1.914, allocations: 5.24 MB / 1.438 GB, free: 10.29 MB / 1.092 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.4239/2.337, allocations: 150.8 MB / 1.586 GB, free: 3.227 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/2.338, allocations: 0 / 1.586 GB, free: 3.227 MB / 1.232 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.05486/2.392, allocations: 12.33 MB / 1.598 GB, free: 6.863 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/2.393, allocations: 162.8 kB / 1.598 GB, free: 6.68 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/2.393, allocations: 4 kB / 1.598 GB, free: 6.676 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007627/2.4, allocations: 1.511 MB / 1.599 GB, free: 5.148 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0069/2.407, allocations: 0.7806 MB / 1.6 GB, free: 4.387 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/2.424, allocations: 13.16 MB / 1.613 GB, free: 6.434 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/2.435, allocations: 0.5693 MB / 1.614 GB, free: 5.863 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/2.436, allocations: 167.8 kB / 1.614 GB, free: 5.699 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.01874/2.455, allocations: 7.341 MB / 1.621 GB, free: 14.35 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01337/2.468, allocations: 5.212 MB / 1.626 GB, free: 9.086 MB / 1.279 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.16/3.628, allocations: 150.5 MB / 1.773 GB, free: 0.56 GB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/3.628, allocations: 5.031 kB / 1.773 GB, free: 0.56 GB / 1.404 GB Notification: Performance of matching and sorting (n=259) (initialization_lambda0): time 0.05129/3.68, allocations: 12.12 MB / 1.785 GB, free: 0.5597 GB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002248/3.68, allocations: 167 kB / 1.785 GB, free: 0.5596 GB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/3.68, allocations: 1.469 kB / 1.785 GB, free: 0.5596 GB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00541/3.685, allocations: 1.317 MB / 1.786 GB, free: 0.5595 GB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00652/3.692, allocations: 0.7785 MB / 1.787 GB, free: 0.5595 GB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/3.703, allocations: 11.54 MB / 1.798 GB, free: 0.5511 GB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009917/3.713, allocations: 0.5697 MB / 1.799 GB, free: 0.5511 GB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/3.714, allocations: 162.8 kB / 1.799 GB, free: 0.5511 GB / 1.404 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.00157/3.716, allocations: 381.1 kB / 1.799 GB, free: 0.5508 GB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003904/3.72, allocations: 0.5401 MB / 1.8 GB, free: 0.5508 GB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04754/3.768, allocations: 10.33 MB / 1.81 GB, free: 0.5485 GB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/3.768, allocations: 20.34 kB / 1.81 GB, free: 0.5485 GB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/3.768, allocations: 0 / 1.81 GB, free: 0.5485 GB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04203/3.81, allocations: 9.377 MB / 1.819 GB, free: 0.5455 GB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05962/3.869, allocations: 20.59 MB / 1.839 GB, free: 0.5299 GB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/3.869, allocations: 11.97 kB / 1.839 GB, free: 0.5299 GB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005462/3.875, allocations: 0.7059 MB / 1.84 GB, free: 0.5292 GB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/3.876, allocations: 484.9 kB / 1.84 GB, free: 0.5287 GB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007538/3.877, allocations: 115.8 kB / 1.84 GB, free: 0.5286 GB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/3.881, allocations: 3.219 MB / 1.844 GB, free: 0.5253 GB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/3.881, allocations: 4 kB / 1.844 GB, free: 0.5253 GB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05281/3.933, allocations: 15.86 MB / 1.859 GB, free: 0.5099 GB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008675/3.942, allocations: 2.001 MB / 1.861 GB, free: 0.5079 GB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004223/3.946, allocations: 171.9 kB / 1.861 GB, free: 0.5077 GB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009236/3.956, allocations: 0.5646 MB / 1.862 GB, free: 0.5072 GB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007284/3.956, allocations: 173.8 kB / 1.862 GB, free: 0.507 GB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000941/3.957, allocations: 143.8 kB / 1.862 GB, free: 0.5069 GB / 1.404 GB Notification: Performance of sorting global known variables: time 0.02091/3.978, allocations: 7.143 MB / 1.869 GB, free: 0.4999 GB / 1.404 GB Notification: Performance of sort global known variables: time 1.253e-06/3.978, allocations: 0 / 1.869 GB, free: 0.4999 GB / 1.404 GB Notification: Performance of remove unused functions: time 0.01622/3.995, allocations: 1.947 MB / 1.871 GB, free: 0.498 GB / 1.404 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.002986/3.998, allocations: 0.5658 MB / 1.872 GB, free: 0.4976 GB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.04285/4.041, allocations: 17.89 MB / 1.889 GB, free: 491.4 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/4.041, allocations: 4.562 kB / 1.889 GB, free: 491.4 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.01294/4.054, allocations: 4.597 MB / 1.893 GB, free: 486.7 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01822/4.072, allocations: 1.785 MB / 1.895 GB, free: 485 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0479/4.12, allocations: 16.83 MB / 1.912 GB, free: 468.1 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007345/4.127, allocations: 3.973 MB / 1.916 GB, free: 464.1 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005214/4.132, allocations: 499 kB / 1.916 GB, free: 463.6 MB / 1.404 GB Notification: Performance of SimCode: time 1.563e-06/4.132, allocations: 0 / 1.916 GB, free: 463.6 MB / 1.404 GB Notification: Performance of Templates: time 0.4039/4.536, allocations: 302.8 MB / 2.212 GB, free: 160.8 MB / 1.404 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3747:7: warning: expression result unused [-Wunused-value] tmp339; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3753:7: warning: expression result unused [-Wunused-value] tmp342; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3759:7: warning: expression result unused [-Wunused-value] tmp345; ^~~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3765:7: warning: expression result unused [-Wunused-value] tmp348; ^~~~~~ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.o] Error 1