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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009704/0.0009705, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 186.4 kB / 16.92 MB, free: 6.75 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 8 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6527, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Heating.AirSource.Examples.SingleSpeed): time 0.2026/0.8553, allocations: 197 MB / 1.216 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01986/0.8752, allocations: 14.52 MB / 1.23 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.8774, allocations: 31.81 kB / 1.23 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.8808, allocations: 1.041 MB / 1.231 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005249/0.8861, allocations: 1.762 MB / 1.233 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.8906, allocations: 1.549 MB / 1.235 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005134/0.8958, allocations: 4.019 MB / 1.238 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.8977, allocations: 0.9939 MB / 1.239 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004373/0.902, allocations: 1.187 MB / 1.241 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7385/1.641, allocations: 1.001 MB / 1.242 GB, free: 20.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00071/1.641, allocations: 76.75 kB / 1.242 GB, free: 20.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005975/1.647, allocations: 2.268 MB / 1.244 GB, free: 20.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/1.648, allocations: 0.5494 MB / 1.244 GB, free: 20.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001714/1.65, allocations: 0.9378 MB / 1.245 GB, free: 20.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006214/1.656, allocations: 3.172 MB / 1.248 GB, free: 20.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.656, allocations: 1.562 kB / 1.248 GB, free: 20.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.375e-06/1.656, allocations: 4.688 kB / 1.248 GB, free: 20.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.907e-05/1.656, allocations: 0 / 1.248 GB, free: 20.21 MB / 0.9825 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.006919/1.663, allocations: 2.174 MB / 1.251 GB, free: 19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.663, allocations: 11.78 kB / 1.251 GB, free: 19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/1.669, allocations: 0.5997 MB / 1.251 GB, free: 18.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/1.674, allocations: 1.714 MB / 1.253 GB, free: 18.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/1.674, allocations: 165.7 kB / 1.253 GB, free: 18.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/1.674, allocations: 98.83 kB / 1.253 GB, free: 18.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004118/1.678, allocations: 1.542 MB / 1.255 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/1.679, allocations: 0.5 kB / 1.255 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/1.679, allocations: 35.52 kB / 1.255 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.085e-05/1.679, allocations: 35.55 kB / 1.255 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/1.683, allocations: 1.657 MB / 1.256 GB, free: 18.19 MB / 0.9825 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.01138/1.695, allocations: 5.863 MB / 1.262 GB, free: 16.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00746/1.702, allocations: 1.944 MB / 1.264 GB, free: 16.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/1.704, allocations: 0.7304 MB / 1.265 GB, free: 16.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/1.704, allocations: 0.7468 MB / 1.265 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/1.706, allocations: 0.91 MB / 1.266 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=75): time 3.016e-06/1.706, allocations: 3.75 kB / 1.266 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=77): time 0.01074/1.717, allocations: 4.263 MB / 1.27 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.717, allocations: 90.7 kB / 1.27 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/1.72, allocations: 2.004 MB / 1.272 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/1.72, allocations: 48.69 kB / 1.272 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005827/1.721, allocations: 0.737 MB / 1.273 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/1.721, allocations: 262.5 kB / 1.273 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/1.721, allocations: 80.56 kB / 1.274 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/1.721, allocations: 342.9 kB / 1.274 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.723, allocations: 0.7848 MB / 1.275 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/1.724, allocations: 0.9226 MB / 1.276 GB, free: 13.63 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): time 0.01005/1.734, allocations: 4.568 MB / 1.28 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.734, allocations: 0 / 1.28 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004588/1.739, allocations: 2.078 MB / 1.282 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/1.739, allocations: 252.4 kB / 1.282 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.739, allocations: 3.094 kB / 1.282 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/1.74, allocations: 99.2 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.741, allocations: 199.4 kB / 1.283 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/1.742, allocations: 1.607 MB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.744, allocations: 101.7 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.745, allocations: 49.94 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/1.745, allocations: 6.766 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003675/1.748, allocations: 1.923 MB / 1.286 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.748, allocations: 2.906 kB / 1.286 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/1.749, allocations: 99.77 kB / 1.286 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009877/1.75, allocations: 197 kB / 1.286 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/1.752, allocations: 1.616 MB / 1.288 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/1.753, allocations: 87.06 kB / 1.288 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.754, allocations: 49.89 kB / 1.288 GB, free: 9.922 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 sytem: 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.001272/1.755, allocations: 0.6532 MB / 1.289 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/1.755, allocations: 169.5 kB / 1.289 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/1.759, allocations: 1.648 MB / 1.291 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.759, allocations: 8.438 kB / 1.291 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.759, allocations: 0 / 1.291 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003013/1.762, allocations: 1.466 MB / 1.292 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006943/1.769, allocations: 4 MB / 1.296 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.769, allocations: 13.53 kB / 1.296 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000976/1.77, allocations: 184.6 kB / 1.296 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/1.77, allocations: 101.3 kB / 1.296 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/1.77, allocations: 32.05 kB / 1.296 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/1.772, allocations: 1.622 MB / 1.298 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.772, allocations: 5.938 kB / 1.298 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/1.777, allocations: 2.677 MB / 1.3 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.778, allocations: 447.8 kB / 1.301 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/1.778, allocations: 28.25 kB / 1.301 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.78, allocations: 102.4 kB / 1.301 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.78, allocations: 68.88 kB / 1.301 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-05/1.78, allocations: 42.22 kB / 1.301 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002171/1.782, allocations: 1.41 MB / 1.302 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.782, allocations: 0 / 1.302 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002284/1.785, allocations: 0.6381 MB / 1.303 GB, free: 6.676 MB / 0.9825 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.0007451/1.785, allocations: 313.6 kB / 1.303 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005224/1.791, allocations: 2.993 MB / 1.306 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.791, allocations: 0.5 kB / 1.306 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.792, allocations: 0.8704 MB / 1.307 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.797, allocations: 0.6925 MB / 1.308 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/1.803, allocations: 4.248 MB / 1.312 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.804, allocations: 1.506 MB / 1.313 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/1.805, allocations: 147.3 kB / 1.314 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/1.805, allocations: 5.75 kB / 1.314 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of Templates: time 0.05204/1.857, allocations: 37.38 MB / 1.35 GB, free: 12.39 MB / 1.014 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++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_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:404: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:398: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:1197: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:1197: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:1237: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:1237: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