Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_9_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_9_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.001154/0.001154, allocations: 108 kB / 16.42 MB, free: 6.52 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.001124/0.001124, allocations: 187.7 kB / 17.36 MB, free: 5.727 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.171/1.171, 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 9.1.3-maint.9.1.x/package.mo): time 1.958/1.958, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.621e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001854/0.001878, allocations: 1.283 MB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.003621, allocations: 1.452 MB / 0.9541 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.00366, allocations: 0 / 0.9541 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.003683, allocations: 4 kB / 0.9541 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.003843, allocations: 7.938 kB / 0.9541 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.004363, allocations: 219.2 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.004438, allocations: 23.92 kB / 0.9544 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.00448, allocations: 3.984 kB / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.817e-05/0.004562, allocations: 15.94 kB / 0.9544 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004671, allocations: 19.91 kB / 0.9544 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.004688, allocations: 0 / 0.9544 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.00492, allocations: 159.8 kB / 0.9546 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of combineBinaries: time 4.738e-05/0.004978, allocations: 35.72 kB / 0.9546 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.701e-05/0.005, allocations: 15.75 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.005017, allocations: 4 kB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.227e-06/0.005031, allocations: 4 kB / 0.9546 GB, free: 4.434 MB / 0.7325 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.0002716/0.005307, allocations: 210.1 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 2.027e-05/0.005335, allocations: 11.95 kB / 0.9548 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of Early Inline: time 7.687e-05/0.005416, allocations: 64.33 kB / 0.9549 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of simplify1: time 1.578e-05/0.005438, allocations: 7.938 kB / 0.9549 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of Alias: time 5.241e-05/0.005495, allocations: 56.56 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simplify2: time 8.296e-06/0.005507, allocations: 7.984 kB / 0.955 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of Detect States: time 6.552e-05/0.005578, allocations: 44.14 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of Events: time 9.061e-05/0.005674, allocations: 39.91 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.11e-05/0.005742, allocations: 40.36 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001673/0.005914, allocations: 80.28 kB / 0.9552 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 8.021e-05/0.006002, allocations: 88.83 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001379/0.006145, allocations: 122.4 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.191e-05/0.006165, allocations: 8.125 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.167e-05/0.006181, allocations: 11.92 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001715/0.006357, allocations: 136 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of Tearing: time 9.408e-06/0.006374, allocations: 0 / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of Initialization: time 4.91e-07/0.006379, allocations: 0 / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of Tearing: time 2.986e-06/0.006385, allocations: 3.938 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of Categorize: time 6.823e-06/0.006395, allocations: 0 / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of Solve: time 4.48e-05/0.006444, allocations: 15.98 kB / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.965e-06/0.006455, allocations: 8 kB / 0.9555 GB, free: 3.195 MB / 0.7325 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 3.08e-05/0.006489, allocations: 20.2 kB / 0.9555 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0009436/0.007437, allocations: 1.035 MB / 0.9566 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of Templates: time 0.003492/0.01094, allocations: 1.604 MB / 0.9581 GB, free: 0.5742 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.o Buildings_9_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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:81:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_start); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:82:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:83:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ Buildings_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:104:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta5 = stringAppend(_OMC_LIT4,_name); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:105:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT5); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:106:44: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:107:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT7); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:109:45: error: use of undeclared identifier '_OMC_LIT8' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT8); ^ Buildings_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:126:32: error: use of undeclared identifier '_OMC_LIT4' tmpMeta15 = stringAppend(_OMC_LIT4,_name); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:127:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:128:42: error: use of undeclared identifier '_OMC_LIT6' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT6); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:129:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT7); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:131:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT8); ^ Buildings_9_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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:182:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta1 = stringAppend(_OMC_LIT14,_element); ^ Buildings_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o] Error 1