Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 173.3 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000943/0.000943, allocations: 96.53 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3579/0.3588, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.5416, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5256/1.067, allocations: 133.5 MB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/1.068, allocations: 87.44 kB / 1.015 GB, free: 4.988 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.0156/1.083, allocations: 5.981 MB / 1.021 GB, free: 172 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/1.083, allocations: 8 kB / 1.021 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/1.083, allocations: 8 kB / 1.021 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/1.083, allocations: 163.1 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/1.083, allocations: 4 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/1.083, allocations: 0 / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.021e-05/1.083, allocations: 11.91 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.94e-05/1.084, allocations: 45.5 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/1.084, allocations: 3.984 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/1.084, allocations: 0 / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.084, allocations: 0 / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/1.084, allocations: 134.2 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.268e-05/1.084, allocations: 30.59 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/1.084, allocations: 15.86 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/1.084, allocations: 0 / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/1.084, allocations: 38.47 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/1.084, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001783/1.084, allocations: 57.17 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/1.084, allocations: 55.34 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/1.084, allocations: 92.97 kB / 1.022 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/1.084, allocations: 29.7 kB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/1.084, allocations: 80.14 kB / 1.022 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/1.084, allocations: 3.906 kB / 1.022 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/1.084, allocations: 0 / 1.022 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/1.084, allocations: 314.4 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/1.084, allocations: 11.98 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/1.084, allocations: 4 kB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.694e-05/1.084, allocations: 16.17 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/1.084, allocations: 0 / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/1.085, allocations: 57.16 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.085, allocations: 8 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.085, allocations: 3.984 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/1.085, allocations: 0 / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/1.085, allocations: 4 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/1.085, allocations: 3.938 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/1.085, allocations: 0 / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/1.085, allocations: 0 / 1.022 GB, free: 14.85 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 7.352e-05/1.085, allocations: 113 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/1.085, allocations: 3.906 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/1.085, allocations: 72.72 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.085, allocations: 0 / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.085, allocations: 0 / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.085, allocations: 0 / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/1.085, allocations: 137.3 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.085, allocations: 4 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/1.085, allocations: 4.031 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.085, allocations: 3.984 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.085, allocations: 0 / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.085, allocations: 0 / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.085, allocations: 0 / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001111/1.085, allocations: 75.97 kB / 1.023 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002613/1.086, allocations: 452.8 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/1.086, allocations: 89 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/1.086, allocations: 4 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/1.086, allocations: 0 / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/1.086, allocations: 4 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/1.086, allocations: 0 / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.452e-05/1.086, allocations: 83.22 kB / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008654/1.087, allocations: 91.3 kB / 1.023 GB, free: 13.66 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 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0008328/1.088, allocations: 329.8 kB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001409/1.088, allocations: 74.64 kB / 1.024 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.088, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/1.088, allocations: 33.77 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/1.088, allocations: 15.83 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/1.089, allocations: 174.3 kB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/1.089, allocations: 0.688 MB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/1.089, allocations: 0 / 1.024 GB, free: 12.36 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)