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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.8 MB / 297.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 183.2 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 0.6256 GB, free: 5.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.0008874, allocations: 80.78 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/8.025e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.7015, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.8738, allocations: 139.7 MB / 1.109 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.8741, allocations: 83.94 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01595/0.8901, allocations: 5.587 MB / 1.115 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8901, allocations: 0 / 1.115 GB, free: 2.949 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003563/0.8905, allocations: 402.3 kB / 1.115 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.8905, allocations: 8.031 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.8906, allocations: 4 kB / 1.115 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.8907, allocations: 171 kB / 1.115 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-06/0.8907, allocations: 0 / 1.115 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.8907, allocations: 0 / 1.115 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.917e-05/0.8908, allocations: 8.75 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.792e-05/0.8908, allocations: 41.62 kB / 1.115 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-06/0.8908, allocations: 4 kB / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.8909, allocations: 0 / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.8909, allocations: 0 / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.891, allocations: 142.1 kB / 1.115 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.8911, allocations: 26.59 kB / 1.115 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.8911, allocations: 16.92 kB / 1.115 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.8912, allocations: 0.5625 kB / 1.115 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.8912, allocations: 38.56 kB / 1.115 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8912, allocations: 0 / 1.115 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001988/0.8914, allocations: 53.67 kB / 1.115 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.8914, allocations: 55.34 kB / 1.115 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.8915, allocations: 96.84 kB / 1.116 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.8915, allocations: 26.45 kB / 1.116 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.8916, allocations: 84.14 kB / 1.116 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.8916, allocations: 160 / 1.116 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.8916, allocations: 4 kB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.8917, allocations: 314.8 kB / 1.116 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.8917, allocations: 7.984 kB / 1.116 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.8917, allocations: 12 kB / 1.116 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.8918, allocations: 11.98 kB / 1.116 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.8918, allocations: 0.6562 kB / 1.116 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/0.8919, allocations: 49.69 kB / 1.116 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.892, allocations: 8 kB / 1.116 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.892, allocations: 8.078 kB / 1.116 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.892, allocations: 0 / 1.116 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.892, allocations: 0 / 1.116 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.892, allocations: 4 kB / 1.116 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.892, allocations: 7.844 kB / 1.116 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.8921, allocations: 0 / 1.116 GB, free: 1.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.8921, allocations: 109.4 kB / 1.116 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.8921, allocations: 0 / 1.116 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.8923, allocations: 81.75 kB / 1.116 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8923, allocations: 0 / 1.116 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8924, allocations: 0 / 1.116 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-06/0.8924, allocations: 0 / 1.116 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.8925, allocations: 134.2 kB / 1.116 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8925, allocations: 0 / 1.116 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.8925, allocations: 4 kB / 1.116 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.8925, allocations: 3.984 kB / 1.116 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.8925, allocations: 0 / 1.116 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8925, allocations: 0 / 1.116 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8925, allocations: 3.906 kB / 1.116 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001074/0.8926, allocations: 74.89 kB / 1.116 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.8927, allocations: 81.11 kB / 1.117 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.8927, allocations: 3.906 kB / 1.117 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.8928, allocations: 7.984 kB / 1.117 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.8928, allocations: 7.984 kB / 1.117 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.8928, allocations: 3.938 kB / 1.117 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.274e-05/0.8929, allocations: 83.31 kB / 1.117 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003076/0.8932, allocations: 75.91 kB / 1.117 GB, free: 436 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/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/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /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.a /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.a /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.a /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/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /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.a /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.a /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.a /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/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /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.a /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.a /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.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.000692/0.8939, allocations: 333.2 kB / 1.117 GB, free: 156 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.894, allocations: 75.33 kB / 1.117 GB, free: 68 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.894, allocations: 4.062 kB / 1.117 GB, free: 64 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.894, allocations: 29.7 kB / 1.117 GB, free: 28 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.744e-05/0.8941, allocations: 4 kB / 1.117 GB, free: 24 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.8947, allocations: 175.8 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.8949, allocations: 0.688 MB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.895, allocations: 3.938 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.003699/0.8987, allocations: 1.657 MB / 1.12 GB, free: 13.47 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)