Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001055/0.001058, allocations: 103.1 kB / 16.42 MB, free: 6.504 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.001063/0.001062, allocations: 192.2 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.091/1.091, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6575/0.6575, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.808e-06/9.809e-06, allocations: 4.953 kB / 0.582 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.0013/0.001317, allocations: 1.252 MB / 0.5832 GB, free: 22.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.002604, allocations: 1.45 MB / 0.5846 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.002639, allocations: 1.5 kB / 0.5846 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.002662, allocations: 0 / 0.5846 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.002796, allocations: 12.39 kB / 0.5846 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.00323, allocations: 214.8 kB / 0.5848 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.003294, allocations: 30.25 kB / 0.5849 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.025e-05/0.00333, allocations: 6.219 kB / 0.5849 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.003395, allocations: 16.19 kB / 0.5849 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.003477, allocations: 14.12 kB / 0.5849 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.003492, allocations: 0 / 0.5849 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.003683, allocations: 168.4 kB / 0.5851 GB, free: 21.29 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.241e-05/0.003723, allocations: 34.52 kB / 0.5851 GB, free: 21.27 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.739e-06/0.003733, allocations: 11.44 kB / 0.5851 GB, free: 21.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-06/0.003745, allocations: 3.719 kB / 0.5851 GB, free: 21.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.222e-06/0.003756, allocations: 0.75 kB / 0.5851 GB, free: 21.26 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.0001705/0.00393, allocations: 218.3 kB / 0.5853 GB, free: 20.99 MB / 446.1 MB Notification: Performance of FunctionAlias: time 1.22e-05/0.003947, allocations: 5.484 kB / 0.5853 GB, free: 20.98 MB / 446.1 MB Notification: Performance of Early Inline: time 5.219e-05/0.004003, allocations: 73.38 kB / 0.5854 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simplify1: time 1.388e-05/0.004023, allocations: 4 kB / 0.5854 GB, free: 20.9 MB / 446.1 MB Notification: Performance of Alias: time 2.656e-05/0.004055, allocations: 59.92 kB / 0.5854 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simplify2: time 5.029e-06/0.004064, allocations: 2.75 kB / 0.5855 GB, free: 20.81 MB / 446.1 MB Notification: Performance of Events: time 6.772e-05/0.004136, allocations: 47.36 kB / 0.5855 GB, free: 20.78 MB / 446.1 MB Notification: Performance of Detect States: time 4.677e-05/0.004188, allocations: 49.5 kB / 0.5855 GB, free: 20.72 MB / 446.1 MB Notification: Performance of Partitioning: time 3.79e-05/0.004232, allocations: 45.61 kB / 0.5856 GB, free: 20.66 MB / 446.1 MB Notification: Performance of Causalize: time 0.000125/0.004362, allocations: 71.09 kB / 0.5857 GB, free: 20.6 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 4.854e-05/0.004417, allocations: 91.86 kB / 0.5857 GB, free: 20.5 MB / 446.1 MB Notification: Performance of Inline: time 9.715e-05/0.00452, allocations: 122.9 kB / 0.5859 GB, free: 20.38 MB / 446.1 MB Notification: Performance of Partitioning: time 8.065e-06/0.004535, allocations: 12.16 kB / 0.5859 GB, free: 20.37 MB / 446.1 MB Notification: Performance of Cleanup: time 5.571e-06/0.004545, allocations: 1.281 kB / 0.5859 GB, free: 20.37 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001406/0.004689, allocations: 145 kB / 0.586 GB, free: 20.3 MB / 446.1 MB Notification: Performance of Tearing: time 3.296e-06/0.004701, allocations: 0 / 0.586 GB, free: 20.3 MB / 446.1 MB Notification: Performance of Initialization: time 9.82e-07/0.004706, allocations: 1.25 kB / 0.586 GB, free: 20.3 MB / 446.1 MB Notification: Performance of Tearing: time 8.32e-07/0.00471, allocations: 0 / 0.586 GB, free: 20.3 MB / 446.1 MB Notification: Performance of Categorize: time 5.46e-06/0.004719, allocations: 1.281 kB / 0.586 GB, free: 20.3 MB / 446.1 MB Notification: Performance of Solve: time 3.395e-05/0.004757, allocations: 17.02 kB / 0.586 GB, free: 20.29 MB / 446.1 MB Notification: Performance of Jacobian: time 2.996e-06/0.004764, allocations: 4.906 kB / 0.586 GB, free: 20.29 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: ........... 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 2.008e-05/0.004788, allocations: 12.58 kB / 0.586 GB, free: 20.28 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006437/0.005436, allocations: 1.039 MB / 0.5871 GB, free: 19.41 MB / 446.1 MB Notification: Performance of Templates: time 0.002907/0.008353, allocations: 1.609 MB / 0.5886 GB, free: 18.63 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.o IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:81:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_start); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:82:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:83:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ IDEAS_IDEAS.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 */); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:104:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta5 = stringAppend(_OMC_LIT4,_name); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:105:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT5); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:106:44: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:107:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT7); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:109:45: error: use of undeclared identifier '_OMC_LIT8' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT8); ^ IDEAS_IDEAS.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 */); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:126:32: error: use of undeclared identifier '_OMC_LIT4' tmpMeta15 = stringAppend(_OMC_LIT4,_name); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:127:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:128:42: error: use of undeclared identifier '_OMC_LIT6' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT6); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:129:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT7); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:131:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT8); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:175:109: error: use of undeclared identifier '_OMC_LIT12' _element = omc_IDEAS_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT12, _OMC_LIT13, ((modelica_integer) 7)); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:175:121: error: use of undeclared identifier '_OMC_LIT13' _element = omc_IDEAS_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT12, _OMC_LIT13, ((modelica_integer) 7)); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:182:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta1 = stringAppend(_OMC_LIT14,_element); ^ IDEAS_IDEAS.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: *** [: IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o] Error 1