Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) [: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 10.0.0-master/package.mo): time 1.91/1.91, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 185.2 kB / 490.8 MB, free: 1.934 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 85.66 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.497/0.4981, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.7202, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5902/1.31, allocations: 151.2 MB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.311, allocations: 93.22 kB / 1.359 GB, free: 17.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01591/1.327, allocations: 6.135 MB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.327, allocations: 11.3 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/1.327, allocations: 76.5 kB / 1.366 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/1.327, allocations: 244.2 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/1.327, allocations: 154.6 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/1.327, allocations: 153.2 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.015e-05/1.327, allocations: 153.6 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.451e-05/1.327, allocations: 111.8 kB / 1.366 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.327, allocations: 75.28 kB / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/1.327, allocations: 150.6 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/1.327, allocations: 150.6 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/1.328, allocations: 439.7 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.329e-05/1.328, allocations: 167.7 kB / 1.367 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/1.328, allocations: 81.45 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/1.328, allocations: 79.22 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.328, allocations: 107.2 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/1.328, allocations: 4 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.368e-05/1.328, allocations: 32.27 kB / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/1.328, allocations: 51.41 kB / 1.368 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/1.328, allocations: 91.97 kB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/1.328, allocations: 29.64 kB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/1.328, allocations: 86.3 kB / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/1.328, allocations: 1 kB / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/1.328, allocations: 0 / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/1.328, allocations: 316.2 kB / 1.368 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/1.328, allocations: 10.98 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/1.328, allocations: 11.08 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.92e-05/1.328, allocations: 12.3 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.328, allocations: 5.562 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001448/1.329, allocations: 50.39 kB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.329, allocations: 6.281 kB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.329, allocations: 3.984 kB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.329, allocations: 1.125 kB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/1.329, allocations: 128 / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/1.329, allocations: 4 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/1.329, allocations: 7.781 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/1.329, allocations: 2.625 kB / 1.368 GB, free: 29.62 MB / 0.8386 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 8.27e-05/1.329, allocations: 180.4 kB / 1.368 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/1.329, allocations: 107.7 kB / 1.368 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/1.329, allocations: 110.7 kB / 1.369 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.572e-05/1.329, allocations: 185.6 kB / 1.369 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-05/1.329, allocations: 176.8 kB / 1.369 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.654e-05/1.329, allocations: 182.4 kB / 1.369 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/1.329, allocations: 383.1 kB / 1.369 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.329, allocations: 105 kB / 1.37 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/1.329, allocations: 106.1 kB / 1.37 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-05/1.329, allocations: 183.1 kB / 1.37 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/1.329, allocations: 178.8 kB / 1.37 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.457e-05/1.329, allocations: 181.5 kB / 1.37 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-05/1.33, allocations: 179.2 kB / 1.37 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.792e-05/1.33, allocations: 311.6 kB / 1.371 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000244/1.33, allocations: 0.6716 MB / 1.371 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/1.33, allocations: 185.2 kB / 1.371 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/1.33, allocations: 182.9 kB / 1.372 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/1.33, allocations: 117 kB / 1.372 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/1.33, allocations: 181.4 kB / 1.372 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/1.33, allocations: 107.3 kB / 1.372 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.418e-05/1.33, allocations: 83.91 kB / 1.372 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009209/1.331, allocations: 83.12 kB / 1.372 GB, free: 25.41 MB / 0.8386 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 10.0.0-master/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-85:13:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-50:20:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:52:3-82:17:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0007367/1.332, allocations: 405.9 kB / 1.373 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.916e-05/1.332, allocations: 64.64 kB / 1.373 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.332, allocations: 1.312 kB / 1.373 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/1.332, allocations: 64 / 1.373 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/1.332, allocations: 0.5248 MB / 1.373 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/1.332, allocations: 129.2 kB / 1.373 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/1.333, allocations: 0.6834 MB / 1.374 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.333, allocations: 0 / 1.374 GB, free: 23.74 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)