Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001779/0.001779, allocations: 108.4 kB / 16.42 MB, free: 6.027 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.001803/0.001803, allocations: 185.1 kB / 17.35 MB, free: 5.602 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.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8212/0.8212, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.404e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00332/0.003368, allocations: 1.265 MB / 0.5875 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.006632, allocations: 1.442 MB / 0.5889 GB, free: 19.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.006699, allocations: 0 / 0.5889 GB, free: 19.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.006738, allocations: 1.188 kB / 0.5889 GB, free: 19.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.00707, allocations: 16.61 kB / 0.5889 GB, free: 19.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.008162, allocations: 215.9 kB / 0.5891 GB, free: 19.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.008294, allocations: 24.17 kB / 0.5891 GB, free: 19.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.428e-05/0.008373, allocations: 6.484 kB / 0.5891 GB, free: 19.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.008512, allocations: 21.14 kB / 0.5892 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.008689, allocations: 13.61 kB / 0.5892 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.008721, allocations: 0 / 0.5892 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.009212, allocations: 169.6 kB / 0.5893 GB, free: 19.21 MB / 446.1 MB Notification: Performance of combineBinaries: time 8.132e-05/0.009311, allocations: 33.47 kB / 0.5894 GB, free: 19.18 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.789e-05/0.009342, allocations: 16.41 kB / 0.5894 GB, free: 19.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.009374, allocations: 2.719 kB / 0.5894 GB, free: 19.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.501e-05/0.009401, allocations: 0 / 0.5894 GB, free: 19.17 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.0004275/0.009842, allocations: 210.7 kB / 0.5896 GB, free: 18.91 MB / 446.1 MB Notification: Performance of FunctionAlias: time 2.843e-05/0.009884, allocations: 14.34 kB / 0.5896 GB, free: 18.89 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001256/0.01002, allocations: 70.62 kB / 0.5897 GB, free: 18.81 MB / 446.1 MB Notification: Performance of simplify1: time 2.878e-05/0.01007, allocations: 6.859 kB / 0.5897 GB, free: 18.81 MB / 446.1 MB Notification: Performance of Alias: time 6.735e-05/0.01015, allocations: 47.09 kB / 0.5897 GB, free: 18.73 MB / 446.1 MB Notification: Performance of simplify2: time 1.603e-05/0.01018, allocations: 16.34 kB / 0.5897 GB, free: 18.72 MB / 446.1 MB Notification: Performance of Events: time 0.0001405/0.01033, allocations: 29.95 kB / 0.5898 GB, free: 18.7 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001237/0.01047, allocations: 52.84 kB / 0.5898 GB, free: 18.64 MB / 446.1 MB Notification: Performance of Partitioning: time 9.088e-05/0.01058, allocations: 41.58 kB / 0.5898 GB, free: 18.59 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002545/0.01085, allocations: 76.39 kB / 0.5899 GB, free: 18.52 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001198/0.01099, allocations: 89.19 kB / 0.59 GB, free: 18.43 MB / 446.1 MB Notification: Performance of Inline: time 0.000231/0.01124, allocations: 124.2 kB / 0.5901 GB, free: 18.3 MB / 446.1 MB Notification: Performance of Partitioning: time 2.551e-05/0.01128, allocations: 15.19 kB / 0.5901 GB, free: 18.29 MB / 446.1 MB Notification: Performance of Cleanup: time 1.518e-05/0.01131, allocations: 9.266 kB / 0.5901 GB, free: 18.28 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003328/0.01165, allocations: 135.7 kB / 0.5903 GB, free: 18.21 MB / 446.1 MB Notification: Performance of Tearing: time 7.925e-06/0.01168, allocations: 0 / 0.5903 GB, free: 18.21 MB / 446.1 MB Notification: Performance of Initialization: time 1.894e-06/0.01169, allocations: 2.406 kB / 0.5903 GB, free: 18.21 MB / 446.1 MB Notification: Performance of Tearing: time 3.366e-06/0.0117, allocations: 3.984 kB / 0.5903 GB, free: 18.21 MB / 446.1 MB Notification: Performance of Categorize: time 1.16e-05/0.01173, allocations: 1.438 kB / 0.5903 GB, free: 18.21 MB / 446.1 MB Notification: Performance of Solve: time 6.818e-05/0.01181, allocations: 12.92 kB / 0.5903 GB, free: 18.21 MB / 446.1 MB Notification: Performance of Jacobian: time 7.844e-06/0.01183, allocations: 3.938 kB / 0.5903 GB, free: 18.2 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 5.648e-05/0.0119, allocations: 20.77 kB / 0.5903 GB, free: 18.19 MB / 446.1 MB Notification: Performance of SimCode: time 0.001413/0.01332, allocations: 1.039 MB / 0.5913 GB, free: 17.22 MB / 446.1 MB Notification: Performance of Templates: time 0.006447/0.01979, allocations: 1.608 MB / 0.5929 GB, free: 15.69 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile make -j1 -f IDEAS_dev_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_dev_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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.o IDEAS_dev_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_dev_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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:81:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_start); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:82:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:83:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT2); ^ IDEAS_dev_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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:104:35: error: use of undeclared identifier '_OMC_LIT4' tmpMeta5 = stringAppend(_OMC_LIT4,_name); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:105:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT5); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:106:44: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:107:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT7); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:109:45: error: use of undeclared identifier '_OMC_LIT8' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT8); ^ IDEAS_dev_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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:126:32: error: use of undeclared identifier '_OMC_LIT4' tmpMeta15 = stringAppend(_OMC_LIT4,_name); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:127:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:128:42: error: use of undeclared identifier '_OMC_LIT6' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT6); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:129:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT7); ^ IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:131:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT8); ^ IDEAS_dev_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_dev_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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.c:182:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta1 = stringAppend(_OMC_LIT14,_element); ^ IDEAS_dev_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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_functions.o] Error 1