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.001645/0.001645, allocations: 107.9 kB / 16.42 MB, free: 6.5 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.001634/0.001634, allocations: 187.8 kB / 17.35 MB, free: 5.754 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.094/1.094, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 292.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7955/0.7955, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.268e-05, allocations: 4.672 kB / 0.682 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001578/0.001598, allocations: 1.266 MB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.003188, allocations: 1.449 MB / 0.6847 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.003222, allocations: 0 / 0.6847 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.003242, allocations: 3.938 kB / 0.6847 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.003383, allocations: 7.938 kB / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.003877, allocations: 217.4 kB / 0.6849 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.003943, allocations: 27.91 kB / 0.6849 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.00398, allocations: 7.984 kB / 0.6849 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.004051, allocations: 12 kB / 0.685 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.906e-05/0.004141, allocations: 15.91 kB / 0.685 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.004157, allocations: 0 / 0.685 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.004391, allocations: 167.8 kB / 0.6851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.037e-05/0.004441, allocations: 31.73 kB / 0.6852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 8.366e-06/0.004454, allocations: 15.75 kB / 0.6852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.458e-06/0.004468, allocations: 4 kB / 0.6852 GB, free: 3.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.953e-06/0.004479, allocations: 0 / 0.6852 GB, free: 3.789 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.0002447/0.004728, allocations: 225 kB / 0.6854 GB, free: 3.469 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.686e-05/0.00475, allocations: 7.938 kB / 0.6854 GB, free: 3.461 MB / 494.1 MB Notification: Performance of Early Inline: time 6.954e-05/0.004824, allocations: 64.33 kB / 0.6855 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simplify1: time 1.557e-05/0.004845, allocations: 7.984 kB / 0.6855 GB, free: 3.363 MB / 494.1 MB Notification: Performance of Alias: time 4.007e-05/0.004889, allocations: 52.62 kB / 0.6855 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simplify2: time 7.073e-06/0.0049, allocations: 7.984 kB / 0.6855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of Events: time 7.51e-05/0.004979, allocations: 43.81 kB / 0.6856 GB, free: 3.223 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001768/0.005162, allocations: 48.19 kB / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of Partitioning: time 5.435e-05/0.005222, allocations: 40.38 kB / 0.6857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001468/0.005375, allocations: 80.66 kB / 0.6857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 7.533e-05/0.005457, allocations: 92.3 kB / 0.6858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of Inline: time 0.00013/0.005593, allocations: 112.4 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of Partitioning: time 1.177e-05/0.005612, allocations: 12.12 kB / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of Cleanup: time 8.025e-06/0.005624, allocations: 7.938 kB / 0.6859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001558/0.005784, allocations: 140.2 kB / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of Tearing: time 4.068e-06/0.005796, allocations: 0 / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of Initialization: time 2.81e-07/0.0058, allocations: 0 / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of Tearing: time 2.995e-06/0.005807, allocations: 7.938 kB / 0.6861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of Categorize: time 5.44e-06/0.005816, allocations: 0 / 0.6861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of Solve: time 3.542e-05/0.005854, allocations: 12 kB / 0.6861 GB, free: 2.543 MB / 494.1 MB Notification: Performance of Jacobian: time 2.354e-06/0.005862, allocations: 0 / 0.6861 GB, free: 2.543 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 3.49e-05/0.0059, allocations: 23.7 kB / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of SimCode: time 0.0008056/0.00671, allocations: 1.043 MB / 0.6871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of Templates: time 0.2187/0.2254, allocations: 1.606 MB / 0.6887 GB, free: 14.51 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