Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001095, allocations: 103.6 kB / 16.38 MB, free: 6.484 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.001054/0.001054, allocations: 190.5 kB / 17.31 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.501/1.501, allocations: 292.3 MB / 0.5496 GB, free: 17.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.607e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.001413/0.00144, allocations: 0.5609 MB / 0.6734 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.002738, allocations: 1.195 MB / 0.6746 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.002762, allocations: 0 / 0.6746 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.881e-05/0.002829, allocations: 4 kB / 0.6746 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.911e-05/0.002863, allocations: 3.938 kB / 0.6746 GB, free: 4.121 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function 'Buildings.Utilities.IO.Python36.Functions.exchange' contains a call to impure function 'Modelica.Utilities.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.003445, allocations: 291.1 kB / 0.6749 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.003565, allocations: 67.92 kB / 0.6749 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.742e-05/0.003599, allocations: 4 kB / 0.6749 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.758e-05/0.003641, allocations: 35.97 kB / 0.675 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.003704, allocations: 35.89 kB / 0.675 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.003725, allocations: 8 kB / 0.675 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.004028, allocations: 203.7 kB / 0.6752 GB, free: 3.488 MB / 0.545 GB Notification: Performance of combineBinaries: time 6.455e-05/0.004102, allocations: 59.64 kB / 0.6753 GB, free: 3.43 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 8.025e-06/0.004116, allocations: 19.66 kB / 0.6753 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.004137, allocations: 4 kB / 0.6753 GB, free: 3.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.4e-06/0.004149, allocations: 7.938 kB / 0.6753 GB, free: 3.398 MB / 0.545 GB 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.0002821/0.004435, allocations: 261 kB / 0.6755 GB, free: 3.043 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0001357/0.004577, allocations: 107.7 kB / 0.6756 GB, free: 2.938 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0002722/0.004857, allocations: 280.2 kB / 0.6759 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simplify1: time 1.555e-05/0.004879, allocations: 4 kB / 0.6759 GB, free: 2.633 MB / 0.545 GB Notification: Performance of Alias: time 6.106e-05/0.004944, allocations: 68.61 kB / 0.676 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simplify2: time 1.171e-05/0.004962, allocations: 19.98 kB / 0.676 GB, free: 2.508 MB / 0.545 GB Notification: Performance of Events: time 7.871e-05/0.005045, allocations: 35.92 kB / 0.676 GB, free: 2.473 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001189/0.00517, allocations: 103.5 kB / 0.6761 GB, free: 2.359 MB / 0.545 GB Notification: Performance of Partitioning: time 9.88e-05/0.005275, allocations: 84 kB / 0.6762 GB, free: 2.27 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003347/0.005616, allocations: 307.5 kB / 0.6765 GB, free: 1.969 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001989/0.005824, allocations: 228.3 kB / 0.6767 GB, free: 1.719 MB / 0.545 GB Notification: Performance of Inline: time 0.0003822/0.006212, allocations: 420.1 kB / 0.6771 GB, free: 1.273 MB / 0.545 GB Notification: Performance of Partitioning: time 1.403e-05/0.006233, allocations: 12.12 kB / 0.6771 GB, free: 1.254 MB / 0.545 GB Notification: Performance of Cleanup: time 3.088e-05/0.006268, allocations: 27.92 kB / 0.6772 GB, free: 1.227 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003278/0.006601, allocations: 335.9 kB / 0.6775 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of Tearing: time 4.238e-06/0.006614, allocations: 384 / 0.6775 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of Initialization: time 3.61e-07/0.006618, allocations: 0 / 0.6775 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of Tearing: time 2.324e-06/0.006624, allocations: 4 kB / 0.6775 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of Categorize: time 4.729e-06/0.006633, allocations: 0 / 0.6775 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of Solve: time 4.837e-05/0.006686, allocations: 27.91 kB / 0.6775 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of Jacobian: time 2.003e-06/0.006694, allocations: 3.938 kB / 0.6775 GB, free: 0.8594 MB / 0.545 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: ......... 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: ................. 6 (5) {yI1, yI2, $FUN_5, $FUN_6, $FUN_9} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 9 (scalar:9, 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: ........... 9 (scalar:9, 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 2.638e-05/0.006724, allocations: 27.48 kB / 0.6775 GB, free: 0.8398 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-81:13:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.a /usr/lib/x86_64-linux-gnu/libpython3.6m.a /lib/x86_64-linux-gnu/libpython3.6m.a /usr/lib//libpython3.6m.a /lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.so /usr/lib/x86_64-linux-gnu/libpython3.6m.so /lib/x86_64-linux-gnu/libpython3.6m.so /usr/lib//libpython3.6m.so /lib//libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-46:20:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.a /usr/lib/x86_64-linux-gnu/libpython3.6m.a /lib/x86_64-linux-gnu/libpython3.6m.a /usr/lib//libpython3.6m.a /lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.so /usr/lib/x86_64-linux-gnu/libpython3.6m.so /lib/x86_64-linux-gnu/libpython3.6m.so /usr/lib//libpython3.6m.so /lib//libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:48:3-78:17:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.a /usr/lib/x86_64-linux-gnu/libpython3.6m.a /lib/x86_64-linux-gnu/libpython3.6m.a /usr/lib//libpython3.6m.a /lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.so /usr/lib/x86_64-linux-gnu/libpython3.6m.so /lib/x86_64-linux-gnu/libpython3.6m.so /usr/lib//libpython3.6m.so /lib//libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so Notification: Performance of SimCode: time 0.001166/0.007894, allocations: 1.301 MB / 0.6788 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.004643/0.01255, allocations: 2.767 MB / 0.6815 GB, free: 12.86 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.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 8.1.4-maint.8.1.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_8_Buildings_Utilities_IO_Python36_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_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.o Buildings_8_Buildings.Utilities.IO.Python36.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 8.1.4-maint.8.1.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_8_Buildings_Utilities_IO_Python36_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_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.o Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.c Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.c:29:19: error: use of undeclared identifier '_OMC_LIT0' _searchString = _OMC_LIT0; ^ Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.c:30:73: error: use of undeclared identifier '_OMC_LIT1' _pytPatBuildings = omc_Modelica_Utilities_Strings_replace(threadData, _OMC_LIT1, _searchString, _OMC_LIT2, ((modelica_integer) 1), 1 /* true */, 1 /* true */); ^ Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.c:30:99: error: use of undeclared identifier '_OMC_LIT2' _pytPatBuildings = omc_Modelica_Utilities_Strings_replace(threadData, _OMC_LIT1, _searchString, _OMC_LIT2, ((modelica_integer) 1), 1 /* true */, 1 /* true */); ^ Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.c:32:81: error: use of undeclared identifier '_OMC_LIT3' _pytPatOld = omc_Modelica_Utilities_System_getEnvironmentVariable(threadData, _OMC_LIT3, 0 /* false */ ,&_havePytPat); ^ Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.c:38:42: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_pytPatOld,_OMC_LIT4); ^ Buildings_8_Buildings.Utilities.IO.Python36.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_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.c:303:54: error: use of undeclared identifier '_OMC_LIT5' _result = ((_startIndex == ((modelica_integer) 1))?_OMC_LIT5:omc_Modelica_Utilities_Strings_substring(threadData, _string, ((modelica_integer) 1), _startIndex - ((modelica_integer) 1))); ^ Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.c:319:83: error: use of undeclared identifier '_OMC_LIT5' tmpMeta1 = stringAppend(_result,((_i_found - ((modelica_integer) 1) < _i)?_OMC_LIT5:omc_Modelica_Utilities_Strings_substring(threadData, _string, _i, _i_found - ((modelica_integer) 1)))); ^ 1 warning and 7 errors generated. make: *** [: Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange_functions.o] Error 1