Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001573/0.001573, allocations: 106.6 kB / 16.38 MB, free: 6.43 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.00141/0.00141, allocations: 186.5 kB / 17.31 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.589e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002166/0.00221, allocations: 1.268 MB / 0.6741 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.00424, allocations: 1.535 MB / 0.6756 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.004285, allocations: 0 / 0.6756 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.004309, allocations: 3.938 kB / 0.6756 GB, free: 3.066 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.00454, allocations: 19.91 kB / 0.6756 GB, free: 3.047 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.005118, allocations: 226.1 kB / 0.6758 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.652e-05/0.005162, allocations: 23.92 kB / 0.6758 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 1.871e-05/0.005185, allocations: 0 / 0.6758 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.00525, allocations: 15.97 kB / 0.6759 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.005318, allocations: 19.38 kB / 0.6759 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.261e-06/0.005331, allocations: 0 / 0.6759 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.005588, allocations: 183.8 kB / 0.6761 GB, free: 2.598 MB / 0.545 GB Notification: Performance of combineBinaries: time 3.872e-05/0.005636, allocations: 31.72 kB / 0.6761 GB, free: 2.566 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 8.306e-06/0.00565, allocations: 15.75 kB / 0.6761 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.933e-06/0.005662, allocations: 4 kB / 0.6761 GB, free: 2.547 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.14e-06/0.005671, allocations: 0 / 0.6761 GB, free: 2.547 MB / 0.545 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.0001892/0.005865, allocations: 205 kB / 0.6763 GB, free: 2.246 MB / 0.545 GB Notification: Performance of FunctionAlias: time 1.298e-05/0.005883, allocations: 11.89 kB / 0.6763 GB, free: 2.234 MB / 0.545 GB Notification: Performance of Early Inline: time 6.965e-05/0.005957, allocations: 68.31 kB / 0.6764 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simplify1: time 1.33e-05/0.005977, allocations: 4 kB / 0.6764 GB, free: 2.137 MB / 0.545 GB Notification: Performance of Alias: time 4.342e-05/0.006025, allocations: 56.61 kB / 0.6764 GB, free: 2.043 MB / 0.545 GB Notification: Performance of simplify2: time 5.911e-06/0.006036, allocations: 4 kB / 0.6764 GB, free: 2.039 MB / 0.545 GB Notification: Performance of Events: time 7.019e-05/0.006111, allocations: 43.84 kB / 0.6765 GB, free: 1.996 MB / 0.545 GB Notification: Performance of Detect States: time 5.503e-05/0.006174, allocations: 51.27 kB / 0.6765 GB, free: 1.934 MB / 0.545 GB Notification: Performance of Partitioning: time 4.364e-05/0.006223, allocations: 40.36 kB / 0.6766 GB, free: 1.871 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001227/0.006352, allocations: 112.6 kB / 0.6767 GB, free: 1.738 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 6.884e-05/0.006429, allocations: 84.27 kB / 0.6768 GB, free: 1.629 MB / 0.545 GB Notification: Performance of Inline: time 0.0001197/0.006554, allocations: 112.4 kB / 0.6769 GB, free: 1.484 MB / 0.545 GB Notification: Performance of Partitioning: time 1.499e-05/0.006577, allocations: 16.56 kB / 0.6769 GB, free: 1.461 MB / 0.545 GB Notification: Performance of Cleanup: time 7.013e-06/0.00659, allocations: 11.94 kB / 0.6769 GB, free: 1.449 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002258/0.00682, allocations: 156.5 kB / 0.677 GB, free: 1.289 MB / 0.545 GB Notification: Performance of Tearing: time 2.765e-06/0.006831, allocations: 0 / 0.677 GB, free: 1.289 MB / 0.545 GB Notification: Performance of Initialization: time 3.2e-07/0.006836, allocations: 0 / 0.677 GB, free: 1.289 MB / 0.545 GB Notification: Performance of Tearing: time 2.134e-06/0.006842, allocations: 3.938 kB / 0.677 GB, free: 1.285 MB / 0.545 GB Notification: Performance of Categorize: time 4.028e-06/0.00685, allocations: 0 / 0.677 GB, free: 1.285 MB / 0.545 GB Notification: Performance of Solve: time 3.001e-05/0.006884, allocations: 11.98 kB / 0.6771 GB, free: 1.273 MB / 0.545 GB Notification: Performance of Jacobian: time 1.413e-06/0.00689, allocations: 96 / 0.6771 GB, free: 1.273 MB / 0.545 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.586e-05/0.00693, allocations: 36.36 kB / 0.6771 GB, free: 1.246 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008931/0.007827, allocations: 1.049 MB / 0.6781 GB, free: 224 kB / 0.545 GB Notification: Performance of Templates: time 0.00358/0.01142, allocations: 1.725 MB / 0.6798 GB, free: 14.51 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f Buildings_8_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"/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_8_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_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.o Buildings_8_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"/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_8_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_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:24:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_uri); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:25:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:96:31: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_start); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:97:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT3); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:98:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:114:71: error: use of undeclared identifier '_OMC_LIT5' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT5, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:119:35: error: use of undeclared identifier '_OMC_LIT6' tmpMeta5 = stringAppend(_OMC_LIT6,_name); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT7); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:121:44: error: use of undeclared identifier '_OMC_LIT8' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT8); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:122:44: error: use of undeclared identifier '_OMC_LIT9' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT9); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:124:45: error: use of undeclared identifier '_OMC_LIT10' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT10); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:136:67: error: use of undeclared identifier '_OMC_LIT5' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT5, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:141:32: error: use of undeclared identifier '_OMC_LIT6' tmpMeta15 = stringAppend(_OMC_LIT6,_name); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:142:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT7); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT8); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:144:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT9); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT10); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:190:113: error: use of undeclared identifier '_OMC_LIT14' _element = omc_Buildings_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT14, _OMC_LIT15, ((modelica_integer) 7)); ^ Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:190:125: error: use of undeclared identifier '_OMC_LIT15' _element = omc_Buildings_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT14, _OMC_LIT15, ((modelica_integer) 7)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o] Error 1