Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001261/0.001261, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001352/0.001352, allocations: 215.9 kB / 23.07 MB, free: 4.844 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.43/1.43, allocations: 230.7 MB / 256.9 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.047/3.047, allocations: 0.4893 GB / 0.7952 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.717e-05, allocations: 5.312 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00141/0.001427, allocations: 0.5592 MB / 1.155 GB, free: 25.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.002854, allocations: 1.277 MB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.002873, allocations: 0 / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 8.147e-05/0.002955, allocations: 5.25 kB / 1.156 GB, free: 24.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.781e-05/0.003003, allocations: 6.531 kB / 1.156 GB, free: 24.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.003632, allocations: 290.4 kB / 1.156 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.003779, allocations: 74.36 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.003814, allocations: 2.766 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.003856, allocations: 32.53 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.003919, allocations: 47.81 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.003944, allocations: 1.094 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.004273, allocations: 223.5 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of combineBinaries: time 9.966e-05/0.004373, allocations: 87 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.806e-05/0.004391, allocations: 21.34 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.004411, allocations: 7.781 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.392e-06/0.004418, allocations: 0 / 1.157 GB, free: 23.88 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.0004008/0.004818, allocations: 368.2 kB / 1.157 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 2.591e-05/0.004844, allocations: 20.95 kB / 1.157 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001718/0.005016, allocations: 176.3 kB / 1.158 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001301/0.005146, allocations: 129.7 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 9.487e-05/0.005241, allocations: 129.7 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001085/0.00535, allocations: 130.8 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.157e-05/0.005441, allocations: 100.5 kB / 1.158 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001225/0.005564, allocations: 134.3 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 4.658e-06/0.005569, allocations: 1.281 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 1.215e-05/0.005581, allocations: 2.109 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 5.17e-06/0.005586, allocations: 1.219 kB / 1.158 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001164/0.005702, allocations: 122.2 kB / 1.158 GB, free: 22.8 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001085/0.006788, allocations: 234.9 kB / 1.158 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001605/0.006948, allocations: 155.3 kB / 1.159 GB, free: 22.55 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.328e-06/0.006958, allocations: 10.94 kB / 1.159 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.208e-05/0.00699, allocations: 25.31 kB / 1.159 GB, free: 22.53 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002812/0.007271, allocations: 108.1 kB / 1.159 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.316e-05/0.007284, allocations: 1.281 kB / 1.159 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.007284, allocations: 3.938 kB / 1.159 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.635e-06/0.007287, allocations: 5.406 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.31e-07/0.007288, allocations: 5.344 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.122e-06/0.007289, allocations: 0.9688 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 2.324e-06/0.007291, allocations: 0.7969 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 3.219e-05/0.007323, allocations: 8.719 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.102e-06/0.007329, allocations: 0 / 1.159 GB, free: 22.48 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.457e-05/0.007354, allocations: 20.16 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001379/0.008733, allocations: 0.6902 MB / 1.159 GB, free: 22.15 MB / 0.9044 GB Notification: Performance of Templates: time 0.005395/0.01413, allocations: 2.598 MB / 1.162 GB, free: 21.84 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] make -j1 -f Buildings_12_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 12.1.1-maint.12.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.o Buildings_12_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 12.1.1-maint.12.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.o Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c Buildings_12_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_12_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_12_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_12_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_12_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_12_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_12_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_12_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_12_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_12_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_12_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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 6.4611311230110005] Failed to read output from testmodel.py, exit status != 0: 0.020551792986225337 0.032064538000000004 0.025268955000000003 Calling exit ...