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: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.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 10.0.0-master/package.mo): time 1.966/1.966, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001095/0.001095, allocations: 190.9 kB / 490.8 MB, free: 1.945 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.298/1.298, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009331/0.0009333, allocations: 86.72 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.825e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2436, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6592/0.9028, allocations: 151.2 MB / 1.359 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.9031, allocations: 89.73 kB / 1.359 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01479/0.9179, allocations: 5.732 MB / 1.365 GB, free: 16.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.918, allocations: 0 / 1.365 GB, free: 16.9 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.0003515/0.9183, allocations: 402.8 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.9184, allocations: 10.47 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.9184, allocations: 80.59 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.9186, allocations: 241.2 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.9186, allocations: 150.6 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.9187, allocations: 153.9 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.995e-05/0.9187, allocations: 154.5 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.425e-05/0.9188, allocations: 102.3 kB / 1.366 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.9188, allocations: 79.28 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.9189, allocations: 155.3 kB / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.9189, allocations: 151.6 kB / 1.367 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.9191, allocations: 427.5 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.9192, allocations: 183.9 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.9192, allocations: 81.67 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.9193, allocations: 75.28 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.9193, allocations: 105.8 kB / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.9193, allocations: 1.438 kB / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.001e-05/0.9194, allocations: 26.8 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/0.9194, allocations: 52.58 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.9195, allocations: 100.1 kB / 1.368 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.9195, allocations: 25.7 kB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.9196, allocations: 82.69 kB / 1.368 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.9196, allocations: 0 / 1.368 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.9196, allocations: 3.938 kB / 1.368 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.9197, allocations: 319.6 kB / 1.368 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.9198, allocations: 6.812 kB / 1.368 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.9198, allocations: 12.72 kB / 1.368 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.9199, allocations: 16.78 kB / 1.368 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9199, allocations: 1.594 kB / 1.368 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001399/0.92, allocations: 50.34 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.9201, allocations: 8.594 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.9201, allocations: 3.688 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.9201, allocations: 1.469 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.9201, allocations: 0 / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.9201, allocations: 0 / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.9202, allocations: 13.86 kB / 1.368 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.9202, allocations: 8.031 kB / 1.368 GB, free: 29.65 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 7.396e-05/0.9203, allocations: 186.2 kB / 1.368 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.9203, allocations: 106.3 kB / 1.368 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.9204, allocations: 106.7 kB / 1.368 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.61e-05/0.9204, allocations: 180.2 kB / 1.369 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.025e-05/0.9205, allocations: 183 kB / 1.369 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.174e-05/0.9205, allocations: 184.5 kB / 1.369 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.9207, allocations: 379 kB / 1.369 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.9207, allocations: 110.3 kB / 1.369 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.9208, allocations: 102.3 kB / 1.37 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.075e-05/0.9208, allocations: 183 kB / 1.37 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.9209, allocations: 185.5 kB / 1.37 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.148e-05/0.9209, allocations: 178.9 kB / 1.37 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.842e-05/0.921, allocations: 177.3 kB / 1.37 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001001/0.9211, allocations: 309.4 kB / 1.371 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.9211, allocations: 180.6 kB / 1.371 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.9212, allocations: 186.8 kB / 1.371 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.9213, allocations: 101 kB / 1.371 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.9214, allocations: 183.1 kB / 1.371 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.9214, allocations: 104.9 kB / 1.371 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.262e-05/0.9214, allocations: 84.91 kB / 1.371 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003172/0.9217, allocations: 77.81 kB / 1.371 GB, free: 26.14 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/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 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/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 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/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 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.0006592/0.9224, allocations: 419.7 kB / 1.372 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.517e-05/0.9225, allocations: 68.69 kB / 1.372 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9225, allocations: 4.062 kB / 1.372 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.9225, allocations: 0 / 1.372 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.9228, allocations: 0.5198 MB / 1.372 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/0.923, allocations: 128 kB / 1.373 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.9232, allocations: 0.6882 MB / 1.373 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.9232, allocations: 3.938 kB / 1.373 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.003429/0.9266, allocations: 1.524 MB / 1.375 GB, free: 24.26 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (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 & ./Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)