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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(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.001194/0.001195, allocations: 111.6 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.001233/0.001233, allocations: 188.2 kB / 17.36 MB, free: 5.723 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.405/2.405, allocations: 472.6 MB / 0.7459 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.83e-05, allocations: 2.281 kB / 1.07 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001742/0.001768, allocations: 1.245 MB / 1.071 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.00296, allocations: 1.004 MB / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.002994, allocations: 0 / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.003012, allocations: 0 / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.003402, allocations: 107.5 kB / 1.072 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.003415, allocations: 0 / 1.072 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.031e-05/0.003469, allocations: 8 kB / 1.072 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.003509, allocations: 4 kB / 1.072 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.123e-05/0.003524, allocations: 0 / 1.072 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.003608, allocations: 11.92 kB / 1.072 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-06/0.003621, allocations: 4 kB / 1.072 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.003813, allocations: 119.8 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of combineBinaries: time 2.321e-05/0.003844, allocations: 3.906 kB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.741e-06/0.003854, allocations: 11.84 kB / 1.073 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.041e-06/0.003864, allocations: 0 / 1.073 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.217e-06/0.003878, allocations: 3.984 kB / 1.073 GB, free: 7.109 MB / 0.8419 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.0001974/0.004079, allocations: 167.4 kB / 1.073 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.807e-05/0.004103, allocations: 3.953 kB / 1.073 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of Early Inline: time 3.536e-05/0.004143, allocations: 36.38 kB / 1.073 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of simplify1: time 4.91e-07/0.004148, allocations: 0 / 1.073 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of Alias: time 4.418e-05/0.004196, allocations: 60.55 kB / 1.073 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of simplify2: time 4.41e-07/0.004201, allocations: 0 / 1.073 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of Detect States: time 3.631e-05/0.004243, allocations: 30.33 kB / 1.073 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of Events: time 4.949e-06/0.004253, allocations: 3.938 kB / 1.073 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.987e-06/0.004265, allocations: 0 / 1.073 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of Causalize: time 3.978e-06/0.004273, allocations: 0 / 1.073 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 2.875e-05/0.004305, allocations: 36.42 kB / 1.073 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of Inline: time 0.0004145/0.004724, allocations: 88.45 kB / 1.073 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.269e-05/0.004745, allocations: 16.11 kB / 1.073 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.298e-06/0.004754, allocations: 3.938 kB / 1.073 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000135/0.004893, allocations: 32.09 kB / 1.073 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of Tearing: time 8.776e-06/0.004909, allocations: 0 / 1.073 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of Initialization: time 3.31e-07/0.004914, allocations: 4.125 kB / 1.073 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of Tearing: time 7.72e-07/0.004919, allocations: 4 kB / 1.073 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of Categorize: time 1.633e-06/0.004925, allocations: 0 / 1.073 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of Solve: time 2.148e-05/0.00495, allocations: 7.938 kB / 1.073 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.495e-06/0.004956, allocations: 0 / 1.073 GB, free: 6.371 MB / 0.8419 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.7e-05/0.004987, allocations: 23.88 kB / 1.073 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008058/0.005797, allocations: 0.9706 MB / 1.074 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.002666/0.008473, allocations: 0.9676 MB / 1.075 GB, free: 4.438 MB / 0.8419 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