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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 213.3 kB / 23.06 MB, free: 4.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 230.6 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.641/2.641, allocations: 476 MB / 0.7708 GB, free: 4.637 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.117e-05, allocations: 2.828 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001557/0.001578, allocations: 0.5534 MB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.003065, allocations: 1.258 MB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.003091, allocations: 0.6562 kB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.003192, allocations: 10.53 kB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.003242, allocations: 2.203 kB / 1.12 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.003886, allocations: 302.5 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.004015, allocations: 68.73 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.004051, allocations: 6.797 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.004094, allocations: 30.25 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.004164, allocations: 46.03 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.004188, allocations: 5.219 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.00451, allocations: 218.7 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000103/0.004613, allocations: 91.92 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.135e-05/0.004635, allocations: 19.95 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.004656, allocations: 6.188 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.744e-06/0.004664, allocations: 2.656 kB / 1.12 GB, free: 40.95 MB / 0.9044 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 [SIM] Bindings: time 0.000439/0.005103, allocations: 375.8 kB / 1.121 GB, free: 40.66 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 2.714e-05/0.00513, allocations: 26.86 kB / 1.121 GB, free: 40.64 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001604/0.00529, allocations: 170.2 kB / 1.121 GB, free: 40.58 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001165/0.005407, allocations: 133.8 kB / 1.121 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 8.059e-05/0.005487, allocations: 118.5 kB / 1.121 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.126e-05/0.005578, allocations: 144.1 kB / 1.121 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 6.974e-05/0.005648, allocations: 98.08 kB / 1.121 GB, free: 40.21 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001037/0.005752, allocations: 133.8 kB / 1.122 GB, free: 40.1 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.522e-06/0.005758, allocations: 1.484 kB / 1.122 GB, free: 40.1 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 1.06e-05/0.005769, allocations: 1.75 kB / 1.122 GB, free: 40.1 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 4.338e-06/0.005773, allocations: 1.562 kB / 1.122 GB, free: 40.1 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 8.711e-05/0.00586, allocations: 117.3 kB / 1.122 GB, free: 40.09 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001205/0.007065, allocations: 237.7 kB / 1.122 GB, free: 39.95 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001342/0.007199, allocations: 154.9 kB / 1.122 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.976e-06/0.007208, allocations: 14.31 kB / 1.122 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.771e-05/0.007236, allocations: 23.97 kB / 1.122 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002767/0.007513, allocations: 105 kB / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.283e-05/0.007526, allocations: 0.5 kB / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 7.51e-07/0.007526, allocations: 1.438 kB / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.154e-06/0.007529, allocations: 0 / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.472e-06/0.00753, allocations: 4.656 kB / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.563e-06/0.007532, allocations: 5.188 kB / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.964e-06/0.007534, allocations: 0 / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 2.89e-05/0.007563, allocations: 5.312 kB / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.553e-06/0.007569, allocations: 3.031 kB / 1.122 GB, free: 39.89 MB / 0.9044 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) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 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 (resizable: 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 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.78e-05/0.007597, allocations: 14.23 kB / 1.122 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00541/0.01301, allocations: 0.6877 MB / 1.123 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.005326/0.01833, allocations: 2.617 MB / 1.125 GB, free: 39.55 MB / 0.9044 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] 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.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Resources/C-Sources" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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 [Calling os._exit(0), Time elapsed: 6.219865065999329] Failed to read output from testmodel.py, exit status != 0: 0.5187032890389673 0.034538969 0.027771868 Calling exit ...