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.001847/0.001846, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001991/0.001991, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.14 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.545/2.545, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.852, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed): time 0.2209/1.073, allocations: 201.9 MB / 1.364 GB, free: 9.234 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0223/1.095, allocations: 14.6 MB / 1.379 GB, free: 10.58 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/1.098, allocations: 39.81 kB / 1.379 GB, free: 10.54 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00379/1.102, allocations: 1.177 MB / 1.38 GB, free: 9.359 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005823/1.107, allocations: 1.96 MB / 1.382 GB, free: 7.391 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005062/1.113, allocations: 1.757 MB / 1.384 GB, free: 5.648 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005972/1.119, allocations: 3.315 MB / 1.387 GB, free: 2.324 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/1.121, allocations: 1.182 MB / 1.388 GB, free: 1.109 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/1.125, allocations: 1.464 MB / 1.389 GB, free: 15.67 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/1.127, allocations: 1.066 MB / 1.39 GB, free: 14.6 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005775/1.128, allocations: 188 kB / 1.391 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004489/1.132, allocations: 2.16 MB / 1.393 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009658/1.133, allocations: 0.6623 MB / 1.393 GB, free: 11.59 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001928/1.135, allocations: 1.046 MB / 1.394 GB, free: 10.54 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007422/1.143, allocations: 4.078 MB / 1.398 GB, free: 6.445 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.143, allocations: 0 / 1.398 GB, free: 6.445 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.415e-06/1.143, allocations: 3.938 kB / 1.398 GB, free: 6.441 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001029/1.143, allocations: 0 / 1.398 GB, free: 6.441 MB / 1.123 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.007334/1.15, allocations: 2.541 MB / 1.401 GB, free: 3.824 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.15, allocations: 12.62 kB / 1.401 GB, free: 3.812 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/1.155, allocations: 0.579 MB / 1.401 GB, free: 3.23 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005171/1.16, allocations: 1.745 MB / 1.403 GB, free: 1.434 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/1.161, allocations: 167.1 kB / 1.403 GB, free: 1.254 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005241/1.161, allocations: 95.91 kB / 1.403 GB, free: 1.16 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/1.166, allocations: 1.538 MB / 1.405 GB, free: 15.6 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/1.166, allocations: 0 / 1.405 GB, free: 15.6 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/1.166, allocations: 32 kB / 1.405 GB, free: 15.57 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/1.166, allocations: 41.98 kB / 1.405 GB, free: 15.53 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/1.17, allocations: 1.636 MB / 1.407 GB, free: 13.89 MB / 1.139 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.01116/1.181, allocations: 5.857 MB / 1.412 GB, free: 7.828 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007308/1.188, allocations: 1.888 MB / 1.414 GB, free: 5.934 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/1.19, allocations: 0.7267 MB / 1.415 GB, free: 5.207 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006363/1.19, allocations: 0.733 MB / 1.416 GB, free: 4.309 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/1.192, allocations: 0.9129 MB / 1.416 GB, free: 3.375 MB / 1.139 GB Notification: Performance of pre-optimization done (n=75): time 5.32e-06/1.192, allocations: 0 / 1.416 GB, free: 3.375 MB / 1.139 GB Notification: Performance of matching and sorting (n=77): time 0.01078/1.203, allocations: 4.238 MB / 1.421 GB, free: 15.05 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/1.203, allocations: 89.75 kB / 1.421 GB, free: 14.95 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/1.206, allocations: 2.003 MB / 1.423 GB, free: 12.94 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/1.207, allocations: 49.7 kB / 1.423 GB, free: 12.88 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007525/1.207, allocations: 0.7335 MB / 1.423 GB, free: 12.14 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/1.208, allocations: 256.2 kB / 1.424 GB, free: 11.89 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/1.208, allocations: 206.4 kB / 1.424 GB, free: 11.68 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.208, allocations: 341.9 kB / 1.424 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/1.21, allocations: 0.7864 MB / 1.425 GB, free: 10.55 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.211, allocations: 0.9198 MB / 1.426 GB, free: 9.574 MB / 1.154 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.01105/1.223, allocations: 4.54 MB / 1.43 GB, free: 4.945 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.223, allocations: 0 / 1.43 GB, free: 4.945 MB / 1.154 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004645/1.227, allocations: 2.054 MB / 1.432 GB, free: 2.863 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.04e-05/1.227, allocations: 75.39 kB / 1.432 GB, free: 2.777 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.227, allocations: 4 kB / 1.432 GB, free: 2.773 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006912/1.228, allocations: 100.8 kB / 1.432 GB, free: 2.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.229, allocations: 199.7 kB / 1.433 GB, free: 2.477 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/1.231, allocations: 1.731 MB / 1.434 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.233, allocations: 60 kB / 1.434 GB, free: 0.543 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/1.233, allocations: 47.97 kB / 1.434 GB, free: 0.4961 MB / 1.154 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.002428/1.236, allocations: 1.295 MB / 1.436 GB, free: 15.19 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001663/1.237, allocations: 0.916 MB / 1.437 GB, free: 14.22 MB / 1.17 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.01057/1.248, allocations: 4.522 MB / 1.441 GB, free: 9.605 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.756e-06/1.248, allocations: 0 / 1.441 GB, free: 9.605 MB / 1.17 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.004599/1.253, allocations: 2.061 MB / 1.443 GB, free: 7.523 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/1.253, allocations: 75.38 kB / 1.443 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.253, allocations: 4 kB / 1.443 GB, free: 7.434 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006548/1.253, allocations: 92.89 kB / 1.443 GB, free: 7.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/1.255, allocations: 203.7 kB / 1.443 GB, free: 7.141 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/1.257, allocations: 1.715 MB / 1.445 GB, free: 5.281 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/1.259, allocations: 63.88 kB / 1.445 GB, free: 5.219 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.259, allocations: 43.97 kB / 1.445 GB, free: 5.176 MB / 1.17 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.0004303/1.259, allocations: 240.1 kB / 1.445 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/1.26, allocations: 165.9 kB / 1.445 GB, free: 4.77 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/1.264, allocations: 1.635 MB / 1.447 GB, free: 3.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.264, allocations: 8 kB / 1.447 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.264, allocations: 0 / 1.447 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003098/1.267, allocations: 1.461 MB / 1.449 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008055/1.275, allocations: 3.995 MB / 1.452 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.275, allocations: 8 kB / 1.452 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.276, allocations: 183.9 kB / 1.453 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/1.276, allocations: 88.84 kB / 1.453 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/1.277, allocations: 35.91 kB / 1.453 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/1.279, allocations: 1.736 MB / 1.454 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/1.279, allocations: 11.94 kB / 1.454 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/1.284, allocations: 2.664 MB / 1.457 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.285, allocations: 450.8 kB / 1.457 GB, free: 8.078 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/1.286, allocations: 24 kB / 1.457 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.287, allocations: 63.98 kB / 1.458 GB, free: 7.992 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/1.287, allocations: 80.36 kB / 1.458 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.287, allocations: 35.97 kB / 1.458 GB, free: 7.879 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00252/1.29, allocations: 1.405 MB / 1.459 GB, free: 6.48 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/1.29, allocations: 0 / 1.459 GB, free: 6.48 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00255/1.293, allocations: 0.6405 MB / 1.46 GB, free: 5.84 MB / 1.186 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.0008977/1.293, allocations: 306.6 kB / 1.46 GB, free: 5.555 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005868/1.299, allocations: 2.991 MB / 1.463 GB, free: 2.492 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.299, allocations: 0 / 1.463 GB, free: 2.492 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.301, allocations: 0.8739 MB / 1.464 GB, free: 1.609 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003523/1.305, allocations: 0.7305 MB / 1.464 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/1.312, allocations: 3.629 MB / 1.468 GB, free: 13.17 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/1.314, allocations: 1.489 MB / 1.469 GB, free: 11.66 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/1.314, allocations: 147.3 kB / 1.47 GB, free: 11.51 MB / 1.201 GB Notification: Performance of SimCode: time 7.72e-07/1.314, allocations: 0 / 1.47 GB, free: 11.51 MB / 1.201 GB Notification: Performance of Templates: time 0.05238/1.367, allocations: 37.8 MB / 1.506 GB, free: 5.824 MB / 1.232 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