Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111.8 kB / 16.42 MB, free: 6.512 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.001076/0.001076, allocations: 184.2 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.239/2.239, allocations: 469.8 MB / 0.7431 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.698e-05, allocations: 6.438 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001262/0.001286, allocations: 0.5531 MB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.00268, allocations: 1.198 MB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.002713, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.113e-05/0.0028, allocations: 4 kB / 1.068 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.299e-05/0.002853, allocations: 3.938 kB / 1.068 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.003426, allocations: 275.3 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.003578, allocations: 67.92 kB / 1.068 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.003618, allocations: 11.98 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.003668, allocations: 35.92 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.003736, allocations: 35.95 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.003764, allocations: 4 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.004087, allocations: 211.6 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.044e-05/0.004178, allocations: 67.62 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.886e-05/0.004203, allocations: 19.66 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.004224, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.534e-06/0.004237, allocations: 4 kB / 1.068 GB, free: 11.17 MB / 0.8419 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.0003479/0.004589, allocations: 264.8 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.526e-06/0.004603, allocations: 3.953 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.000158/0.004765, allocations: 124.3 kB / 1.069 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simplify1: time 6.849e-05/0.00484, allocations: 68.41 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of Alias: time 4.736e-05/0.004893, allocations: 48.61 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simplify2: time 5.94e-05/0.004957, allocations: 76.39 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001345/0.005096, allocations: 98.66 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of Events: time 0.0001782/0.005281, allocations: 91.83 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.326e-06/0.005296, allocations: 4 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of Causalize: time 4.098e-06/0.005304, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001038/0.005412, allocations: 96.33 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of Inline: time 0.0005232/0.005941, allocations: 174.9 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.119e-05/0.005961, allocations: 8.125 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.853e-05/0.006005, allocations: 31.95 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002319/0.006241, allocations: 102.7 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of Tearing: time 7.093e-06/0.006258, allocations: 4 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of Initialization: time 1.413e-06/0.006265, allocations: 4 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of Tearing: time 7.21e-07/0.00627, allocations: 3.938 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of Categorize: time 1.553e-06/0.006275, allocations: 0 / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of Solve: time 1.887e-05/0.006298, allocations: 0 / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.406e-06/0.006305, allocations: 4 kB / 1.069 GB, free: 9.691 MB / 0.8419 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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.175e-05/0.006331, allocations: 20.09 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001197/0.007534, allocations: 1.272 MB / 1.071 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of Templates: time 0.004588/0.01213, allocations: 2.84 MB / 1.073 GB, free: 5.629 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange -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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.o Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange -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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.o Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:112:3: warning: implicit declaration of function 'pythonExchangeValues' is invalid in C99 [-Wimplicit-function-declaration] pythonExchangeValues(MMC_STRINGDATA(_moduleName), MMC_STRINGDATA(_functionName), MMC_STRINGDATA(_pythonPath), (const double*) _dblWri_c89, _nDblWri_ext, (double*) _dblRea_c89, _nDblRea_ext, (const int*) _intWri_c89, _nIntWri_ext, (int*) _intRea_c89, _nIntRea_ext, (const char**) _strWri_c89, _nStrWri_ext, _pytObj_ext, _passPythonObject_ext); ^ Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:172:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:183: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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:270:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:383: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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:383: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_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:409:3: warning: implicit declaration of function 'ModelicaInternal_getenv' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_getenv(MMC_STRINGDATA(_name), _convertToSlash_ext, &_content_ext, &_exist_ext); ^ Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:432:3: warning: implicit declaration of function 'Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get' is invalid in C99 [-Wimplicit-function-declaration] Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__8_Functions_BaseClasses_PythonObject_constructor(threadData); ^ Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:432:97: error: member reference base type 'int' is not a structure or union Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__8_Functions_BaseClasses_PythonObject_constructor(threadData); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:432:79: error: use of undeclared identifier 'm' Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__8_Functions_BaseClasses_PythonObject_constructor(threadData); ^ Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:432:85: error: use of undeclared identifier '__omcQ_24i1' Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__8_Functions_BaseClasses_PythonObject_constructor(threadData); ^ 8 warnings and 3 errors generated. make: *** [: Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.o] Error 1