Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001459/0.001459, allocations: 105.9 kB / 16.42 MB, free: 6.512 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.001182/0.001182, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.317/1.317, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4378/0.4378, allocations: 95.47 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.602e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002108/0.002144, allocations: 1.247 MB / 0.5054 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.004364, allocations: 1.546 MB / 0.5069 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.004405, allocations: 3.938 kB / 0.507 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.004432, allocations: 0 / 0.507 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.004475, allocations: 0 / 0.507 GB, free: 9.09 MB / 398.1 MB [/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 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource' contains a call to impure function 'Modelica.Utilities.Files.fullPathName'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-86: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 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-41: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 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-41: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 1.6.0+build.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-40: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.0009029/0.005395, allocations: 282.4 kB / 0.5072 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.005478, allocations: 19.92 kB / 0.5072 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.005533, allocations: 4 kB / 0.5072 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.005633, allocations: 12 kB / 0.5073 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.005691, allocations: 11.97 kB / 0.5073 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.005708, allocations: 0 / 0.5073 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.006051, allocations: 207.8 kB / 0.5075 GB, free: 8.57 MB / 398.1 MB Notification: Performance of combineBinaries: time 6.19e-05/0.006122, allocations: 27.72 kB / 0.5075 GB, free: 8.543 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 4.308e-06/0.006132, allocations: 3.906 kB / 0.5075 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.006154, allocations: 4 kB / 0.5075 GB, free: 8.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-05/0.00617, allocations: 0 / 0.5075 GB, free: 8.535 MB / 398.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.0003216/0.006496, allocations: 192.3 kB / 0.5077 GB, free: 8.25 MB / 398.1 MB Notification: Performance of FunctionAlias: time 2.352e-05/0.006525, allocations: 15.88 kB / 0.5077 GB, free: 8.234 MB / 398.1 MB Notification: Performance of Early Inline: time 7.912e-05/0.006609, allocations: 60.34 kB / 0.5078 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simplify1: time 1.55e-05/0.00663, allocations: 0 / 0.5078 GB, free: 8.148 MB / 398.1 MB Notification: Performance of Alias: time 5.124e-05/0.006687, allocations: 60.61 kB / 0.5078 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simplify2: time 4.92e-06/0.006696, allocations: 0 / 0.5078 GB, free: 8.051 MB / 398.1 MB Notification: Performance of Events: time 9.168e-05/0.006793, allocations: 39.83 kB / 0.5079 GB, free: 8.012 MB / 398.1 MB Notification: Performance of Detect States: time 0.0002472/0.007047, allocations: 55.53 kB / 0.5079 GB, free: 7.945 MB / 398.1 MB Notification: Performance of Partitioning: time 6.371e-05/0.007118, allocations: 40.36 kB / 0.5079 GB, free: 7.883 MB / 398.1 MB Notification: Performance of Causalize: time 0.0002037/0.007327, allocations: 108.6 kB / 0.508 GB, free: 7.754 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 7.701e-05/0.007413, allocations: 88.25 kB / 0.5081 GB, free: 7.641 MB / 398.1 MB Notification: Performance of Inline: time 0.0001139/0.007532, allocations: 96.44 kB / 0.5082 GB, free: 7.512 MB / 398.1 MB Notification: Performance of Partitioning: time 1.103e-05/0.007551, allocations: 12.12 kB / 0.5082 GB, free: 7.492 MB / 398.1 MB Notification: Performance of Cleanup: time 1.372e-05/0.007569, allocations: 12.36 kB / 0.5082 GB, free: 7.48 MB / 398.1 MB Notification: Performance of Causalize: time 0.0001571/0.007732, allocations: 128 kB / 0.5084 GB, free: 7.348 MB / 398.1 MB Notification: Performance of Tearing: time 5.951e-06/0.007746, allocations: 0 / 0.5084 GB, free: 7.348 MB / 398.1 MB Notification: Performance of Initialization: time 3.01e-07/0.00775, allocations: 0 / 0.5084 GB, free: 7.348 MB / 398.1 MB Notification: Performance of Tearing: time 8.01e-07/0.007755, allocations: 0 / 0.5084 GB, free: 7.348 MB / 398.1 MB Notification: Performance of Categorize: time 1.116e-05/0.00777, allocations: 3.938 kB / 0.5084 GB, free: 7.344 MB / 398.1 MB Notification: Performance of Solve: time 4.536e-05/0.007821, allocations: 15.98 kB / 0.5084 GB, free: 7.328 MB / 398.1 MB Notification: Performance of Jacobian: time 2.164e-06/0.007829, allocations: 0 / 0.5084 GB, free: 7.328 MB / 398.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: ........... 6 (scalar:6, 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.566e-05/0.007868, allocations: 17.67 kB / 0.5084 GB, free: 7.316 MB / 398.1 MB Notification: Performance of SimCode: time 0.001081/0.008954, allocations: 1.082 MB / 0.5095 GB, free: 6.27 MB / 398.1 MB Notification: Performance of Templates: time 0.003785/0.01275, allocations: 1.844 MB / 0.5113 GB, free: 4.434 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f Buildings_1.6_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_1_6_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_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.o Buildings_1.6_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_1_6_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_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:30:62: error: use of undeclared identifier '_OMC_LIT2' if(((omc_Modelica_Utilities_Strings_find(threadData, _uri, _OMC_LIT2, ((modelica_integer) 1), 0 /* false */) == ((modelica_integer) 0)) && (omc_Modelica_Utilities_Strings_find(threadData, _uri, _OMC_LIT3, ((modelica_integer) 1), 0 /* false */) == ((modelica_integer) 0)))) ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:30:197: error: use of undeclared identifier '_OMC_LIT3' if(((omc_Modelica_Utilities_Strings_find(threadData, _uri, _OMC_LIT2, ((modelica_integer) 1), 0 /* false */) == ((modelica_integer) 0)) && (omc_Modelica_Utilities_Strings_find(threadData, _uri, _OMC_LIT3, ((modelica_integer) 1), 0 /* false */) == ((modelica_integer) 0)))) ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:32:29: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_uri); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:37:31: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(_OMC_LIT3,_uri); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:42:33: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(_OMC_LIT4,_uri); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:48:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,_uri); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT5' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT5); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:51:46: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:53:46: error: use of undeclared identifier '_OMC_LIT7' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT7); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:73:34: error: use of undeclared identifier '_OMC_LIT0' tmpMeta12 = stringAppend(_OMC_LIT0,_uri); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:74:44: error: use of undeclared identifier '_OMC_LIT1' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT1); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:146:31: error: use of undeclared identifier '_OMC_LIT8' tmpMeta1 = stringAppend(_OMC_LIT8,_start); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:147:40: error: use of undeclared identifier '_OMC_LIT9' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT9); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:148:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT10); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:164:71: error: use of undeclared identifier '_OMC_LIT11' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT11, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:169:35: error: use of undeclared identifier '_OMC_LIT12' tmpMeta5 = stringAppend(_OMC_LIT12,_name); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:170:44: error: use of undeclared identifier '_OMC_LIT13' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT13); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:171:44: error: use of undeclared identifier '_OMC_LIT14' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT14); ^ Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:172:44: error: use of undeclared identifier '_OMC_LIT15' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT15); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o] Error 1