Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.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.Heating.AirSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.on|sinSpeDX.TOut|sinSpeDX.vol.T|sinSpeDX.port_a.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed") translateModel(Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinSpeDX.on|sinSpeDX.TOut|sinSpeDX.vol.T|sinSpeDX.port_a.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 103.7 kB / 16.27 MB, free: 5.98 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.001306/0.001306, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.478/1.478, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.641/2.641, allocations: 437.1 MB / 0.7111 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 66.92 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed): time 0.7686/1.075, allocations: 201.9 MB / 1.215 GB, free: 12.33 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02234/1.097, allocations: 14.6 MB / 1.229 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/1.099, allocations: 36.84 kB / 1.229 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004/1.104, allocations: 1.156 MB / 1.231 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00604/1.11, allocations: 1.891 MB / 1.232 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005424/1.115, allocations: 1.742 MB / 1.234 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005375/1.12, allocations: 3.301 MB / 1.237 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/1.123, allocations: 1.185 MB / 1.239 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/1.127, allocations: 1.42 MB / 1.24 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/1.129, allocations: 1.061 MB / 1.241 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005293/1.13, allocations: 188 kB / 1.241 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/1.136, allocations: 2.144 MB / 1.243 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001063/1.137, allocations: 0.6583 MB / 1.244 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001949/1.139, allocations: 1.042 MB / 1.245 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007873/1.147, allocations: 4.035 MB / 1.249 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.147, allocations: 0 / 1.249 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.258e-06/1.147, allocations: 3.984 kB / 1.249 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.553e-05/1.147, allocations: 0 / 1.249 GB, free: 13.27 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.007519/1.154, allocations: 2.545 MB / 1.251 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.154, allocations: 8.922 kB / 1.251 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/1.159, allocations: 0.583 MB / 1.252 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004264/1.164, allocations: 1.713 MB / 1.254 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/1.164, allocations: 167.1 kB / 1.254 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/1.164, allocations: 95.98 kB / 1.254 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/1.168, allocations: 1.538 MB / 1.255 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/1.168, allocations: 0 / 1.255 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/1.168, allocations: 39.98 kB / 1.255 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/1.168, allocations: 34 kB / 1.255 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/1.172, allocations: 1.64 MB / 1.257 GB, free: 4.746 MB / 0.9512 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.01149/1.183, allocations: 5.884 MB / 1.263 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/1.19, allocations: 1.892 MB / 1.265 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/1.192, allocations: 0.7259 MB / 1.265 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007442/1.193, allocations: 0.7408 MB / 1.266 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/1.195, allocations: 0.909 MB / 1.267 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=75): time 3.546e-06/1.195, allocations: 0 / 1.267 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=77): time 0.0111/1.206, allocations: 4.231 MB / 1.271 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/1.206, allocations: 89.77 kB / 1.271 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/1.209, allocations: 1.995 MB / 1.273 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003272/1.21, allocations: 53.7 kB / 1.273 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009746/1.211, allocations: 0.7412 MB / 1.274 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/1.211, allocations: 264.2 kB / 1.274 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004217/1.211, allocations: 194.5 kB / 1.274 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.212, allocations: 341.9 kB / 1.275 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/1.213, allocations: 0.7864 MB / 1.275 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/1.215, allocations: 0.9237 MB / 1.276 GB, free: 400 kB / 0.9669 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start (101325.0 = sinSpeDX.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/1.227, allocations: 4.546 MB / 1.281 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/1.227, allocations: 4 kB / 1.281 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004976/1.232, allocations: 2.058 MB / 1.283 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-05/1.232, allocations: 75.39 kB / 1.283 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.232, allocations: 0 / 1.283 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006591/1.233, allocations: 100.8 kB / 1.283 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.234, allocations: 199.7 kB / 1.283 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/1.237, allocations: 1.731 MB / 1.285 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.238, allocations: 60 kB / 1.285 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.238, allocations: 47.97 kB / 1.285 GB, free: 7.297 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002789/1.241, allocations: 1.299 MB / 1.286 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001778/1.243, allocations: 0.916 MB / 1.287 GB, free: 5.023 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start (101325.0 = sinSpeDX.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01129/1.254, allocations: 4.51 MB / 1.291 GB, free: 428 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/1.254, allocations: 3.938 kB / 1.291 GB, free: 424 kB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.004968/1.259, allocations: 2.061 MB / 1.293 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.259, allocations: 75.38 kB / 1.294 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.259, allocations: 4.125 kB / 1.294 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/1.26, allocations: 92.77 kB / 1.294 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.261, allocations: 203.7 kB / 1.294 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/1.263, allocations: 1.719 MB / 1.295 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/1.265, allocations: 71.84 kB / 1.296 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.265, allocations: 39.97 kB / 1.296 GB, free: 11.97 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.sinSpeDX.defTimFra.hysTOut.y,sinSpeDX.i_x,$PRE.sinSpeDX.dxCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.dxCoi.coiCap.checkBoundsTEva[1],sinSpeDX.defTimFra.hysTOut.y,onOff.y,sinSpeDX.dxCoi.coiCap.checkBoundsTCon[1],sinSpeDX.dxCoi.coiCap.checkBoundsTEva[1],sinSpeDX.dxCoi.coiCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 97 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004142/1.266, allocations: 249.8 kB / 1.296 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/1.266, allocations: 162 kB / 1.296 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/1.27, allocations: 1.639 MB / 1.298 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/1.27, allocations: 8 kB / 1.298 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.27, allocations: 0 / 1.298 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003351/1.274, allocations: 1.461 MB / 1.299 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008179/1.282, allocations: 3.991 MB / 1.303 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.282, allocations: 11.94 kB / 1.303 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.283, allocations: 175.9 kB / 1.303 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/1.283, allocations: 96.75 kB / 1.303 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/1.283, allocations: 27.97 kB / 1.303 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.286, allocations: 1.748 MB / 1.305 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.286, allocations: 4 kB / 1.305 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005575/1.291, allocations: 2.667 MB / 1.308 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.292, allocations: 450.9 kB / 1.308 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004066/1.293, allocations: 28.06 kB / 1.308 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/1.294, allocations: 63.92 kB / 1.308 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/1.294, allocations: 72.42 kB / 1.308 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.295, allocations: 39.97 kB / 1.308 GB, free: 14.69 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002564/1.297, allocations: 1.405 MB / 1.31 GB, free: 13.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.297, allocations: 0 / 1.31 GB, free: 13.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00253/1.3, allocations: 0.6328 MB / 1.31 GB, free: 12.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (sinSpeDX.vol.dynBal.medium.Xi[1],sinSpeDX.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,sinSpeDX.dxCoi.coiCap.stage,sinSpeDX.dxCoi.coiCap.checkBoundsTEva[1],sinSpeDX.dxCoi.coiCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 3 (sinSpeDX.dxCoi.coiCap.stage,sinSpeDX.dxCoi.coiCap.checkBoundsTCon[sinSpeDX.dxCoi.coiCap.stage],sinSpeDX.dxCoi.coiCap.checkBoundsTEva[sinSpeDX.dxCoi.coiCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000908/1.301, allocations: 313.8 kB / 1.31 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007154/1.308, allocations: 3.12 MB / 1.313 GB, free: 9.168 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.308, allocations: 0 / 1.313 GB, free: 9.168 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.31, allocations: 0.8581 MB / 1.314 GB, free: 8.293 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/1.314, allocations: 0.728 MB / 1.315 GB, free: 7.582 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008178/1.322, allocations: 3.664 MB / 1.319 GB, free: 3.824 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.324, allocations: 1.5 MB / 1.32 GB, free: 2.293 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/1.325, allocations: 147.3 kB / 1.32 GB, free: 2.152 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.325, allocations: 0 / 1.32 GB, free: 2.152 MB / 1.014 GB Notification: Performance of Templates: time 0.06078/1.386, allocations: 37.6 MB / 1.357 GB, free: 12.68 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.makefile make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.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.Heating.AirSource.Examples.SingleSpeedCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1395:125: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp77); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1395:201: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp77); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1395:66: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_'; did you mean '_sinSpeDX_P_dxCoi_P_coiCap_P_sta1_P_perCur_P_capFunT_'? _functions->Buildings_Utilities_Math_Functions_biquadratic(sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp77); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _sinSpeDX_P_dxCoi_P_coiCap_P_sta1_P_perCur_P_capFunT_ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.h:403:36: note: '_sinSpeDX_P_dxCoi_P_coiCap_P_sta1_P_perCur_P_capFunT_' declared here StatArrayDim1 _sinSpeDX_P_dxCoi_P_coiCap_P_sta1_P_perCur_P_capFunT_; ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1401:69: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp80); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1401:128: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp80); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1401:184: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp80); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1407:125: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp83); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1407:201: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp83); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1407:66: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_'; did you mean '_sinSpeDX_P_dxCoi_P_coiCap_P_sta1_P_perCur_P_EIRFunT_'? _functions->Buildings_Utilities_Math_Functions_biquadratic(sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp83); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _sinSpeDX_P_dxCoi_P_coiCap_P_sta1_P_perCur_P_EIRFunT_ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.h:397:36: note: '_sinSpeDX_P_dxCoi_P_coiCap_P_sta1_P_perCur_P_EIRFunT_' declared here StatArrayDim1 _sinSpeDX_P_dxCoi_P_coiCap_P_sta1_P_perCur_P_EIRFunT_; ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1413:69: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp86); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1413:128: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp86); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1413:184: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, sinSpeDX_P_dxCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp86); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1398:7: warning: expression result unused [-Wunused-value] tmp79; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1404:7: warning: expression result unused [-Wunused-value] tmp82; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1410:7: warning: expression result unused [-Wunused-value] tmp85; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1416:7: warning: expression result unused [-Wunused-value] tmp88; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1445:123: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition1_, ((_sinSpeDX_P_dxCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_sinSpeDX_P_dxCoi_P_coiCap_P_checkBoundsTCon_)(_sinSpeDX_P_dxCoi_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.Heating.AirSource.Examples.SingleSpeedCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedInitialize.cpp:1464:123: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition2_, ((_sinSpeDX_P_dxCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_sinSpeDX_P_dxCoi_P_coiCap_P_checkBoundsTEva_)(_sinSpeDX_P_dxCoi_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.Heating.AirSource.Examples.SingleSpeedCalcHelperMain.cpp:33: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.cpp:1196:23: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TEvaInMax_' if (!(!((273.15 > sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TEvaInMax_) || (273.15 < sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TEvaInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.cpp:1196:125: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TEvaInMin_' if (!(!((273.15 > sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TEvaInMax_) || (273.15 < sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TEvaInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.cpp:1236:44: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TConInMax_' if (!(!((_sinSpeDX_P_dxCoi_P_TConIn_ > sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TConInMax_) || (_sinSpeDX_P_dxCoi_P_TConIn_ < sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TConInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed.cpp:1236:167: error: use of undeclared identifier 'sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TConInMin_' if (!(!((_sinSpeDX_P_dxCoi_P_TConIn_ > sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TConInMax_) || (_sinSpeDX_P_dxCoi_P_TConIn_ < sinSpeDX_P_dxCoi_P_coiCap_P_stasinSpeDX_P_dxCoi_P_coiCap_P_stage__P_perCur_P_TConInMin_)))) ^ 4 warnings and 18 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeedCalcHelperMain.o] Error 1