Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001465/0.001465, allocations: 183 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.12 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9217/0.923, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003228/0.9263, allocations: 2.138 MB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.929, allocations: 1.862 MB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.9291, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007013/0.9299, allocations: 227.7 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.93, allocations: 59.42 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.9311, allocations: 426.4 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.9316, allocations: 402.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.9317, allocations: 43.91 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.9319, allocations: 155.6 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.9321, allocations: 159.4 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.9322, allocations: 28 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.9325, allocations: 243.7 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.9327, allocations: 115.7 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.9328, allocations: 163.2 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.9335, allocations: 0.5995 MB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9335, allocations: 0 / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9335, allocations: 0 / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.9336, allocations: 0 / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001168/0.9347, allocations: 0.7136 MB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9348, allocations: 8.922 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.9364, allocations: 168.5 kB / 1.175 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.9369, allocations: 358.6 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.937, allocations: 83.89 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.937, allocations: 8.359 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/0.938, allocations: 439.8 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.938, allocations: 4 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.9381, allocations: 7.984 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.9381, allocations: 0 / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.9396, allocations: 0.5816 MB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.9414, allocations: 1.054 MB / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004756/0.9462, allocations: 0.8456 MB / 1.178 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.9469, allocations: 312.6 kB / 1.178 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.947, allocations: 7.984 kB / 1.178 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009491/0.9479, allocations: 441.4 kB / 1.179 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 3.276e-06/0.9479, allocations: 0 / 1.179 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002364/0.9503, allocations: 0.9226 MB / 1.179 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.9504, allocations: 51.41 kB / 1.18 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.9509, allocations: 433.6 kB / 1.18 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.951, allocations: 33.7 kB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.9512, allocations: 176 kB / 1.18 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.9512, allocations: 51.53 kB / 1.18 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.9514, allocations: 57.61 kB / 1.18 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.9515, allocations: 354.8 kB / 1.181 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/0.9524, allocations: 380.6 kB / 1.181 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.9532, allocations: 371.7 kB / 1.181 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.9545, allocations: 0.5903 MB / 1.182 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9545, allocations: 8 kB / 1.182 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001855/0.9564, allocations: 0.8971 MB / 1.183 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.9565, allocations: 45.69 kB / 1.183 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.9565, allocations: 4 kB / 1.183 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9565, allocations: 0 / 1.183 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.957, allocations: 63.86 kB / 1.183 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.957, allocations: 3.984 kB / 1.183 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.9574, allocations: 47.89 kB / 1.183 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.9574, allocations: 15.92 kB / 1.183 GB, free: 3.551 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.9577, allocations: 188 kB / 1.183 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.9578, allocations: 35.77 kB / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.9579, allocations: 39.47 kB / 1.183 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9579, allocations: 8 kB / 1.183 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9579, allocations: 0 / 1.183 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9579, allocations: 0 / 1.183 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.9585, allocations: 0.5402 MB / 1.184 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9585, allocations: 0 / 1.184 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.9589, allocations: 63.86 kB / 1.184 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.9589, allocations: 0 / 1.184 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.959, allocations: 15.98 kB / 1.184 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.959, allocations: 0 / 1.184 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.959, allocations: 0 / 1.184 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.9605, allocations: 0.6592 MB / 1.184 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.9607, allocations: 168.7 kB / 1.185 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.9608, allocations: 8 kB / 1.185 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.9612, allocations: 47.94 kB / 1.185 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.9613, allocations: 19.97 kB / 1.185 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.9614, allocations: 15.98 kB / 1.185 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003639/0.9617, allocations: 323 kB / 1.185 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9617, allocations: 0 / 1.185 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004188/0.9622, allocations: 79.94 kB / 1.185 GB, free: 1.273 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002961/0.9625, allocations: 136.3 kB / 1.185 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.9642, allocations: 0.7644 MB / 1.186 GB, free: 356 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9642, allocations: 4 kB / 1.186 GB, free: 352 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007535/0.965, allocations: 323.7 kB / 1.186 GB, free: 28 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.9654, allocations: 84.17 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.9672, allocations: 0.8601 MB / 1.187 GB, free: 15.05 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.9675, allocations: 0.8143 MB / 1.188 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.9678, allocations: 39.41 kB / 1.188 GB, free: 14.18 MB / 0.92 GB Notification: Performance of SimCode: time 8.41e-07/0.9678, allocations: 0 / 1.188 GB, free: 14.18 MB / 0.92 GB Notification: Performance of Templates: time 0.009754/0.9775, allocations: 6.168 MB / 1.194 GB, free: 8.047 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:452:106: error: use of undeclared identifier 'cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_capFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp40); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:452:163: error: use of undeclared identifier 'cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_capFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp40); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:452:66: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_capFunT_'; did you mean '_cooCap_P_sta1_P_perCur_P_capFunT_'? _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_capFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp40); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _cooCap_P_sta1_P_perCur_P_capFunT_ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.h:213:36: note: '_cooCap_P_sta1_P_perCur_P_capFunT_' declared here StatArrayDim1 _cooCap_P_sta1_P_perCur_P_capFunT_; ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:458:69: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp43); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:458:109: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp43); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:458:146: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp43); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:464:106: error: use of undeclared identifier 'cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_EIRFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp46); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:464:163: error: use of undeclared identifier 'cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_EIRFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp46); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:464:66: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_EIRFunT_'; did you mean '_cooCap_P_sta1_P_perCur_P_EIRFunT_'? _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_EIRFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp46); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _cooCap_P_sta1_P_perCur_P_EIRFunT_ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.h:207:36: note: '_cooCap_P_sta1_P_perCur_P_EIRFunT_' declared here StatArrayDim1 _cooCap_P_sta1_P_perCur_P_EIRFunT_; ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:470:69: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_EIRFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp49); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:470:109: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_EIRFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp49); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:470:146: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_EIRFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp49); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:455:7: warning: expression result unused [-Wunused-value] tmp42; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:461:7: warning: expression result unused [-Wunused-value] tmp45; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:467:7: warning: expression result unused [-Wunused-value] tmp48; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:473:7: warning: expression result unused [-Wunused-value] tmp51; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:502:104: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition1_, ((_cooCap_P_stage_ == 1) && _discrete_events->pre(_cooCap_P_checkBoundsTEva_)(_cooCap_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.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:521:104: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition2_, ((_cooCap_P_stage_ == 1) && _discrete_events->pre(_cooCap_P_checkBoundsTCon_)(_cooCap_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.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:33: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.cpp:499:29: error: use of undeclared identifier 'cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMax_' if (!(!((_TConIn_P_y_ > cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMax_) || (_TConIn_P_y_ < cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.cpp:499:99: error: use of undeclared identifier 'cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMin_' if (!(!((_TConIn_P_y_ > cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMax_) || (_TConIn_P_y_ < cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.cpp:539:32: error: use of undeclared identifier 'cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMax_' if (!(!((_TWetBulIn_P_y_ > cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMax_) || (_TWetBulIn_P_y_ < cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.cpp:539:105: error: use of undeclared identifier 'cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMin_' if (!(!((_TWetBulIn_P_y_ > cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMax_) || (_TWetBulIn_P_y_ < cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMin_)))) ^ 4 warnings and 18 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.o] Error 1