Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001394/0.001394, allocations: 106.5 kB / 16.41 MB, free: 6.453 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.001553/0.001554, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.9731, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed): time 0.244/1.217, allocations: 205.7 MB / 1.368 GB, free: 5.43 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02865/1.246, allocations: 20.91 MB / 1.389 GB, free: 464 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/1.249, allocations: 51.69 kB / 1.389 GB, free: 412 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004195/1.253, allocations: 1.262 MB / 1.39 GB, free: 15.13 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008301/1.261, allocations: 2.559 MB / 1.392 GB, free: 12.56 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.008698/1.27, allocations: 3.372 MB / 1.396 GB, free: 9.215 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01011/1.28, allocations: 8.382 MB / 1.404 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005131/1.286, allocations: 2.973 MB / 1.407 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006411/1.292, allocations: 3.097 MB / 1.41 GB, free: 10.7 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00483/1.297, allocations: 2.893 MB / 1.413 GB, free: 7.805 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/1.299, allocations: 0.7617 MB / 1.413 GB, free: 7.043 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008538/1.307, allocations: 4.239 MB / 1.417 GB, free: 2.797 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003034/1.31, allocations: 2.405 MB / 1.42 GB, free: 396 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005753/1.316, allocations: 3.645 MB / 1.423 GB, free: 12.73 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01983/1.336, allocations: 15.64 MB / 1.439 GB, free: 13.04 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.336, allocations: 3.938 kB / 1.439 GB, free: 13.04 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.443e-06/1.336, allocations: 0 / 1.439 GB, free: 13.04 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002799/1.336, allocations: 0 / 1.439 GB, free: 13.04 MB / 1.17 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.02074/1.357, allocations: 7.423 MB / 1.446 GB, free: 5.48 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.357, allocations: 12.03 kB / 1.446 GB, free: 5.469 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03521/1.392, allocations: 3.66 MB / 1.45 GB, free: 1.797 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/1.409, allocations: 6.733 MB / 1.456 GB, free: 10.97 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008807/1.41, allocations: 409.6 kB / 1.456 GB, free: 10.54 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/1.411, allocations: 172 kB / 1.457 GB, free: 10.37 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/1.429, allocations: 6.592 MB / 1.463 GB, free: 3.734 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/1.429, allocations: 3.984 kB / 1.463 GB, free: 3.73 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008436/1.43, allocations: 67.98 kB / 1.463 GB, free: 3.664 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.619e-05/1.43, allocations: 54.94 kB / 1.463 GB, free: 3.609 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02533/1.456, allocations: 8.888 MB / 1.472 GB, free: 10.71 MB / 1.201 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.05709/1.513, allocations: 24.17 MB / 1.495 GB, free: 2.309 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02871/1.541, allocations: 8.896 MB / 1.504 GB, free: 9.402 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/1.553, allocations: 4.115 MB / 1.508 GB, free: 5.281 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1.554, allocations: 1.211 MB / 1.509 GB, free: 3.812 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0136/1.568, allocations: 5.524 MB / 1.515 GB, free: 14.27 MB / 1.248 GB Notification: Performance of pre-optimization done (n=182): time 1.51e-05/1.568, allocations: 0 / 1.515 GB, free: 14.27 MB / 1.248 GB Notification: Performance of matching and sorting (n=184): time 0.09301/1.661, allocations: 22.6 MB / 1.537 GB, free: 7.508 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.661, allocations: 140.8 kB / 1.537 GB, free: 7.348 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02291/1.684, allocations: 10.04 MB / 1.547 GB, free: 13.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001327/1.686, allocations: 109.7 kB / 1.547 GB, free: 13.19 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00458/1.69, allocations: 2.303 MB / 1.549 GB, free: 10.88 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.692, allocations: 0.57 MB / 1.55 GB, free: 10.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003254/1.695, allocations: 0.5538 MB / 1.55 GB, free: 9.734 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.695, allocations: 309.1 kB / 1.551 GB, free: 9.43 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01451/1.71, allocations: 5.081 MB / 1.555 GB, free: 4.34 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8463/2.556, allocations: 5.225 MB / 1.561 GB, free: 372.6 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): time 0.3967/2.953, allocations: 150.8 MB / 1.708 GB, free: 237.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/2.953, allocations: 4 kB / 1.708 GB, free: 237.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.04781/3.001, allocations: 12.33 MB / 1.72 GB, free: 225.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001761/3.001, allocations: 166.9 kB / 1.72 GB, free: 225.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/3.001, allocations: 3.5 kB / 1.72 GB, free: 225.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00668/3.008, allocations: 1.508 MB / 1.721 GB, free: 223.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006362/3.014, allocations: 0.7799 MB / 1.722 GB, free: 223 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/3.028, allocations: 13.98 MB / 1.736 GB, free: 208.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008902/3.037, allocations: 0.5289 MB / 1.736 GB, free: 207.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/3.038, allocations: 163.8 kB / 1.737 GB, free: 207.5 MB / 1.279 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.01514/3.053, allocations: 7.355 MB / 1.744 GB, free: 200.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01131/3.065, allocations: 5.21 MB / 1.749 GB, free: 194.9 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 0.3782/3.443, allocations: 150.5 MB / 1.896 GB, free: 44.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.059e-06/3.443, allocations: 0 / 1.896 GB, free: 44.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=259) (initialization_lambda0): time 0.04439/3.487, allocations: 12.13 MB / 1.908 GB, free: 32.21 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001726/3.488, allocations: 158.8 kB / 1.908 GB, free: 32.03 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/3.488, allocations: 4 kB / 1.908 GB, free: 32.02 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004916/3.493, allocations: 1.314 MB / 1.909 GB, free: 30.68 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005897/3.499, allocations: 0.7838 MB / 1.91 GB, free: 29.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009953/3.508, allocations: 12.28 MB / 1.922 GB, free: 16.79 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008489/3.517, allocations: 0.5265 MB / 1.922 GB, free: 16.26 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009867/3.518, allocations: 163.8 kB / 1.923 GB, free: 16.1 MB / 1.279 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.001883/3.52, allocations: 383.4 kB / 1.923 GB, free: 15.71 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002651/3.523, allocations: 0.5433 MB / 1.923 GB, free: 15.21 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04338/3.566, allocations: 10.33 MB / 1.934 GB, free: 4.852 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.034e-05/3.566, allocations: 23.94 kB / 1.934 GB, free: 4.828 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/3.566, allocations: 0 / 1.934 GB, free: 4.828 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04227/3.608, allocations: 9.367 MB / 1.943 GB, free: 11.42 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06913/3.678, allocations: 20.59 MB / 1.963 GB, free: 6.77 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/3.678, allocations: 4.031 kB / 1.963 GB, free: 6.766 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005976/3.684, allocations: 0.702 MB / 1.963 GB, free: 6.062 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/3.685, allocations: 490 kB / 1.964 GB, free: 5.574 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000865/3.686, allocations: 111.8 kB / 1.964 GB, free: 5.465 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/3.691, allocations: 3.332 MB / 1.967 GB, free: 1.938 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/3.691, allocations: 4 kB / 1.967 GB, free: 1.934 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06003/3.751, allocations: 15.86 MB / 1.983 GB, free: 1.992 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006836/3.758, allocations: 2.009 MB / 1.985 GB, free: 15.96 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002778/3.761, allocations: 171.8 kB / 1.985 GB, free: 15.8 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008652/3.769, allocations: 0.5236 MB / 1.985 GB, free: 15.27 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000728/3.77, allocations: 181.7 kB / 1.986 GB, free: 15.1 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008659/3.771, allocations: 147.8 kB / 1.986 GB, free: 14.95 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01662/3.788, allocations: 7.139 MB / 1.993 GB, free: 7.82 MB / 1.342 GB Notification: Performance of sort global known variables: time 6.01e-07/3.788, allocations: 0 / 1.993 GB, free: 7.82 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.01142/3.799, allocations: 1.948 MB / 1.995 GB, free: 5.898 MB / 1.342 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.002202/3.801, allocations: 0.5806 MB / 1.995 GB, free: 5.395 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.04492/3.846, allocations: 17.93 MB / 2.013 GB, free: 3.215 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/3.846, allocations: 4.562 kB / 2.013 GB, free: 3.211 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/3.86, allocations: 4.612 MB / 2.017 GB, free: 14.57 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/3.873, allocations: 1.848 MB / 2.019 GB, free: 12.79 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04563/3.919, allocations: 15.36 MB / 2.034 GB, free: 13.39 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005479/3.924, allocations: 3.965 MB / 2.038 GB, free: 9.402 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004099/3.929, allocations: 0.4912 MB / 2.038 GB, free: 8.91 MB / 1.389 GB Notification: Performance of SimCode: time 1.373e-06/3.929, allocations: 4 kB / 2.038 GB, free: 8.906 MB / 1.389 GB Notification: Performance of Templates: time 1.153/5.081, allocations: 303.5 MB / 2.335 GB, free: 314.5 MB / 1.451 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeed.makefile make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3747:7: warning: expression result unused [-Wunused-value] tmp339; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3753:7: warning: expression result unused [-Wunused-value] tmp342; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3759:7: warning: expression result unused [-Wunused-value] tmp345; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedInitialize.cpp:3765:7: warning: expression result unused [-Wunused-value] tmp348; ^~~~~~ ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.VariableSpeedCalcHelperMain.o] Error 1