Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_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 8.0.0/package.mo): time 2.456/2.456, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001978/0.001978, allocations: 181.3 kB / 360.3 MB, free: 7.547 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.915/1.915, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001189/0.001189, allocations: 81.08 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2831/0.2844, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.9262, allocations: 115.2 MB / 0.9628 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/1.194, allocations: 138.9 MB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.194, allocations: 92.64 kB / 1.098 GB, free: 1.906 MB / 0.698 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.03499/1.229, allocations: 6.132 MB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.229, allocations: 8.5 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/1.229, allocations: 0.6875 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/1.23, allocations: 173.1 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.23, allocations: 0.9375 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/1.23, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.441e-05/1.23, allocations: 8.562 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/1.23, allocations: 42.38 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.23, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.23, allocations: 0.5938 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.23, allocations: 0.5625 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/1.23, allocations: 142.9 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/1.23, allocations: 31.17 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/1.23, allocations: 21.78 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/1.23, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.23, allocations: 31.38 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.23, allocations: 4.594 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002701/1.231, allocations: 50.94 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/1.231, allocations: 59.39 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/1.231, allocations: 89.41 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/1.231, allocations: 29.86 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/1.231, allocations: 80.14 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/1.231, allocations: 11.94 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/1.231, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.231, allocations: 314.8 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/1.231, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/1.231, allocations: 13.86 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/1.231, allocations: 11.98 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.231, allocations: 4.062 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/1.232, allocations: 55.31 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.232, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.232, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.232, allocations: 0 / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-06/1.232, allocations: 3.984 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/1.232, allocations: 0 / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/1.232, allocations: 7.906 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/1.232, allocations: 3.984 kB / 1.106 GB, free: 10.48 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 9.784e-05/1.232, allocations: 112.8 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/1.232, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/1.232, allocations: 79.8 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.232, allocations: 4 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.232, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.232, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/1.232, allocations: 130.2 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.232, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/1.232, allocations: 1.25 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.232, allocations: 9.062 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/1.232, allocations: 0 / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.232, allocations: 0 / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.232, allocations: 7.844 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001456/1.233, allocations: 69.11 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003505/1.233, allocations: 461.4 kB / 1.106 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/1.233, allocations: 81.05 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/1.233, allocations: 4 kB / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/1.233, allocations: 5.984 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/1.233, allocations: 0 / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/1.233, allocations: 7.906 kB / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.615e-05/1.233, allocations: 85.25 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001285/1.235, allocations: 75.92 kB / 1.107 GB, free: 9.266 MB / 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.0.0/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/exchange.mo:2:1-72:13:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:5:5-37:20:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:39:3-60:17:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/1.236, allocations: 325.2 kB / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001652/1.236, allocations: 73.2 kB / 1.107 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.236, allocations: 8 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/1.236, allocations: 29.7 kB / 1.107 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/1.236, allocations: 5 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009058/1.237, allocations: 197.9 kB / 1.107 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/1.237, allocations: 0.691 MB / 1.108 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/1.237, allocations: 0 / 1.108 GB, free: 7.973 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)