Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.393/2.393, allocations: 248.6 MB / 255.9 MB, free: 7.211 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.001598/0.001598, allocations: 195.2 kB / 315.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.1 MB / 0.5658 GB, free: 460 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001946/0.001946, allocations: 90.77 kB / 0.67 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5029/0.5049, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.7393, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.646/1.385, allocations: 133.6 MB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/1.386, allocations: 86.88 kB / 1.014 GB, free: 6.289 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.02735/1.413, allocations: 6.144 MB / 1.02 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.413, allocations: 8 kB / 1.02 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/1.413, allocations: 4 kB / 1.02 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/1.413, allocations: 159.1 kB / 1.02 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.413, allocations: 0 / 1.02 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/1.414, allocations: 0 / 1.02 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.84e-05/1.414, allocations: 19.92 kB / 1.02 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/1.414, allocations: 44.97 kB / 1.02 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.414, allocations: 0 / 1.02 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.414, allocations: 0 / 1.02 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/1.414, allocations: 3.938 kB / 1.02 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/1.414, allocations: 134.2 kB / 1.02 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/1.414, allocations: 25.48 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/1.414, allocations: 24.91 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.712e-05/1.414, allocations: 0 / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/1.414, allocations: 41.88 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/1.414, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002595/1.415, allocations: 53.59 kB / 1.021 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/1.415, allocations: 51.41 kB / 1.021 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/1.415, allocations: 92.42 kB / 1.021 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/1.415, allocations: 33.86 kB / 1.021 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/1.415, allocations: 80.14 kB / 1.021 GB, free: 440 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/1.415, allocations: 3.906 kB / 1.021 GB, free: 436 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/1.415, allocations: 3.938 kB / 1.021 GB, free: 432 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.415, allocations: 310.8 kB / 1.021 GB, free: 112 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/1.415, allocations: 11.44 kB / 1.021 GB, free: 104 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/1.415, allocations: 7.984 kB / 1.021 GB, free: 96 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.749e-05/1.415, allocations: 11.98 kB / 1.021 GB, free: 84 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.415, allocations: 4.062 kB / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001733/1.415, allocations: 53.62 kB / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.415, allocations: 8 kB / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.415, allocations: 3.906 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.415, allocations: 0 / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/1.415, allocations: 4 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.415, allocations: 3.984 kB / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/1.415, allocations: 0 / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/1.415, allocations: 48 / 1.021 GB, free: 16 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 8.515e-05/1.416, allocations: 109 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/1.416, allocations: 7.156 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/1.416, allocations: 72.36 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.416, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.416, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.416, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/1.416, allocations: 134.1 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.416, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-06/1.416, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.416, allocations: 3.938 kB / 1.022 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/1.416, allocations: 4.031 kB / 1.022 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.416, allocations: 0 / 1.022 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.416, allocations: 0 / 1.022 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001494/1.416, allocations: 76.39 kB / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003007/1.417, allocations: 451.8 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/1.417, allocations: 96.88 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/1.417, allocations: 0 / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/1.417, allocations: 3.984 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/1.417, allocations: 4 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/1.417, allocations: 3.938 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.874e-05/1.417, allocations: 82.09 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001316/1.418, allocations: 79.03 kB / 1.022 GB, free: 14.81 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.1/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 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0009381/1.419, allocations: 334.9 kB / 1.023 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001498/1.419, allocations: 71.39 kB / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.419, allocations: 0 / 1.023 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/1.419, allocations: 29.7 kB / 1.023 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/1.42, allocations: 12.03 kB / 1.023 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/1.421, allocations: 198.3 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/1.421, allocations: 0.6841 MB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/1.421, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.6511 GB