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.001513/0.001513, allocations: 113.8 kB / 16.43 MB, free: 6.523 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.001861/0.001861, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.499/1.499, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8784/0.8784, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.195e-05, allocations: 2.281 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00249/0.002532, allocations: 1.231 MB / 0.5832 GB, free: 22.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.004009, allocations: 1.01 MB / 0.5842 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.004055, allocations: 2.25 kB / 0.5842 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.004084, allocations: 1.438 kB / 0.5842 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.004661, allocations: 114.5 kB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.218e-06/0.004676, allocations: 3.938 kB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.004783, allocations: 2.625 kB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.004849, allocations: 2.375 kB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.004879, allocations: 1.375 kB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.004995, allocations: 5.375 kB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.00501, allocations: 2.688 kB / 0.5843 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.005289, allocations: 129.6 kB / 0.5844 GB, free: 21.73 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.8e-05/0.005335, allocations: 6.281 kB / 0.5844 GB, free: 21.72 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 6.091e-06/0.005348, allocations: 8.312 kB / 0.5844 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-06/0.00536, allocations: 0 / 0.5844 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.06e-05/0.005378, allocations: 1.219 kB / 0.5844 GB, free: 21.72 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.0002214/0.005604, allocations: 160.3 kB / 0.5846 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FunctionAlias: time 1.614e-05/0.005626, allocations: 9.016 kB / 0.5846 GB, free: 21.48 MB / 446.1 MB Notification: Performance of Early Inline: time 4.523e-05/0.005676, allocations: 35.59 kB / 0.5846 GB, free: 21.42 MB / 446.1 MB Notification: Performance of simplify1: time 7.02e-07/0.005685, allocations: 2.188 kB / 0.5846 GB, free: 21.42 MB / 446.1 MB Notification: Performance of Alias: time 3.993e-05/0.005729, allocations: 53.42 kB / 0.5847 GB, free: 21.33 MB / 446.1 MB Notification: Performance of simplify2: time 5.92e-07/0.005737, allocations: 0 / 0.5847 GB, free: 21.33 MB / 446.1 MB Notification: Performance of Detect States: time 4.094e-05/0.005784, allocations: 22.89 kB / 0.5847 GB, free: 21.3 MB / 446.1 MB Notification: Performance of Events: time 7.164e-06/0.005797, allocations: 5.312 kB / 0.5847 GB, free: 21.29 MB / 446.1 MB Notification: Performance of Partitioning: time 1.04e-05/0.005813, allocations: 4.438 kB / 0.5847 GB, free: 21.29 MB / 446.1 MB Notification: Performance of Causalize: time 7.154e-06/0.005827, allocations: 7.719 kB / 0.5847 GB, free: 21.29 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 2.419e-05/0.005856, allocations: 38.97 kB / 0.5848 GB, free: 21.22 MB / 446.1 MB Notification: Performance of Inline: time 0.0006451/0.006506, allocations: 85.86 kB / 0.5848 GB, free: 21.13 MB / 446.1 MB Notification: Performance of Partitioning: time 1.425e-05/0.006531, allocations: 9.906 kB / 0.5848 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Cleanup: time 8.115e-06/0.006545, allocations: 3.938 kB / 0.5849 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001917/0.006742, allocations: 24.77 kB / 0.5849 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Tearing: time 1.387e-05/0.006768, allocations: 2.375 kB / 0.5849 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Initialization: time 7.61e-07/0.006774, allocations: 0 / 0.5849 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Tearing: time 2.685e-06/0.006782, allocations: 0.9688 kB / 0.5849 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Categorize: time 5.541e-06/0.006793, allocations: 5.766 kB / 0.5849 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Solve: time 3.857e-05/0.006835, allocations: 9.375 kB / 0.5849 GB, free: 21.08 MB / 446.1 MB Notification: Performance of Jacobian: time 5.932e-06/0.006848, allocations: 1.406 kB / 0.5849 GB, free: 21.08 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 5.216e-05/0.006904, allocations: 17.95 kB / 0.5849 GB, free: 21.07 MB / 446.1 MB Notification: Performance of SimCode: time 0.001069/0.00798, allocations: 0.9633 MB / 0.5859 GB, free: 20.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003733/0.01173, allocations: 0.9796 MB / 0.5868 GB, free: 19.78 MB / 446.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