Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.576e-05/2.577e-05, allocations: 2.281 kB / 0.5923 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001714/0.001749, allocations: 1.248 MB / 0.5935 GB, free: 17.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.003438, allocations: 1.554 MB / 0.595 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.003475, allocations: 0 / 0.595 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.003493, allocations: 0 / 0.595 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.014e-05/0.003527, allocations: 3.984 kB / 0.595 GB, free: 16.13 MB / 446.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 3.0.0/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 3.0.0/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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46: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.000702/0.004245, allocations: 276.3 kB / 0.5953 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.096e-05/0.004314, allocations: 19.94 kB / 0.5953 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.004357, allocations: 7.984 kB / 0.5953 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.004427, allocations: 12 kB / 0.5953 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.4e-05/0.004468, allocations: 7.922 kB / 0.5953 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.004483, allocations: 4 kB / 0.5953 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.004707, allocations: 203.8 kB / 0.5955 GB, free: 15.62 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.846e-05/0.004755, allocations: 23.83 kB / 0.5955 GB, free: 15.59 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.797e-06/0.004764, allocations: 11.81 kB / 0.5955 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.035e-05/0.004778, allocations: 4 kB / 0.5955 GB, free: 15.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.223e-06/0.004789, allocations: 0 / 0.5955 GB, free: 15.58 MB / 446.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.0002104/0.005004, allocations: 193.1 kB / 0.5957 GB, free: 15.29 MB / 446.1 MB Notification: Performance of FunctionAlias: time 2.323e-05/0.005032, allocations: 11.92 kB / 0.5957 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Early Inline: time 5.692e-05/0.005094, allocations: 64.34 kB / 0.5958 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simplify1: time 1.563e-05/0.005114, allocations: 0 / 0.5958 GB, free: 15.19 MB / 446.1 MB Notification: Performance of Alias: time 2.886e-05/0.005147, allocations: 60.55 kB / 0.5959 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simplify2: time 4.197e-06/0.005156, allocations: 4 kB / 0.5959 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Events: time 7.545e-05/0.005236, allocations: 35.91 kB / 0.5959 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Detect States: time 5.558e-05/0.005297, allocations: 52.14 kB / 0.5959 GB, free: 14.98 MB / 446.1 MB Notification: Performance of Partitioning: time 5.242e-05/0.005355, allocations: 36.38 kB / 0.596 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001333/0.005494, allocations: 96.92 kB / 0.5961 GB, free: 14.81 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 5.003e-05/0.005551, allocations: 100.3 kB / 0.5962 GB, free: 14.68 MB / 446.1 MB Notification: Performance of Inline: time 7.152e-05/0.005628, allocations: 96.44 kB / 0.5963 GB, free: 14.55 MB / 446.1 MB Notification: Performance of Partitioning: time 9.057e-06/0.005642, allocations: 16.11 kB / 0.5963 GB, free: 14.53 MB / 446.1 MB Notification: Performance of Cleanup: time 6.923e-06/0.005653, allocations: 0 / 0.5963 GB, free: 14.53 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001103/0.005767, allocations: 132.1 kB / 0.5964 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Tearing: time 4.799e-06/0.00578, allocations: 4.062 kB / 0.5964 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Initialization: time 7.22e-07/0.005785, allocations: 4 kB / 0.5964 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Tearing: time 7.41e-07/0.00579, allocations: 0 / 0.5964 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Categorize: time 6.773e-06/0.0058, allocations: 0 / 0.5964 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Solve: time 3.341e-05/0.005838, allocations: 19.92 kB / 0.5964 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Jacobian: time 2.755e-06/0.005845, allocations: 3.938 kB / 0.5964 GB, free: 14.36 MB / 446.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 2.63e-05/0.005876, allocations: 14.94 kB / 0.5964 GB, free: 14.35 MB / 446.1 MB Notification: Performance of SimCode: time 0.0008491/0.006729, allocations: 1.08 MB / 0.5975 GB, free: 13.31 MB / 446.1 MB Notification: Performance of Templates: time 0.003256/0.009997, allocations: 1.853 MB / 0.5993 GB, free: 11.5 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.o Buildings_3.0.0_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_3_0_0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c Buildings_3.0.0_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_3.0.0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:32:29: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:37:31: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(_OMC_LIT3,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:42:33: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(_OMC_LIT4,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:48:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT5' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT5); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:51:46: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:53:46: error: use of undeclared identifier '_OMC_LIT7' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT7); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:73:34: error: use of undeclared identifier '_OMC_LIT0' tmpMeta12 = stringAppend(_OMC_LIT0,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:74:44: error: use of undeclared identifier '_OMC_LIT1' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT1); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:146:31: error: use of undeclared identifier '_OMC_LIT8' tmpMeta1 = stringAppend(_OMC_LIT8,_start); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:147:40: error: use of undeclared identifier '_OMC_LIT9' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT9); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:148:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT10); ^ Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:169:35: error: use of undeclared identifier '_OMC_LIT12' tmpMeta5 = stringAppend(_OMC_LIT12,_name); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:170:44: error: use of undeclared identifier '_OMC_LIT13' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT13); ^ Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:171:44: error: use of undeclared identifier '_OMC_LIT14' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT14); ^ Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o] Error 1