Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.047/2.047, allocations: 253.1 MB / 260.4 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002543/0.002543, allocations: 185.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 90.95 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/1.015e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6128/0.8166, allocations: 133.3 MB / 1.018 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.817, allocations: 84.38 kB / 1.018 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02613/0.8432, allocations: 5.586 MB / 1.024 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.8432, allocations: 4 kB / 1.024 GB, free: 0.6289 MB / 0.6355 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.0006125/0.8439, allocations: 397.6 kB / 1.024 GB, free: 204 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.8439, allocations: 12.03 kB / 1.024 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.844, allocations: 3.984 kB / 1.024 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.8442, allocations: 162.4 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8442, allocations: 0 / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.8442, allocations: 4 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.229e-05/0.8443, allocations: 4 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.8444, allocations: 45.59 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8444, allocations: 3.938 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.8445, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.8445, allocations: 7.984 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.8447, allocations: 130.2 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.538e-05/0.8448, allocations: 30.59 kB / 1.025 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.8448, allocations: 8.922 kB / 1.025 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.8449, allocations: 4 kB / 1.025 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.8449, allocations: 38.31 kB / 1.025 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.8449, allocations: 0 / 1.025 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0003224/0.8453, allocations: 57.58 kB / 1.025 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.8453, allocations: 55.34 kB / 1.025 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.8454, allocations: 89 kB / 1.025 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.8455, allocations: 25.7 kB / 1.025 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.8455, allocations: 87.48 kB / 1.025 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.8455, allocations: 7.906 kB / 1.025 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.8456, allocations: 0 / 1.025 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8457, allocations: 314.8 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.8457, allocations: 8 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.8458, allocations: 7.5 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.411e-05/0.8459, allocations: 15.98 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8459, allocations: 3.938 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001768/0.8461, allocations: 49.69 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8461, allocations: 12.08 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.8461, allocations: 7.906 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8462, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.8462, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.8462, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.8462, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.8463, allocations: 4 kB / 1.025 GB, free: 14.89 MB / 0.6511 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.979e-05/0.8464, allocations: 104.9 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.8464, allocations: 3.906 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.8466, allocations: 84.39 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.8467, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8467, allocations: 7.984 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.8467, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.8468, allocations: 130.2 kB / 1.026 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.8469, allocations: 7.984 kB / 1.026 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.8469, allocations: 0 / 1.026 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.8469, allocations: 0 / 1.026 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.8469, allocations: 0 / 1.026 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8469, allocations: 0 / 1.026 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8469, allocations: 8.031 kB / 1.026 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001437/0.8471, allocations: 72.16 kB / 1.026 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.8472, allocations: 77.11 kB / 1.026 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.8472, allocations: 3.984 kB / 1.026 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.8473, allocations: 4 kB / 1.026 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.8473, allocations: 0 / 1.026 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.8473, allocations: 4 kB / 1.026 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.341e-05/0.8474, allocations: 91.17 kB / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004608/0.8479, allocations: 79.16 kB / 1.026 GB, free: 14.15 MB / 0.6511 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 [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0009451/0.8488, allocations: 334.8 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.849, allocations: 74.77 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.849, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.8491, allocations: 33.64 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.8492, allocations: 11.84 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.8501, allocations: 176.7 kB / 1.027 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.8504, allocations: 0.6802 MB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/0.8504, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of Templates: time 0.005888/0.8563, allocations: 1.652 MB / 1.029 GB, free: 11.23 MB / 0.6511 GB