Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_Buildings_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 8.0.0/package.mo): time 2.367/2.367, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001607/0.001606, allocations: 177.2 kB / 360.3 MB, free: 7.523 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.968/1.968, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001209/0.001209, allocations: 90.58 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2685/0.2698, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.9007, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2509/1.152, allocations: 138.6 MB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/1.152, allocations: 84.56 kB / 1.098 GB, free: 2.191 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.02683/1.179, allocations: 5.982 MB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.179, allocations: 17.8 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/1.179, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/1.179, allocations: 167 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/1.179, allocations: 2 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/1.179, allocations: 8.969 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.403e-05/1.179, allocations: 4 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/1.18, allocations: 38.62 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/1.18, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/1.18, allocations: 5.922 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.18, allocations: 4.688 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/1.18, allocations: 130.8 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/1.18, allocations: 35.44 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/1.18, allocations: 9.547 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/1.18, allocations: 4.531 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.18, allocations: 39.33 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/1.18, allocations: 0.6875 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002791/1.18, allocations: 53.69 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/1.18, allocations: 52.12 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/1.18, allocations: 93.62 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/1.181, allocations: 31.83 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/1.181, allocations: 84.08 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/1.181, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/1.181, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.181, allocations: 322.7 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/1.181, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/1.181, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/1.181, allocations: 15.98 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.181, allocations: 4.062 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002345/1.181, allocations: 61.61 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.181, allocations: 4 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/1.181, allocations: 4 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.181, allocations: 0 / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/1.181, allocations: 0 / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/1.181, allocations: 0 / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/1.181, allocations: 3.906 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/1.182, allocations: 4 kB / 1.105 GB, free: 10.91 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 8.406e-05/1.182, allocations: 108.8 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/1.182, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/1.182, allocations: 80.25 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.182, allocations: 3.984 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.182, allocations: 1.031 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.182, allocations: 0 / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/1.182, allocations: 131.6 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.182, allocations: 7.984 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/1.182, allocations: 0 / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.182, allocations: 4.031 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/1.182, allocations: 0 / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.182, allocations: 0 / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.182, allocations: 7.906 kB / 1.105 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001351/1.182, allocations: 65.12 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002841/1.183, allocations: 457.5 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/1.183, allocations: 81.75 kB / 1.106 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/1.183, allocations: 9.859 kB / 1.106 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/1.183, allocations: 4 kB / 1.106 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/1.183, allocations: 0 / 1.106 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/1.183, allocations: 3.906 kB / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.917e-05/1.183, allocations: 91.2 kB / 1.106 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001272/1.184, allocations: 79.91 kB / 1.106 GB, free: 9.695 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/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-81: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 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-46: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 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:48:3-78: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 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0009676/1.185, allocations: 335.5 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001988/1.185, allocations: 71.41 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.185, allocations: 0 / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.343e-05/1.186, allocations: 37.62 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/1.186, allocations: 8.125 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/1.187, allocations: 173.5 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/1.187, allocations: 0.6895 MB / 1.108 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/1.187, allocations: 0 / 1.108 GB, free: 8.422 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)