Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 106.2 kB / 16.42 MB, free: 6.465 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.000894/0.0008941, allocations: 190 kB / 17.36 MB, free: 5.707 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.134/1.134, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 293.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8127/0.8127, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.136e-05, allocations: 6.219 kB / 0.682 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00156/0.001579, allocations: 1.246 MB / 0.6832 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002686, allocations: 1.012 MB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.002715, allocations: 0 / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.002732, allocations: 0 / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.003077, allocations: 107.6 kB / 0.6843 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.003094, allocations: 0 / 0.6843 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.369e-05/0.003134, allocations: 11.94 kB / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.003168, allocations: 0 / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.031e-05/0.003182, allocations: 0 / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.003255, allocations: 4 kB / 0.6844 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-06/0.003266, allocations: 0 / 0.6844 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.003443, allocations: 131.8 kB / 0.6845 GB, free: 4.523 MB / 494.1 MB Notification: Performance of combineBinaries: time 1.962e-05/0.00347, allocations: 3.938 kB / 0.6845 GB, free: 4.52 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.08e-06/0.00348, allocations: 7.906 kB / 0.6845 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-06/0.003491, allocations: 0 / 0.6845 GB, free: 4.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.091e-06/0.003501, allocations: 0 / 0.6845 GB, free: 4.512 MB / 494.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.0001853/0.00369, allocations: 169.2 kB / 0.6847 GB, free: 4.246 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.028e-05/0.003705, allocations: 7.891 kB / 0.6847 GB, free: 4.238 MB / 494.1 MB Notification: Performance of Early Inline: time 3.956e-05/0.003749, allocations: 40.38 kB / 0.6847 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simplify1: time 4.61e-07/0.003754, allocations: 0 / 0.6847 GB, free: 4.172 MB / 494.1 MB Notification: Performance of Alias: time 3.727e-05/0.003796, allocations: 56.55 kB / 0.6848 GB, free: 4.078 MB / 494.1 MB Notification: Performance of simplify2: time 4.51e-07/0.003801, allocations: 0 / 0.6848 GB, free: 4.078 MB / 494.1 MB Notification: Performance of Events: time 5.07e-06/0.003809, allocations: 3.953 kB / 0.6848 GB, free: 4.074 MB / 494.1 MB Notification: Performance of Detect States: time 3.399e-05/0.003847, allocations: 24.19 kB / 0.6848 GB, free: 4.035 MB / 494.1 MB Notification: Performance of Partitioning: time 6.091e-06/0.003858, allocations: 0 / 0.6848 GB, free: 4.035 MB / 494.1 MB Notification: Performance of Causalize: time 3.988e-06/0.003866, allocations: 4 kB / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 3.433e-05/0.003904, allocations: 40.38 kB / 0.6848 GB, free: 3.965 MB / 494.1 MB Notification: Performance of Inline: time 8.796e-05/0.003997, allocations: 56.48 kB / 0.6849 GB, free: 3.875 MB / 494.1 MB Notification: Performance of Partitioning: time 9.488e-06/0.004013, allocations: 8.125 kB / 0.6849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of Cleanup: time 2.745e-06/0.00402, allocations: 0 / 0.6849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001163/0.004142, allocations: 40.03 kB / 0.6849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of Tearing: time 3.556e-06/0.004152, allocations: 0 / 0.6849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of Initialization: time 2.81e-07/0.004156, allocations: 0 / 0.6849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of Tearing: time 6.41e-07/0.004162, allocations: 4 kB / 0.6849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of Categorize: time 1.473e-06/0.004167, allocations: 0 / 0.6849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of Solve: time 1.65e-05/0.004187, allocations: 3.984 kB / 0.6849 GB, free: 3.805 MB / 494.1 MB Notification: Performance of Jacobian: time 3.186e-06/0.004194, allocations: 3.984 kB / 0.6849 GB, free: 3.801 MB / 494.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: ......... 0 * 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: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, 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: ........... 1 (scalar:1, 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.314e-05/0.00422, allocations: 15.02 kB / 0.6849 GB, free: 3.793 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007366/0.004962, allocations: 0.9552 MB / 0.6859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of Templates: time 0.002466/0.00744, allocations: 0.9843 MB / 0.6868 GB, free: 1.902 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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=BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3 -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 BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.o BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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=BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3 -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 BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:123: error: use of undeclared identifier '_OMC_LIT2' _element = omc_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:134: error: use of undeclared identifier '_OMC_LIT3' _element = omc_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:74:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_start); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:75:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:76:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:84:71: error: use of undeclared identifier '_OMC_LIT7' _staInd = omc_Modelica_Utilities_Strings_findLast(threadData, _lin, _OMC_LIT7, ((modelica_integer) 0), 1 /* true */); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:103:17: warning: implicit declaration of function 'ModelicaInternal_readLine' is invalid in C99 [-Wimplicit-function-declaration] _string_ext = ModelicaInternal_readLine(MMC_STRINGDATA(_fileName), _lineNumber_ext, &_endOfFile_ext); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:103:15: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] _string_ext = ModelicaInternal_readLine(MMC_STRINGDATA(_fileName), _lineNumber_ext, &_endOfFile_ext); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:128:17: warning: implicit declaration of function 'ModelicaStrings_compare' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_compare(MMC_STRINGDATA(_string1), MMC_STRINGDATA(_string2), _caseSensitive_ext); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:263:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:285:17: warning: implicit declaration of function 'ModelicaStrings_substring' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_substring(MMC_STRINGDATA(_string), _startIndex_ext, _endIndex_ext); ^ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:285:15: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] _result_ext = ModelicaStrings_substring(MMC_STRINGDATA(_string), _startIndex_ext, _endIndex_ext); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:313:3: warning: implicit declaration of function 'ModelicaStrings_scanReal' is invalid in C99 [-Wimplicit-function-declaration] ModelicaStrings_scanReal(MMC_STRINGDATA(_string), _startIndex_ext, _unsigned_ext, &_nextIndex_ext, &_number_ext); ^ 7 warnings and 6 errors generated. make: *** [: BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o] Error 1