Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001377/0.001377, allocations: 109.8 kB / 16.41 MB, free: 6.375 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.001503/0.001503, allocations: 186.8 kB / 17.35 MB, free: 5.82 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002196/0.002196, allocations: 304.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9452/0.9452, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.587e-05, allocations: 4.812 kB / 0.682 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00249/0.002525, allocations: 1.267 MB / 0.6833 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.004709, allocations: 1.441 MB / 0.6847 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.004758, allocations: 0 / 0.6847 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.004785, allocations: 3.938 kB / 0.6847 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.005031, allocations: 15.92 kB / 0.6847 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.005756, allocations: 214.3 kB / 0.6849 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.767e-05/0.005851, allocations: 23.92 kB / 0.6849 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.005901, allocations: 4 kB / 0.6849 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.006001, allocations: 19.92 kB / 0.6849 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.006126, allocations: 15.92 kB / 0.685 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.006148, allocations: 0 / 0.685 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.006487, allocations: 167.9 kB / 0.6851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of combineBinaries: time 6.021e-05/0.006556, allocations: 39.66 kB / 0.6852 GB, free: 3.859 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.125e-05/0.006573, allocations: 15.75 kB / 0.6852 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.172e-05/0.00659, allocations: 0 / 0.6852 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.275e-05/0.006608, allocations: 4 kB / 0.6852 GB, free: 3.84 MB / 494.1 MB 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.0003319/0.006944, allocations: 210.4 kB / 0.6854 GB, free: 3.535 MB / 494.1 MB Notification: Performance of FunctionAlias: time 2.297e-05/0.006973, allocations: 7.938 kB / 0.6854 GB, free: 3.527 MB / 494.1 MB Notification: Performance of Early Inline: time 8.772e-05/0.007066, allocations: 72.31 kB / 0.6855 GB, free: 3.43 MB / 494.1 MB Notification: Performance of simplify1: time 1.906e-05/0.007091, allocations: 4 kB / 0.6855 GB, free: 3.426 MB / 494.1 MB Notification: Performance of Alias: time 6.173e-05/0.007157, allocations: 56.61 kB / 0.6855 GB, free: 3.332 MB / 494.1 MB Notification: Performance of simplify2: time 4.619e-06/0.007167, allocations: 0 / 0.6855 GB, free: 3.332 MB / 494.1 MB Notification: Performance of Detect States: time 8.25e-05/0.007254, allocations: 54.44 kB / 0.6856 GB, free: 3.266 MB / 494.1 MB Notification: Performance of Events: time 0.0001019/0.007362, allocations: 39.78 kB / 0.6856 GB, free: 3.227 MB / 494.1 MB Notification: Performance of Partitioning: time 6.827e-05/0.007437, allocations: 44.3 kB / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002328/0.007677, allocations: 84.34 kB / 0.6857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 8.822e-05/0.007774, allocations: 84.38 kB / 0.6858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of Inline: time 0.0001983/0.007979, allocations: 117 kB / 0.6859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of Partitioning: time 1.969e-05/0.008008, allocations: 24.05 kB / 0.6859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of Cleanup: time 1.046e-05/0.008024, allocations: 0 / 0.6859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001917/0.00822, allocations: 136 kB / 0.6861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of Tearing: time 1.203e-05/0.008242, allocations: 0 / 0.6861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of Initialization: time 1.613e-06/0.008247, allocations: 7.938 kB / 0.6861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Tearing: time 2.023e-06/0.008254, allocations: 0 / 0.6861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Categorize: time 1.098e-05/0.008268, allocations: 3.984 kB / 0.6861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of Solve: time 4.637e-05/0.008318, allocations: 12 kB / 0.6861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of Jacobian: time 2.836e-06/0.008327, allocations: 0 / 0.6861 GB, free: 2.602 MB / 494.1 MB 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 4.159e-05/0.008372, allocations: 23.66 kB / 0.6861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of SimCode: time 0.001171/0.009548, allocations: 1.045 MB / 0.6871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of Templates: time 0.376/0.3856, allocations: 1.595 MB / 0.6887 GB, free: 14.6 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:81:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_start); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:82:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:83:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ BuildingSystems_BuildingSystems.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 */); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:104:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta5 = stringAppend(_OMC_LIT4,_name); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:105:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT5); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:106:44: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:107:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT7); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:109:45: error: use of undeclared identifier '_OMC_LIT8' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT8); ^ BuildingSystems_BuildingSystems.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 */); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:126:32: error: use of undeclared identifier '_OMC_LIT4' tmpMeta15 = stringAppend(_OMC_LIT4,_name); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:127:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:128:42: error: use of undeclared identifier '_OMC_LIT6' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:129:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT7); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:131:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT8); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:175:119: error: use of undeclared identifier '_OMC_LIT12' _element = omc_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT12, _OMC_LIT13, ((modelica_integer) 7)); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:175:131: error: use of undeclared identifier '_OMC_LIT13' _element = omc_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT12, _OMC_LIT13, ((modelica_integer) 7)); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:182:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta1 = stringAppend(_OMC_LIT14,_element); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o] Error 1