Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001437/0.001437, allocations: 112.8 kB / 16.42 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.001446/0.001446, allocations: 182 kB / 17.36 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.443/1.443, 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 10.1.1-maint.10.0.x/package.mo): time 2.49/2.49, allocations: 437 MB / 0.7111 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.214e-05, allocations: 2.281 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001976/0.002006, allocations: 1.241 MB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003299, allocations: 1.009 MB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.003337, allocations: 4 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.003357, allocations: 0 / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.00378, allocations: 111.6 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.003804, allocations: 0 / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.488e-05/0.003854, allocations: 7.938 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.0039, allocations: 0 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.418e-05/0.003918, allocations: 0 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.004068, allocations: 7.984 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.822e-06/0.004081, allocations: 0 / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.00429, allocations: 127.8 kB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of combineBinaries: time 2.545e-05/0.004325, allocations: 7.938 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 5.991e-06/0.004336, allocations: 7.906 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.033e-05/0.004351, allocations: 0 / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.737e-06/0.004364, allocations: 0 / 1.022 GB, free: 6.93 MB / 0.795 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.000265/0.004632, allocations: 165.2 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of FunctionAlias: time 1.52e-05/0.004653, allocations: 11.89 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of Early Inline: time 7.626e-05/0.004734, allocations: 40.36 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of simplify1: time 5.91e-07/0.004739, allocations: 0 / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of Alias: time 4.216e-05/0.004785, allocations: 44.62 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of simplify2: time 4.81e-07/0.004791, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of Detect States: time 4.483e-05/0.004841, allocations: 32.12 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of Events: time 6.242e-06/0.004853, allocations: 3.953 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of Partitioning: time 1.369e-05/0.00487, allocations: 3.984 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of Causalize: time 4.989e-06/0.004879, allocations: 0 / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 2.83e-05/0.004911, allocations: 40.38 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of Inline: time 0.0004609/0.005376, allocations: 86.42 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of Partitioning: time 1.338e-05/0.0054, allocations: 16.12 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of Cleanup: time 5.53e-06/0.005411, allocations: 3.938 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001524/0.005567, allocations: 32.09 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of Tearing: time 9.919e-06/0.005585, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of Initialization: time 3.3e-07/0.00559, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of Tearing: time 7.62e-07/0.005594, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of Categorize: time 1.503e-06/0.005599, allocations: 192 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of Solve: time 2.315e-05/0.005628, allocations: 15.94 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of Jacobian: time 2.495e-06/0.005635, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 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 4.438e-05/0.005683, allocations: 12.34 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of SimCode: time 0.0009021/0.00659, allocations: 0.9593 MB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of Templates: time 0.002925/0.009528, allocations: 0.989 MB / 1.024 GB, free: 4.266 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.o Buildings_10_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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c Buildings_10_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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:74:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_start); ^ Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:75:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.c:76:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ Buildings_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_functions.o] Error 1