Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 106.7 kB / 16.37 MB, free: 6.352 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.001003/0.001003, allocations: 196.1 kB / 17.31 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.629e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00233/0.002375, allocations: 1.284 MB / 0.6741 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003515, allocations: 0.7345 MB / 0.6748 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.003544, allocations: 0 / 0.6748 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.003572, allocations: 3.938 kB / 0.6748 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.003627, allocations: 3.984 kB / 0.6748 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.003965, allocations: 99.91 kB / 0.6749 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.929e-05/0.004033, allocations: 15.92 kB / 0.6749 GB, free: 3.727 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.004094, allocations: 11.94 kB / 0.675 GB, free: 3.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.004119, allocations: 4 kB / 0.675 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.053e-05/0.004164, allocations: 11.92 kB / 0.675 GB, free: 3.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.004182, allocations: 0 / 0.675 GB, free: 3.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.004417, allocations: 148 kB / 0.6751 GB, free: 3.555 MB / 0.545 GB Notification: Performance of combineBinaries: time 4.289e-05/0.004468, allocations: 23.69 kB / 0.6751 GB, free: 3.531 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 9.808e-06/0.004483, allocations: 15.75 kB / 0.6752 GB, free: 3.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.416e-05/0.004501, allocations: 8 kB / 0.6752 GB, free: 3.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.047e-06/0.004516, allocations: 4 kB / 0.6752 GB, free: 3.504 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002643/0.004784, allocations: 188.9 kB / 0.6753 GB, free: 3.219 MB / 0.545 GB Notification: Performance of FunctionAlias: time 7.482e-05/0.004864, allocations: 27.86 kB / 0.6754 GB, free: 3.191 MB / 0.545 GB Notification: Performance of Early Inline: time 9.232e-05/0.004963, allocations: 76.34 kB / 0.6754 GB, free: 3.09 MB / 0.545 GB Notification: Performance of simplify1: time 1.443e-05/0.004984, allocations: 4 kB / 0.6754 GB, free: 3.086 MB / 0.545 GB Notification: Performance of Alias: time 0.000264/0.005252, allocations: 145.5 kB / 0.6756 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simplify2: time 8.606e-06/0.00527, allocations: 3.984 kB / 0.6756 GB, free: 2.879 MB / 0.545 GB Notification: Performance of Events: time 1.624e-05/0.00529, allocations: 11.95 kB / 0.6756 GB, free: 2.867 MB / 0.545 GB Notification: Performance of Detect States: time 4.832e-05/0.005343, allocations: 28.03 kB / 0.6756 GB, free: 2.828 MB / 0.545 GB Notification: Performance of Partitioning: time 5.087e-05/0.005399, allocations: 24.25 kB / 0.6757 GB, free: 2.789 MB / 0.545 GB Notification: Performance of Causalize: time 7.703e-05/0.005482, allocations: 72.19 kB / 0.6757 GB, free: 2.703 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 5.175e-05/0.005542, allocations: 56.36 kB / 0.6758 GB, free: 2.621 MB / 0.545 GB Notification: Performance of Inline: time 7.913e-05/0.005626, allocations: 96.44 kB / 0.6759 GB, free: 2.492 MB / 0.545 GB Notification: Performance of Partitioning: time 1.209e-05/0.005644, allocations: 12.58 kB / 0.6759 GB, free: 2.473 MB / 0.545 GB Notification: Performance of Cleanup: time 9.658e-06/0.005659, allocations: 11.88 kB / 0.6759 GB, free: 2.461 MB / 0.545 GB Notification: Performance of Causalize: time 8.27e-05/0.005747, allocations: 67.34 kB / 0.676 GB, free: 2.391 MB / 0.545 GB Notification: Performance of Tearing: time 5.149e-06/0.00576, allocations: 0 / 0.676 GB, free: 2.391 MB / 0.545 GB Notification: Performance of Initialization: time 3.11e-07/0.005765, allocations: 0 / 0.676 GB, free: 2.391 MB / 0.545 GB Notification: Performance of Tearing: time 7.21e-07/0.00577, allocations: 0 / 0.676 GB, free: 2.391 MB / 0.545 GB Notification: Performance of Categorize: time 8.837e-06/0.005782, allocations: 4 kB / 0.676 GB, free: 2.387 MB / 0.545 GB Notification: Performance of Solve: time 3.066e-05/0.005817, allocations: 11.94 kB / 0.676 GB, free: 2.375 MB / 0.545 GB Notification: Performance of Jacobian: time 3.326e-06/0.005825, allocations: 0 / 0.676 GB, free: 2.375 MB / 0.545 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.415e-05/0.005863, allocations: 19.48 kB / 0.676 GB, free: 2.359 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006694/0.006537, allocations: 0.8488 MB / 0.6768 GB, free: 1.492 MB / 0.545 GB Notification: Performance of Templates: time 0.002618/0.009167, allocations: 0.7873 MB / 0.6776 GB, free: 0.7109 MB / 0.545 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.o Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.c Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.c:22:25: error: use of undeclared identifier '_OMC_LIT5' real_array_alloc_copy(_OMC_LIT5, _c); ^ 1 error generated. make: *** [: Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o] Error 1