Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 107.1 kB / 16.37 MB, free: 6.363 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.001064/0.001064, allocations: 191.5 kB / 17.31 MB, free: 5.91 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.106/1.106, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.515/1.515, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.161e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.001479/0.001513, allocations: 0.5453 MB / 0.6734 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.002712, allocations: 1.128 MB / 0.6745 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.00274, allocations: 0 / 0.6745 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.078e-05/0.002817, allocations: 4 kB / 0.6745 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.002853, allocations: 0 / 0.6745 GB, free: 4.23 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.0004137/0.003279, allocations: 175.4 kB / 0.6747 GB, free: 4.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.003339, allocations: 19.97 kB / 0.6747 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.897e-05/0.003375, allocations: 4 kB / 0.6747 GB, free: 4.035 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.003397, allocations: 4 kB / 0.6747 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.003436, allocations: 7.984 kB / 0.6747 GB, free: 4.023 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.003449, allocations: 3.938 kB / 0.6747 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.00374, allocations: 207.6 kB / 0.6749 GB, free: 3.816 MB / 0.545 GB Notification: Performance of combineBinaries: time 3.318e-05/0.003783, allocations: 19.83 kB / 0.6749 GB, free: 3.797 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 7.043e-06/0.003797, allocations: 15.81 kB / 0.6749 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.59e-05/0.003817, allocations: 0 / 0.6749 GB, free: 3.781 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.073e-06/0.003828, allocations: 0 / 0.6749 GB, free: 3.781 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0002282/0.00406, allocations: 204.2 kB / 0.6751 GB, free: 3.484 MB / 0.545 GB Notification: Performance of FunctionAlias: time 1.549e-05/0.00408, allocations: 7.891 kB / 0.6751 GB, free: 3.477 MB / 0.545 GB Notification: Performance of Early Inline: time 6.894e-05/0.004155, allocations: 64.34 kB / 0.6752 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simplify1: time 1.431e-05/0.004174, allocations: 0 / 0.6752 GB, free: 3.387 MB / 0.545 GB Notification: Performance of Alias: time 4.644e-05/0.004225, allocations: 64.55 kB / 0.6752 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simplify2: time 7.143e-06/0.004236, allocations: 8 kB / 0.6753 GB, free: 3.277 MB / 0.545 GB Notification: Performance of Events: time 6.061e-05/0.004301, allocations: 31.84 kB / 0.6753 GB, free: 3.246 MB / 0.545 GB Notification: Performance of Detect States: time 5.859e-05/0.004366, allocations: 43.34 kB / 0.6753 GB, free: 3.191 MB / 0.545 GB Notification: Performance of Partitioning: time 4.253e-05/0.004414, allocations: 20.12 kB / 0.6753 GB, free: 3.164 MB / 0.545 GB Notification: Performance of Causalize: time 0.000196/0.004615, allocations: 120.1 kB / 0.6755 GB, free: 3.039 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 6.626e-05/0.00469, allocations: 76.33 kB / 0.6755 GB, free: 2.938 MB / 0.545 GB Notification: Performance of Inline: time 0.0001007/0.004797, allocations: 116.4 kB / 0.6756 GB, free: 2.789 MB / 0.545 GB Notification: Performance of Partitioning: time 1.041e-05/0.004813, allocations: 12.12 kB / 0.6757 GB, free: 2.77 MB / 0.545 GB Notification: Performance of Cleanup: time 1.477e-05/0.004834, allocations: 11.92 kB / 0.6757 GB, free: 2.758 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001397/0.004977, allocations: 132.8 kB / 0.6758 GB, free: 2.621 MB / 0.545 GB Notification: Performance of Tearing: time 4.138e-06/0.00499, allocations: 0 / 0.6758 GB, free: 2.621 MB / 0.545 GB Notification: Performance of Initialization: time 3.11e-07/0.004994, allocations: 0 / 0.6758 GB, free: 2.621 MB / 0.545 GB Notification: Performance of Tearing: time 2.254e-06/0.005, allocations: 4 kB / 0.6758 GB, free: 2.617 MB / 0.545 GB Notification: Performance of Categorize: time 5.921e-06/0.00501, allocations: 4 kB / 0.6758 GB, free: 2.613 MB / 0.545 GB Notification: Performance of Solve: time 4.012e-05/0.005054, allocations: 15.92 kB / 0.6758 GB, free: 2.598 MB / 0.545 GB Notification: Performance of Jacobian: time 2.104e-06/0.005061, allocations: 0 / 0.6758 GB, free: 2.598 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: ................. 2 (2) {$SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:2, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 4 (scalar:2, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.399e-05/0.005089, allocations: 20.17 kB / 0.6758 GB, free: 2.582 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.001095/0.006188, allocations: 1.201 MB / 0.677 GB, free: 1.449 MB / 0.545 GB Notification: Performance of Templates: time 0.003403/0.009601, allocations: 1.68 MB / 0.6787 GB, free: 15.78 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.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_ExchangeWithPassPythonObject -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.ExchangeWithPassPythonObject.o Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.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_ExchangeWithPassPythonObject -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.ExchangeWithPassPythonObject_functions.o Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject_functions.c Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject_functions.c:29:19: error: use of undeclared identifier '_OMC_LIT0' _searchString = _OMC_LIT0; ^ Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject_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.ExchangeWithPassPythonObject_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.ExchangeWithPassPythonObject_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.ExchangeWithPassPythonObject_functions.c:38:42: error: use of undeclared identifier '_OMC_LIT4' tmpMeta1 = stringAppend(_pytPatOld,_OMC_LIT4); ^ Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject_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.ExchangeWithPassPythonObject_functions.c:297: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.ExchangeWithPassPythonObject_functions.c:313: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.ExchangeWithPassPythonObject_functions.o] Error 1