Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001506/0.001506, allocations: 177.3 kB / 366.3 MB, free: 2.023 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.507/1.507, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.001103/0.001103, allocations: 86.56 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2924/0.2935, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7196/1.013, allocations: 116.3 MB / 0.9727 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/1.194, allocations: 140 MB / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.194, allocations: 92.77 kB / 1.109 GB, free: 8.402 MB / 0.7136 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.01701/1.211, allocations: 6.132 MB / 1.115 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.211, allocations: 8 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/1.211, allocations: 4 kB / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/1.211, allocations: 163 kB / 1.116 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/1.211, allocations: 3.984 kB / 1.116 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/1.211, allocations: 0 / 1.116 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.58e-05/1.211, allocations: 15.98 kB / 1.116 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.413e-05/1.211, allocations: 45.62 kB / 1.116 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/1.211, allocations: 0.5625 kB / 1.116 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.211, allocations: 0 / 1.116 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.211, allocations: 0 / 1.116 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/1.212, allocations: 142.1 kB / 1.116 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.879e-05/1.212, allocations: 22.61 kB / 1.116 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/1.212, allocations: 20.91 kB / 1.116 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/1.212, allocations: 8.938 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.212, allocations: 34.5 kB / 1.116 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/1.212, allocations: 0 / 1.116 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002599/1.212, allocations: 53.62 kB / 1.116 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/1.212, allocations: 51.41 kB / 1.116 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/1.212, allocations: 96.89 kB / 1.116 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/1.212, allocations: 29.7 kB / 1.116 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/1.212, allocations: 84.3 kB / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/1.212, allocations: 0 / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/1.212, allocations: 0 / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.213, allocations: 315.4 kB / 1.117 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/1.213, allocations: 8 kB / 1.117 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/1.213, allocations: 7.984 kB / 1.117 GB, free: 1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/1.213, allocations: 12 kB / 1.117 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.213, allocations: 0 / 1.117 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000164/1.213, allocations: 57.73 kB / 1.117 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.213, allocations: 8 kB / 1.117 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.213, allocations: 0.6562 kB / 1.117 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.213, allocations: 4 kB / 1.117 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/1.213, allocations: 0 / 1.117 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.213, allocations: 0 / 1.117 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/1.213, allocations: 7.844 kB / 1.117 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/1.213, allocations: 7.984 kB / 1.117 GB, free: 0.8984 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 7.174e-05/1.213, allocations: 101 kB / 1.117 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/1.213, allocations: 7.969 kB / 1.117 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/1.213, allocations: 82.12 kB / 1.117 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.213, allocations: 0 / 1.117 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.213, allocations: 0 / 1.117 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.213, allocations: 0 / 1.117 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/1.213, allocations: 134.2 kB / 1.117 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.213, allocations: 4 kB / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/1.213, allocations: 0 / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.213, allocations: 0 / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/1.213, allocations: 0 / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.213, allocations: 4.031 kB / 1.117 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.213, allocations: 3.906 kB / 1.117 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001231/1.214, allocations: 69.06 kB / 1.117 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003373/1.214, allocations: 461.4 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/1.214, allocations: 85.05 kB / 1.118 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/1.214, allocations: 0 / 1.118 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/1.214, allocations: 0 / 1.118 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/1.214, allocations: 11.98 kB / 1.118 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/1.214, allocations: 7.906 kB / 1.118 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.608e-05/1.214, allocations: 79.28 kB / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009096/1.215, allocations: 75.97 kB / 1.118 GB, free: 15.68 MB / 0.7292 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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0009065/1.216, allocations: 351.6 kB / 1.118 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001278/1.216, allocations: 67.39 kB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.216, allocations: 0 / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/1.216, allocations: 29.7 kB / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/1.216, allocations: 7.203 kB / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/1.217, allocations: 200.1 kB / 1.118 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/1.217, allocations: 0.6905 MB / 1.119 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.217, allocations: 0 / 1.119 GB, free: 14.33 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)