Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001347/0.001347, allocations: 115.8 kB / 17.1 MB, free: 5.941 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.001423/0.001423, allocations: 192.3 kB / 18.03 MB, free: 5.027 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.562/1.562, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7651/0.7651, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/2.956e-05, allocations: 4.797 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002047/0.002086, allocations: 1.227 MB / 0.5595 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.003512, allocations: 1.007 MB / 0.5605 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.003554, allocations: 1.625 kB / 0.5605 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.003585, allocations: 2.016 kB / 0.5605 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.004044, allocations: 118 kB / 0.5606 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.078e-06/0.004072, allocations: 0 / 0.5606 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.599e-05/0.004125, allocations: 5.359 kB / 0.5606 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.004188, allocations: 2.969 kB / 0.5606 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.754e-05/0.004212, allocations: 0.9688 kB / 0.5606 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.004318, allocations: 6.656 kB / 0.5606 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-06/0.004333, allocations: 3.938 kB / 0.5606 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.004526, allocations: 124.5 kB / 0.5607 GB, free: 30.54 MB / 446.1 MB Notification: Performance of combineBinaries: time 2.872e-05/0.004563, allocations: 14.05 kB / 0.5608 GB, free: 30.53 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.017e-06/0.004572, allocations: 1.438 kB / 0.5608 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-06/0.004584, allocations: 0.5 kB / 0.5608 GB, free: 30.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.057e-06/0.004599, allocations: 1.531 kB / 0.5608 GB, free: 30.53 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.0001855/0.004789, allocations: 159.3 kB / 0.5609 GB, free: 30.3 MB / 446.1 MB Notification: Performance of FunctionAlias: time 9.558e-06/0.004805, allocations: 3.859 kB / 0.5609 GB, free: 30.3 MB / 446.1 MB Notification: Performance of Early Inline: time 3.548e-05/0.004845, allocations: 35.16 kB / 0.5609 GB, free: 30.24 MB / 446.1 MB Notification: Performance of simplify1: time 5.21e-07/0.004852, allocations: 2.031 kB / 0.5609 GB, free: 30.24 MB / 446.1 MB Notification: Performance of Alias: time 3.823e-05/0.004895, allocations: 60.28 kB / 0.561 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simplify2: time 1.382e-06/0.004901, allocations: 2.578 kB / 0.561 GB, free: 30.16 MB / 446.1 MB Notification: Performance of Events: time 5.47e-06/0.004911, allocations: 5.75 kB / 0.561 GB, free: 30.15 MB / 446.1 MB Notification: Performance of Detect States: time 4.607e-05/0.004961, allocations: 31.2 kB / 0.561 GB, free: 30.11 MB / 446.1 MB Notification: Performance of Partitioning: time 1.271e-05/0.004979, allocations: 0 / 0.561 GB, free: 30.11 MB / 446.1 MB Notification: Performance of Causalize: time 5.8e-06/0.00499, allocations: 1.469 kB / 0.561 GB, free: 30.11 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 1.884e-05/0.005013, allocations: 38.3 kB / 0.5611 GB, free: 30.05 MB / 446.1 MB Notification: Performance of Inline: time 0.0001145/0.005133, allocations: 63.03 kB / 0.5611 GB, free: 29.97 MB / 446.1 MB Notification: Performance of Partitioning: time 1.056e-05/0.005152, allocations: 9.656 kB / 0.5612 GB, free: 29.95 MB / 446.1 MB Notification: Performance of Cleanup: time 3.968e-06/0.005162, allocations: 1 kB / 0.5612 GB, free: 29.95 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001604/0.005326, allocations: 36.8 kB / 0.5612 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Tearing: time 8.316e-06/0.005343, allocations: 0 / 0.5612 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Initialization: time 3.81e-07/0.005349, allocations: 0.8438 kB / 0.5612 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Tearing: time 1.282e-06/0.005355, allocations: 1.375 kB / 0.5612 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Categorize: time 2.825e-06/0.005365, allocations: 4.969 kB / 0.5612 GB, free: 29.92 MB / 446.1 MB Notification: Performance of Solve: time 2.594e-05/0.005395, allocations: 2.797 kB / 0.5612 GB, free: 29.92 MB / 446.1 MB Notification: Performance of Jacobian: time 3.697e-06/0.005403, allocations: 0 / 0.5612 GB, free: 29.92 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: ......... 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.283e-05/0.00544, allocations: 23.05 kB / 0.5612 GB, free: 29.91 MB / 446.1 MB Notification: Performance of SimCode: time 0.0009083/0.006354, allocations: 0.9505 MB / 0.5621 GB, free: 29.12 MB / 446.1 MB Notification: Performance of Templates: time 0.003364/0.009733, allocations: 0.9817 MB / 0.5631 GB, free: 29.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:113: error: use of undeclared identifier '_OMC_LIT2' _element = omc_IBPSA_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:124: error: use of undeclared identifier '_OMC_LIT3' _element = omc_IBPSA_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:74:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_start); ^ IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:75:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:76:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ IBPSA_latest_IBPSA.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 */); ^ IBPSA_latest_IBPSA.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); ^ IBPSA_latest_IBPSA.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IBPSA_latest_IBPSA.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); ^ IBPSA_latest_IBPSA.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)); ^ IBPSA_latest_IBPSA.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); ^ IBPSA_latest_IBPSA.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o] Error 1