Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.523e-05/2.533e-05, allocations: 2.281 kB / 0.5922 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.001589/0.001623, allocations: 0.5186 MB / 0.5928 GB, free: 18.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009367/0.002571, allocations: 451.2 kB / 0.5932 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.002604, allocations: 0 / 0.5932 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.002653, allocations: 3.938 kB / 0.5932 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.002707, allocations: 0 / 0.5932 GB, free: 17.76 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Utilities/IO/Python27/Functions/exchange.mo:2:1-99:13:writable] Warning: Pure function 'Buildings.Utilities.IO.Python27.Functions.exchange' contains a call to impure function 'Modelica.Utilities.System.getEnvironmentVariable'. Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.003479, allocations: 193.5 kB / 0.5934 GB, free: 17.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.003634, allocations: 44.25 kB / 0.5934 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.003684, allocations: 5.359 kB / 0.5934 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.003734, allocations: 27 kB / 0.5934 GB, free: 17.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.003806, allocations: 25.38 kB / 0.5935 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.003828, allocations: 1.312 kB / 0.5935 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.00405, allocations: 114 kB / 0.5936 GB, free: 17.53 MB / 446.1 MB Notification: Performance of combineBinaries: time 6.914e-05/0.004128, allocations: 42.53 kB / 0.5936 GB, free: 17.51 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.166e-06/0.004137, allocations: 6.719 kB / 0.5936 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.004175, allocations: 4 kB / 0.5936 GB, free: 17.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.184e-05/0.004192, allocations: 4 kB / 0.5936 GB, free: 17.5 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (1) * Number of variables: 6 (4) Notification: Performance of Bindings: time 0.0002517/0.004448, allocations: 210.4 kB / 0.5938 GB, free: 17.2 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001368/0.004591, allocations: 83.81 kB / 0.5939 GB, free: 17.12 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001543/0.004752, allocations: 168.1 kB / 0.5941 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simplify1: time 2.065e-05/0.004779, allocations: 4 kB / 0.5941 GB, free: 16.92 MB / 446.1 MB Notification: Performance of Alias: time 5.319e-05/0.004837, allocations: 72.61 kB / 0.5941 GB, free: 16.81 MB / 446.1 MB Notification: Performance of simplify2: time 8.376e-06/0.004851, allocations: 8 kB / 0.5942 GB, free: 16.8 MB / 446.1 MB Notification: Performance of Events: time 7.542e-05/0.004931, allocations: 35.95 kB / 0.5942 GB, free: 16.77 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001006/0.005037, allocations: 76.14 kB / 0.5943 GB, free: 16.68 MB / 446.1 MB Notification: Performance of Partitioning: time 8.151e-05/0.005126, allocations: 67.98 kB / 0.5943 GB, free: 16.61 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003358/0.005468, allocations: 286.7 kB / 0.5946 GB, free: 16.32 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001223/0.005599, allocations: 160.3 kB / 0.5948 GB, free: 16.14 MB / 446.1 MB Notification: Performance of Inline: time 0.0002023/0.005807, allocations: 248.3 kB / 0.595 GB, free: 15.86 MB / 446.1 MB Notification: Performance of Partitioning: time 1.389e-05/0.005828, allocations: 20.12 kB / 0.595 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Cleanup: time 2.772e-05/0.005861, allocations: 15.98 kB / 0.595 GB, free: 15.82 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002587/0.006124, allocations: 291.2 kB / 0.5953 GB, free: 15.53 MB / 446.1 MB Notification: Performance of Tearing: time 7.545e-06/0.00614, allocations: 3.938 kB / 0.5953 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Initialization: time 3.1e-07/0.006145, allocations: 0 / 0.5953 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Tearing: time 1.443e-06/0.006152, allocations: 4 kB / 0.5953 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Categorize: time 7.314e-06/0.006164, allocations: 0 / 0.5953 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Solve: time 5.055e-05/0.006219, allocations: 19.98 kB / 0.5953 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Jacobian: time 2.815e-06/0.006228, allocations: 0 / 0.5953 GB, free: 15.5 MB / 446.1 MB 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: ......... 1 * 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: ................. 5 (4) {yI1, yI2, $FUN_5, $FUN_6} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 3.61e-05/0.006268, allocations: 25.83 kB / 0.5954 GB, free: 15.48 MB / 446.1 MB Notification: Performance of SimCode: time 0.0009838/0.007256, allocations: 1.118 MB / 0.5964 GB, free: 14.4 MB / 446.1 MB Notification: Performance of Templates: time 0.004584/0.01185, allocations: 2.031 MB / 0.5984 GB, free: 12.39 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.makefile make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.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/Buildings 3.0.0/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_3_0_0_Buildings_Utilities_IO_Python27_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_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.o Buildings_3.0.0_Buildings.Utilities.IO.Python27.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/Buildings 3.0.0/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_3_0_0_Buildings_Utilities_IO_Python27_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_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.o Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:26:22: error: use of undeclared identifier '_OMC_LIT0' _pytPatBuildings = _OMC_LIT0; ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:28:78: error: use of undeclared identifier '_OMC_LIT1' _pytPat = omc_Modelica_Utilities_System_getEnvironmentVariable(threadData, _OMC_LIT1, 0 /* false */ ,&_havePytPat); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:32:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_pytPat,_OMC_LIT2); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:34:70: error: use of undeclared identifier '_OMC_LIT1' omc_Modelica_Utilities_System_setEnvironmentVariable(threadData, _OMC_LIT1, tmpMeta2, 0 /* false */); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:38:70: error: use of undeclared identifier '_OMC_LIT1' omc_Modelica_Utilities_System_setEnvironmentVariable(threadData, _OMC_LIT1, _pytPatBuildings, 0 /* false */); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:45:70: error: use of undeclared identifier '_OMC_LIT1' omc_Modelica_Utilities_System_setEnvironmentVariable(threadData, _OMC_LIT1, _pytPat, 0 /* false */); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:49:70: error: use of undeclared identifier '_OMC_LIT1' omc_Modelica_Utilities_System_setEnvironmentVariable(threadData, _OMC_LIT1, _OMC_LIT3, 0 /* false */); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:49:81: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_System_setEnvironmentVariable(threadData, _OMC_LIT1, _OMC_LIT3, 0 /* false */); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:104:3: warning: implicit declaration of function 'pythonExchangeValues' is invalid in C99 [-Wimplicit-function-declaration] pythonExchangeValues(MMC_STRINGDATA(_moduleName), MMC_STRINGDATA(_functionName), (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); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:152:31: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_OMC_LIT4,_fileName); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:153:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT5); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:154:40: error: use of undeclared identifier '_OMC_LIT7' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT7); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:161:33: error: use of undeclared identifier '_OMC_LIT4' tmpMeta4 = stringAppend(_OMC_LIT4,_fileName); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:162:42: error: use of undeclared identifier '_OMC_LIT5' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT5); ^ Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.c:163:42: error: use of undeclared identifier '_OMC_LIT6' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT6); ^ 1 warning and 14 errors generated. make: *** [: Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange_functions.o] Error 1