Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.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.001263/0.001263, allocations: 71.28 kB / 19.8 MB, free: 2.012 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.001338/0.001338, allocations: 155 kB / 23.05 MB, free: 4.973 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.303/1.303, allocations: 177.2 MB / 203.4 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.674/2.674, allocations: 394.6 MB / 0.6391 GB, free: 11.71 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_12.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.725e-05, allocations: 4.531 kB / 1.01 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001541/0.001558, allocations: 0.5637 MB / 1.01 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.003336, allocations: 1.274 MB / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.003356, allocations: 0 / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.409e-05/0.00344, allocations: 3.984 kB / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.296e-05/0.003483, allocations: 3.938 kB / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.004193, allocations: 294.3 kB / 1.012 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.004351, allocations: 67.92 kB / 1.012 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.004389, allocations: 8 kB / 1.012 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.004472, allocations: 51.88 kB / 1.012 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.004553, allocations: 39.95 kB / 1.012 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.004571, allocations: 4 kB / 1.012 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.004967, allocations: 223.6 kB / 1.012 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of combineBinaries: time 0.0001269/0.005094, allocations: 91.5 kB / 1.012 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of replaceArrayConstructors: time 2.284e-05/0.005117, allocations: 19.75 kB / 1.012 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.00514, allocations: 8 kB / 1.012 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.662e-06/0.005147, allocations: 0 / 1.012 GB, free: 11.37 MB / 0.9669 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.0006944/0.005841, allocations: 378.9 kB / 1.013 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of [SIM] FunctionAlias: time 4.194e-05/0.005883, allocations: 24.03 kB / 1.013 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of [SIM] Early Inline: time 0.0002071/0.00609, allocations: 176.2 kB / 1.013 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 1: time 0.0001745/0.006265, allocations: 128.7 kB / 1.013 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of [SIM] Alias: time 0.000144/0.006409, allocations: 120.5 kB / 1.013 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 0.0001475/0.006556, allocations: 124.7 kB / 1.013 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.0001147/0.006671, allocations: 104.3 kB / 1.013 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.0001876/0.006858, allocations: 144.8 kB / 1.013 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 9.037e-06/0.006867, allocations: 7.859 kB / 1.013 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 1.08e-05/0.006878, allocations: 0 / 1.013 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of [SIM] Causalize: time 5.811e-06/0.006884, allocations: 4 kB / 1.013 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001376/0.007022, allocations: 123.9 kB / 1.014 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of [INI] Simplify: time 0.001055/0.008077, allocations: 247.2 kB / 1.014 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of [INI] Inline: time 0.000198/0.008275, allocations: 155.9 kB / 1.014 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of [INI] Partitioning: time 1.546e-05/0.00829, allocations: 12.12 kB / 1.014 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of [INI] Cleanup: time 7.674e-05/0.008367, allocations: 43.95 kB / 1.014 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of [INI] Causalize: time 0.0003322/0.008699, allocations: 102.4 kB / 1.014 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of [INI] Tearing: time 1.332e-05/0.008712, allocations: 8 kB / 1.014 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.008713, allocations: 4 kB / 1.014 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of [SIM] Remove Dummies: time 8.81e-07/0.008714, allocations: 0 / 1.014 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of [SIM] Tearing: time 6.72e-07/0.008714, allocations: 0 / 1.014 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of [SIM] Categorize: time 1.492e-06/0.008716, allocations: 0 / 1.014 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of [SIM] Solve: time 2.876e-05/0.008744, allocations: 4 kB / 1.014 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of [SIM] Jacobian: time 6.592e-06/0.008751, allocations: 0 / 1.014 GB, free: 9.023 MB / 0.9669 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.803e-05/0.008779, allocations: 13.45 kB / 1.014 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002418/0.0112, allocations: 0.6794 MB / 1.015 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of Templates: time 0.005316/0.01651, allocations: 2.61 MB / 1.017 GB, free: 5.82 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.makefile [Timeout 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.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 master/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_latest_Buildings_Utilities_IO_Python_3_12_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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.o Buildings_latest_Buildings.Utilities.IO.Python_3_12.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 master/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_latest_Buildings_Utilities_IO_Python_3_12_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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.o Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:113:3: warning: implicit declaration of function 'pythonExchangeValues' is invalid in C99 [-Wimplicit-function-declaration] pythonExchangeValues(MMC_STRINGDATA(_moduleName), MMC_STRINGDATA(_functionName), MMC_STRINGDATA(_pythonPath), _dblWri_c89, _nDblWri_ext, _dblRea_c89, _nDblRea_ext, _intWri_c89, _nIntWri_ext, _intRea_c89, _nIntRea_ext, _strWri_c89, _nStrWri_ext, _pytObj_ext, _passPythonObject_ext); ^ Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:175:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:186: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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:274:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:387: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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:387: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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:413: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_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:436:3: warning: implicit declaration of function 'Buildings_Utilities_IO_Python__3__12_Functions_Examples_Exchange_M_array_get' is invalid in C99 [-Wimplicit-function-declaration] Buildings_Utilities_IO_Python__3__12_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__12_Functions_BaseClasses_PythonObject_constructor(threadData);; ^ Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:436:98: error: member reference base type 'int' is not a structure or union Buildings_Utilities_IO_Python__3__12_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__12_Functions_BaseClasses_PythonObject_constructor(threadData);; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:436:80: error: use of undeclared identifier 'm' Buildings_Utilities_IO_Python__3__12_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__12_Functions_BaseClasses_PythonObject_constructor(threadData);; ^ Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.c:436:86: error: use of undeclared identifier '__omcQ_24i1' Buildings_Utilities_IO_Python__3__12_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__12_Functions_BaseClasses_PythonObject_constructor(threadData);; ^ 8 warnings and 3 errors generated. make: *** [: Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 5.670055596157908] Failed to read output from testmodel.py, exit status != 0: 0.024054471403360367 0.037627776 0.029659251 Calling exit ...