Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_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.001096/0.001096, allocations: 103.9 kB / 16.42 MB, free: 6.473 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.001052/0.001052, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.145/1.145, 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 11.0.1-master/package.mo): time 2.23/2.23, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.609e-05, allocations: 2.281 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001722/0.001746, allocations: 1.304 MB / 1.056 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.002717, allocations: 0.7289 MB / 1.057 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.002742, allocations: 0 / 1.057 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.002761, allocations: 0 / 1.057 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.985e-05/0.002805, allocations: 7.938 kB / 1.057 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.003109, allocations: 95.89 kB / 1.057 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.003168, allocations: 15.92 kB / 1.057 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.003206, allocations: 0 / 1.057 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.003228, allocations: 12 kB / 1.057 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.003266, allocations: 11.92 kB / 1.057 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.00328, allocations: 0 / 1.057 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.003492, allocations: 152 kB / 1.057 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of combineBinaries: time 3.18e-05/0.003532, allocations: 19.75 kB / 1.057 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.234e-05/0.003549, allocations: 19.75 kB / 1.057 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.887e-06/0.003562, allocations: 0 / 1.057 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.971e-06/0.003571, allocations: 0 / 1.057 GB, free: 5.371 MB / 0.8262 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.0002234/0.003798, allocations: 204.9 kB / 1.057 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 5.392e-05/0.003857, allocations: 23.81 kB / 1.057 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of Early Inline: time 6.902e-05/0.003932, allocations: 76.34 kB / 1.057 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simplify1: time 1.072e-05/0.003949, allocations: 4 kB / 1.057 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002294/0.004182, allocations: 145.5 kB / 1.057 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simplify2: time 3.427e-06/0.004194, allocations: 0 / 1.057 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of Events: time 1.353e-05/0.004214, allocations: 23.88 kB / 1.057 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of Detect States: time 3.739e-05/0.004255, allocations: 16.25 kB / 1.057 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of Partitioning: time 3.927e-05/0.004302, allocations: 32.23 kB / 1.057 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of Causalize: time 5.9e-05/0.004366, allocations: 52.17 kB / 1.058 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 4.173e-05/0.004414, allocations: 60.78 kB / 1.058 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of Inline: time 7.1e-05/0.00449, allocations: 88.44 kB / 1.058 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.086e-05/0.004507, allocations: 16.06 kB / 1.058 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of Cleanup: time 6.722e-06/0.004518, allocations: 4 kB / 1.058 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of Causalize: time 6.234e-05/0.004584, allocations: 44.11 kB / 1.058 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of Tearing: time 5.941e-06/0.004597, allocations: 0 / 1.058 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of Initialization: time 3.61e-07/0.004601, allocations: 0 / 1.058 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of Tearing: time 3.887e-06/0.004608, allocations: 3.938 kB / 1.058 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of Categorize: time 6.091e-06/0.004618, allocations: 3.938 kB / 1.058 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of Solve: time 2.482e-05/0.004646, allocations: 8 kB / 1.058 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.314e-06/0.004653, allocations: 0 / 1.058 GB, free: 4.27 MB / 0.8262 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 2.661e-05/0.004684, allocations: 20.8 kB / 1.058 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005649/0.005255, allocations: 0.8625 MB / 1.059 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of Templates: time 0.002301/0.007567, allocations: 0.7823 MB / 1.059 GB, free: 2.598 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.c Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_functions.o] Error 1