Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 104.3 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.001183/0.001183, allocations: 192.3 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.37/2.37, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.029e-05, allocations: 2.281 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001901/0.001929, allocations: 1.283 MB / 1.056 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.003797, allocations: 1.444 MB / 1.057 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.003846, allocations: 0 / 1.057 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.003867, allocations: 0 / 1.057 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.00405, allocations: 15.91 kB / 1.057 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.004666, allocations: 210.5 kB / 1.058 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.445e-05/0.004749, allocations: 31.86 kB / 1.058 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.00479, allocations: 4 kB / 1.058 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.004878, allocations: 27.84 kB / 1.058 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.004975, allocations: 4 kB / 1.058 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.004992, allocations: 0 / 1.058 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.00528, allocations: 171.8 kB / 1.058 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of combineBinaries: time 4.688e-05/0.005336, allocations: 27.73 kB / 1.058 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.163e-05/0.005354, allocations: 23.73 kB / 1.058 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.081e-05/0.005369, allocations: 0 / 1.058 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.985e-06/0.005381, allocations: 0 / 1.058 GB, free: 4.496 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: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0002941/0.005679, allocations: 209.1 kB / 1.058 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 2.511e-05/0.005709, allocations: 15.88 kB / 1.058 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of Early Inline: time 8.257e-05/0.005796, allocations: 64.39 kB / 1.058 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simplify1: time 1.908e-05/0.005823, allocations: 7.984 kB / 1.058 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of Alias: time 4.842e-05/0.005875, allocations: 52.56 kB / 1.058 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of simplify2: time 6.542e-06/0.005888, allocations: 11.92 kB / 1.058 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of Events: time 8.513e-05/0.005977, allocations: 31.97 kB / 1.058 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of Detect States: time 7.649e-05/0.00606, allocations: 52.09 kB / 1.058 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.986e-05/0.006126, allocations: 44.36 kB / 1.058 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001686/0.0063, allocations: 76.34 kB / 1.058 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 8.621e-05/0.006394, allocations: 92.25 kB / 1.058 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001502/0.00655, allocations: 124.9 kB / 1.059 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.88e-05/0.006577, allocations: 8.125 kB / 1.059 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.015e-05/0.006591, allocations: 7.984 kB / 1.059 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001674/0.006762, allocations: 132 kB / 1.059 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of Tearing: time 8.275e-06/0.006778, allocations: 3.938 kB / 1.059 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of Initialization: time 3.71e-07/0.006783, allocations: 0 / 1.059 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of Tearing: time 2.014e-06/0.006789, allocations: 0 / 1.059 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of Categorize: time 8.966e-06/0.006801, allocations: 0 / 1.059 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of Solve: time 4.309e-05/0.006849, allocations: 23.91 kB / 1.059 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of Jacobian: time 4.188e-06/0.00686, allocations: 7.938 kB / 1.059 GB, free: 3.246 MB / 0.8262 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, 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: ........... 7 (scalar:7, 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.668e-05/0.006892, allocations: 15.53 kB / 1.059 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0009982/0.007894, allocations: 1.022 MB / 1.06 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.003777/0.01168, allocations: 1.609 MB / 1.061 GB, free: 0.6328 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement -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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.o Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement -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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:81:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_start); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:82:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:83:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:99:71: error: use of undeclared identifier '_OMC_LIT3' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT3, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:104:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta5 = stringAppend(_OMC_LIT4,_name); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:105:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT5); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:106:44: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:107:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT7); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:109:45: error: use of undeclared identifier '_OMC_LIT8' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT8); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:121:67: error: use of undeclared identifier '_OMC_LIT3' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT3, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:126:32: error: use of undeclared identifier '_OMC_LIT4' tmpMeta15 = stringAppend(_OMC_LIT4,_name); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:127:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:128:42: error: use of undeclared identifier '_OMC_LIT6' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT6); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:129:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT7); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:131:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT8); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:175:113: error: use of undeclared identifier '_OMC_LIT12' _element = omc_Buildings_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT12, _OMC_LIT13, ((modelica_integer) 7)); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:175:125: error: use of undeclared identifier '_OMC_LIT13' _element = omc_Buildings_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT12, _OMC_LIT13, ((modelica_integer) 7)); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:182:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta1 = stringAppend(_OMC_LIT14,_element); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:183:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT15); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o] Error 1