Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_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_1.6_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.001203/0.001203, allocations: 105.8 kB / 16.42 MB, free: 6.465 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.001144/0.001144, allocations: 183.2 kB / 17.36 MB, free: 5.699 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.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4479/0.4479, allocations: 95.48 MB / 366.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.102e-05, allocations: 5.938 kB / 0.5042 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001875/0.001904, allocations: 1.258 MB / 0.5055 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003206, allocations: 0.8669 MB / 0.5063 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.003237, allocations: 0 / 0.5063 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.003257, allocations: 0 / 0.5063 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.003314, allocations: 7.922 kB / 0.5063 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.0037, allocations: 131.8 kB / 0.5064 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.84e-05/0.003767, allocations: 19.88 kB / 0.5065 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.003816, allocations: 19.97 kB / 0.5065 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.003838, allocations: 4 kB / 0.5065 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.003881, allocations: 11.94 kB / 0.5065 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.687e-06/0.003894, allocations: 0 / 0.5065 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.004198, allocations: 212 kB / 0.5067 GB, free: 9.324 MB / 398.1 MB Notification: Performance of combineBinaries: time 5.086e-05/0.004257, allocations: 27.73 kB / 0.5067 GB, free: 9.297 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 1.734e-05/0.00428, allocations: 19.75 kB / 0.5068 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.029e-05/0.004296, allocations: 3.938 kB / 0.5068 GB, free: 9.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.444e-06/0.004308, allocations: 0 / 0.5068 GB, free: 9.273 MB / 398.1 MB 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.0002608/0.004573, allocations: 208.4 kB / 0.507 GB, free: 8.973 MB / 398.1 MB Notification: Performance of FunctionAlias: time 6.313e-05/0.004642, allocations: 11.95 kB / 0.507 GB, free: 8.961 MB / 398.1 MB Notification: Performance of Early Inline: time 8.794e-05/0.004736, allocations: 76.34 kB / 0.507 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simplify1: time 1.433e-05/0.004757, allocations: 7.984 kB / 0.507 GB, free: 8.852 MB / 398.1 MB Notification: Performance of Alias: time 0.0002454/0.005007, allocations: 136.9 kB / 0.5072 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simplify2: time 8.146e-06/0.005024, allocations: 12.62 kB / 0.5072 GB, free: 8.645 MB / 398.1 MB Notification: Performance of Events: time 1.213e-05/0.005041, allocations: 3.953 kB / 0.5072 GB, free: 8.641 MB / 398.1 MB Notification: Performance of Detect States: time 0.0001942/0.00524, allocations: 36.19 kB / 0.5072 GB, free: 8.59 MB / 398.1 MB Notification: Performance of Partitioning: time 4.468e-05/0.005291, allocations: 28.23 kB / 0.5073 GB, free: 8.547 MB / 398.1 MB Notification: Performance of Causalize: time 7.791e-05/0.005374, allocations: 72.22 kB / 0.5073 GB, free: 8.461 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 5.135e-05/0.005432, allocations: 52.92 kB / 0.5074 GB, free: 8.383 MB / 398.1 MB Notification: Performance of Inline: time 7.763e-05/0.005514, allocations: 96.39 kB / 0.5075 GB, free: 8.254 MB / 398.1 MB Notification: Performance of Partitioning: time 1.159e-05/0.005531, allocations: 8.125 kB / 0.5075 GB, free: 8.238 MB / 398.1 MB Notification: Performance of Cleanup: time 7.184e-06/0.005543, allocations: 7.875 kB / 0.5075 GB, free: 8.23 MB / 398.1 MB Notification: Performance of Causalize: time 8.376e-05/0.00563, allocations: 68.03 kB / 0.5075 GB, free: 8.156 MB / 398.1 MB Notification: Performance of Tearing: time 6.051e-06/0.005644, allocations: 4.25 kB / 0.5075 GB, free: 8.152 MB / 398.1 MB Notification: Performance of Initialization: time 3.5e-07/0.00565, allocations: 4 kB / 0.5076 GB, free: 8.148 MB / 398.1 MB Notification: Performance of Tearing: time 2.014e-06/0.005657, allocations: 7.984 kB / 0.5076 GB, free: 8.141 MB / 398.1 MB Notification: Performance of Categorize: time 6.262e-06/0.005668, allocations: 0 / 0.5076 GB, free: 8.141 MB / 398.1 MB Notification: Performance of Solve: time 2.673e-05/0.005698, allocations: 7.984 kB / 0.5076 GB, free: 8.133 MB / 398.1 MB Notification: Performance of Jacobian: time 2.635e-06/0.005706, allocations: 0 / 0.5076 GB, free: 8.133 MB / 398.1 MB 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 2.795e-05/0.005738, allocations: 15.92 kB / 0.5076 GB, free: 8.125 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006725/0.006415, allocations: 0.8918 MB / 0.5085 GB, free: 7.215 MB / 398.1 MB Notification: Performance of Templates: time 0.002547/0.008972, allocations: 0.9552 MB / 0.5094 GB, free: 6.27 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile make -j1 -f Buildings_1.6_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_1_6_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_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.o Buildings_1.6_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_1_6_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_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.c Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o] Error 1