Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001164/0.001169, allocations: 103.6 kB / 16.37 MB, free: 6.367 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.001164/0.001164, allocations: 188.1 kB / 17.3 MB, free: 5.914 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.129e-05, allocations: 2.281 kB / 0.5031 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001976/0.002011, allocations: 1.24 MB / 0.5043 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.00317, allocations: 1.019 MB / 0.5053 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.003205, allocations: 4 kB / 0.5053 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.003222, allocations: 0 / 0.5053 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.00359, allocations: 107.6 kB / 0.5054 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.003611, allocations: 0 / 0.5054 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.161e-05/0.003658, allocations: 3.938 kB / 0.5054 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.003705, allocations: 0 / 0.5054 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.003726, allocations: 4 kB / 0.5055 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.003816, allocations: 3.984 kB / 0.5055 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.003828, allocations: 0 / 0.5055 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.004015, allocations: 127.8 kB / 0.5056 GB, free: 8.484 MB / 430.1 MB Notification: Performance of combineBinaries: time 2.887e-05/0.004051, allocations: 11.84 kB / 0.5056 GB, free: 8.473 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 4.448e-06/0.00406, allocations: 3.906 kB / 0.5056 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-06/0.004072, allocations: 4 kB / 0.5056 GB, free: 8.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.416e-06/0.004084, allocations: 0 / 0.5056 GB, free: 8.465 MB / 430.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.0001992/0.004287, allocations: 153.3 kB / 0.5057 GB, free: 8.215 MB / 430.1 MB Notification: Performance of FunctionAlias: time 8.375e-06/0.004301, allocations: 3.938 kB / 0.5057 GB, free: 8.211 MB / 430.1 MB Notification: Performance of Early Inline: time 4.021e-05/0.004346, allocations: 40.36 kB / 0.5058 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simplify1: time 5.21e-07/0.004352, allocations: 4 kB / 0.5058 GB, free: 8.141 MB / 430.1 MB Notification: Performance of Alias: time 4.259e-05/0.004399, allocations: 52.58 kB / 0.5058 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simplify2: time 5.01e-07/0.004405, allocations: 4 kB / 0.5058 GB, free: 8.047 MB / 430.1 MB Notification: Performance of Events: time 5.771e-06/0.004415, allocations: 3.938 kB / 0.5058 GB, free: 8.043 MB / 430.1 MB Notification: Performance of Detect States: time 4.173e-05/0.00446, allocations: 24.17 kB / 0.5059 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Partitioning: time 9.518e-06/0.004474, allocations: 4 kB / 0.5059 GB, free: 8 MB / 430.1 MB Notification: Performance of Causalize: time 6.762e-06/0.004485, allocations: 0 / 0.5059 GB, free: 8 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 2.009e-05/0.004509, allocations: 32.38 kB / 0.5059 GB, free: 7.941 MB / 430.1 MB Notification: Performance of Inline: time 9.596e-05/0.004609, allocations: 64.44 kB / 0.506 GB, free: 7.844 MB / 430.1 MB Notification: Performance of Partitioning: time 1.469e-05/0.004631, allocations: 12.12 kB / 0.506 GB, free: 7.824 MB / 430.1 MB Notification: Performance of Cleanup: time 4.87e-06/0.00464, allocations: 3.938 kB / 0.506 GB, free: 7.82 MB / 430.1 MB Notification: Performance of Causalize: time 0.0001086/0.004753, allocations: 36.08 kB / 0.506 GB, free: 7.777 MB / 430.1 MB Notification: Performance of Tearing: time 4.869e-06/0.004767, allocations: 4 kB / 0.506 GB, free: 7.773 MB / 430.1 MB Notification: Performance of Initialization: time 3.1e-07/0.004771, allocations: 0 / 0.506 GB, free: 7.773 MB / 430.1 MB Notification: Performance of Tearing: time 7.91e-07/0.004777, allocations: 4.25 kB / 0.506 GB, free: 7.77 MB / 430.1 MB Notification: Performance of Categorize: time 1.824e-06/0.004782, allocations: 0 / 0.506 GB, free: 7.77 MB / 430.1 MB Notification: Performance of Solve: time 1.661e-05/0.004802, allocations: 0 / 0.506 GB, free: 7.77 MB / 430.1 MB Notification: Performance of Jacobian: time 4.589e-06/0.004811, allocations: 3.938 kB / 0.506 GB, free: 7.766 MB / 430.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.544e-05/0.00484, allocations: 16.72 kB / 0.506 GB, free: 7.75 MB / 430.1 MB Notification: Performance of SimCode: time 0.00077/0.005614, allocations: 0.96 MB / 0.507 GB, free: 6.785 MB / 430.1 MB Notification: Performance of Templates: time 0.00276/0.008385, allocations: 0.9754 MB / 0.5079 GB, free: 5.812 MB / 430.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.o IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:113: error: use of undeclared identifier '_OMC_LIT2' _element = omc_IDEAS_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:20:124: error: use of undeclared identifier '_OMC_LIT3' _element = omc_IDEAS_BoundaryConditions_WeatherData_BaseClasses_getLastHeaderElementTMY3(threadData, _filNam, _OMC_LIT2, _OMC_LIT3); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:74:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_start); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:75:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:76:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ IDEAS_IDEAS.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 */); ^ IDEAS_IDEAS.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); ^ IDEAS_IDEAS.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IDEAS_IDEAS.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); ^ IDEAS_IDEAS.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)); ^ IDEAS_IDEAS.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); ^ IDEAS_IDEAS.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IDEAS_IDEAS.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: *** [: IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o] Error 1