Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001139/0.001139, allocations: 113.2 kB / 16.43 MB, free: 6.496 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.001215/0.001215, allocations: 187.7 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.997/1.997, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.727e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001897/0.001922, allocations: 1.249 MB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.003227, allocations: 1.008 MB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.00327, allocations: 3.938 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.003295, allocations: 0 / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005411/0.003842, allocations: 107.5 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.199e-06/0.003875, allocations: 0 / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.983e-05/0.003929, allocations: 4 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.003988, allocations: 0 / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.004011, allocations: 0 / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.004125, allocations: 11.98 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.565e-06/0.004139, allocations: 0 / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.004384, allocations: 127.8 kB / 0.9539 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of combineBinaries: time 3.194e-05/0.004424, allocations: 3.938 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 8.376e-06/0.004437, allocations: 7.906 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.288e-06/0.00445, allocations: 0 / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.418e-06/0.004464, allocations: 0 / 0.9539 GB, free: 5.168 MB / 0.7325 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.0002465/0.004714, allocations: 173.2 kB / 0.9541 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.158e-05/0.004731, allocations: 3.953 kB / 0.9541 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of Early Inline: time 5.661e-05/0.004792, allocations: 36.38 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of simplify1: time 7.92e-07/0.004798, allocations: 0 / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of Alias: time 5.519e-05/0.004857, allocations: 68.53 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of simplify2: time 6.41e-07/0.004863, allocations: 0 / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of Detect States: time 4.847e-05/0.004915, allocations: 29.52 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Events: time 5.229e-06/0.004925, allocations: 0 / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.06e-05/0.00494, allocations: 0 / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Causalize: time 7.494e-06/0.00495, allocations: 3.938 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 2.864e-05/0.004983, allocations: 36.38 kB / 0.9542 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001301/0.005118, allocations: 62.89 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.199e-05/0.005138, allocations: 8.125 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of Cleanup: time 3.937e-06/0.005146, allocations: 0 / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001684/0.005318, allocations: 35.98 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of Tearing: time 9.488e-06/0.005336, allocations: 192 / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of Initialization: time 3.61e-07/0.005343, allocations: 4 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of Tearing: time 2.444e-06/0.00535, allocations: 4 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of Categorize: time 2.575e-06/0.005356, allocations: 0 / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of Solve: time 2.34e-05/0.005383, allocations: 3.984 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of Jacobian: time 3.467e-06/0.005391, allocations: 0 / 0.9544 GB, free: 4.457 MB / 0.7325 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 3.593e-05/0.005431, allocations: 22.08 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of SimCode: time 0.001025/0.006461, allocations: 0.9714 MB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.002851/0.009323, allocations: 0.9786 MB / 0.9563 GB, free: 2.516 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.o Buildings_9_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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c Buildings_9_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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:74:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_start); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:75:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:76:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o] Error 1