Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.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.001141/0.001141, allocations: 106 kB / 16.42 MB, free: 6.473 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.001192/0.001192, allocations: 192.3 kB / 17.36 MB, free: 5.711 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.282/2.282, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.859e-05, allocations: 2.5 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001804/0.001831, allocations: 1.266 MB / 1.056 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003026, allocations: 0.996 MB / 1.057 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.003061, allocations: 0 / 1.057 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.003083, allocations: 0 / 1.057 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.003464, allocations: 119.5 kB / 1.057 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.003482, allocations: 0 / 1.057 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.816e-05/0.003526, allocations: 0 / 1.057 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.003574, allocations: 11.98 kB / 1.057 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.227e-05/0.003591, allocations: 0 / 1.057 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.176e-05/0.003676, allocations: 4 kB / 1.057 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.47e-06/0.003687, allocations: 0 / 1.057 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.003878, allocations: 123.8 kB / 1.057 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of combineBinaries: time 2.616e-05/0.003912, allocations: 7.938 kB / 1.057 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.18e-06/0.003922, allocations: 7.906 kB / 1.057 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-06/0.003932, allocations: 0 / 1.057 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.697e-06/0.003944, allocations: 3.984 kB / 1.057 GB, free: 5.188 MB / 0.8262 GB 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.0003179/0.004266, allocations: 165.2 kB / 1.057 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 8.405e-06/0.00428, allocations: 3.953 kB / 1.057 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of Early Inline: time 4.676e-05/0.004332, allocations: 44.3 kB / 1.057 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simplify1: time 5.41e-07/0.004339, allocations: 4 kB / 1.057 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of Alias: time 4.715e-05/0.00439, allocations: 44.62 kB / 1.057 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simplify2: time 4.71e-07/0.004395, allocations: 0 / 1.057 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of Events: time 6.673e-06/0.004405, allocations: 7.922 kB / 1.057 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of Detect States: time 5.442e-05/0.004464, allocations: 32.19 kB / 1.057 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of Partitioning: time 7.955e-06/0.004476, allocations: 0 / 1.057 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of Causalize: time 6.602e-06/0.004487, allocations: 3.984 kB / 1.057 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 2.581e-05/0.004518, allocations: 40.38 kB / 1.057 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001054/0.004628, allocations: 58.23 kB / 1.057 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.131e-05/0.004646, allocations: 8.125 kB / 1.057 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of Cleanup: time 5.029e-06/0.004656, allocations: 3.938 kB / 1.058 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of Causalize: time 0.00015/0.004809, allocations: 32.11 kB / 1.058 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of Tearing: time 7.585e-06/0.004825, allocations: 0 / 1.058 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of Initialization: time 3.11e-07/0.004829, allocations: 0 / 1.058 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of Tearing: time 7.22e-07/0.004833, allocations: 0 / 1.058 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of Categorize: time 3.837e-06/0.004841, allocations: 4 kB / 1.058 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of Solve: time 2.144e-05/0.004866, allocations: 3.938 kB / 1.058 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.204e-06/0.004872, allocations: 0 / 1.058 GB, free: 4.484 MB / 0.8262 GB 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.815e-05/0.004903, allocations: 10.2 kB / 1.058 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0008816/0.005789, allocations: 0.9714 MB / 1.058 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of Templates: time 0.002893/0.008691, allocations: 0.9774 MB / 1.059 GB, free: 2.559 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile make -j1 -f Buildings_latest_Buildings.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=Buildings_latest_Buildings_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 Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.o Buildings_latest_Buildings.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=Buildings_latest_Buildings_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 Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:117: error: use of undeclared identifier '_OMC_LIT2' _element = omc_Buildings_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:128: error: use of undeclared identifier '_OMC_LIT3' _element = omc_Buildings_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:74:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_start); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:75:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:76:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ Buildings_latest_Buildings.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 */); ^ Buildings_latest_Buildings.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); ^ Buildings_latest_Buildings.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_latest_Buildings.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); ^ Buildings_latest_Buildings.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)); ^ Buildings_latest_Buildings.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); ^ Buildings_latest_Buildings.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_latest_Buildings.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: *** [: Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o] Error 1