Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_6_0_0_Buildings_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 loadModel(Buildings): time 4.082/4.082, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5635/4.645, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/4.914, allocations: 98.72 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2693/5.183, allocations: 125.2 MB / 0.7506 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/5.184, allocations: 91.58 kB / 0.7507 GB, free: 12.3 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.03433/5.218, allocations: 5.979 MB / 0.7565 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/5.218, allocations: 8 kB / 0.7565 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/5.218, allocations: 0 / 0.7565 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/5.218, allocations: 171 kB / 0.7567 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/5.218, allocations: 4 kB / 0.7567 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/5.218, allocations: 3.906 kB / 0.7567 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.769e-05/5.219, allocations: 8 kB / 0.7567 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.689e-05/5.219, allocations: 37.69 kB / 0.7567 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/5.219, allocations: 4 kB / 0.7567 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/5.219, allocations: 4 kB / 0.7567 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/5.219, allocations: 0 / 0.7567 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/5.219, allocations: 134.2 kB / 0.7569 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/5.219, allocations: 42.53 kB / 0.7569 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/5.219, allocations: 8.922 kB / 0.7569 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/5.219, allocations: 4 kB / 0.7569 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/5.219, allocations: 38.41 kB / 0.757 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.664e-06/5.219, allocations: 0 / 0.757 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002688/5.219, allocations: 57.67 kB / 0.757 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/5.219, allocations: 55.44 kB / 0.7571 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/5.22, allocations: 89 kB / 0.7571 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/5.22, allocations: 25.7 kB / 0.7572 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/5.22, allocations: 80.14 kB / 0.7572 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/5.22, allocations: 7.906 kB / 0.7573 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/5.22, allocations: 4 kB / 0.7573 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001217/5.22, allocations: 311.2 kB / 0.7576 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/5.22, allocations: 7.984 kB / 0.7576 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/5.22, allocations: 8.125 kB / 0.7576 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.644e-05/5.22, allocations: 19.92 kB / 0.7576 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/5.22, allocations: 0 / 0.7576 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001767/5.22, allocations: 57.59 kB / 0.7576 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/5.22, allocations: 4 kB / 0.7576 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/5.22, allocations: 7.984 kB / 0.7577 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/5.22, allocations: 0 / 0.7577 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/5.22, allocations: 0 / 0.7577 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/5.22, allocations: 3.984 kB / 0.7577 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/5.22, allocations: 96 / 0.7577 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/5.22, allocations: 8 kB / 0.7577 GB, free: 4.898 MB / 0.6355 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 0.0001114/5.221, allocations: 101 kB / 0.7578 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/5.221, allocations: 7.906 kB / 0.7578 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/5.221, allocations: 73.78 kB / 0.7578 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/5.221, allocations: 3.938 kB / 0.7578 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/5.221, allocations: 0 / 0.7578 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/5.221, allocations: 4 kB / 0.7578 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/5.221, allocations: 138.2 kB / 0.758 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/5.221, allocations: 0 / 0.758 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-06/5.221, allocations: 3.984 kB / 0.758 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/5.221, allocations: 3.984 kB / 0.758 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/5.221, allocations: 4 kB / 0.758 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/5.221, allocations: 0 / 0.758 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/5.221, allocations: 0 / 0.758 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002352/5.222, allocations: 69.03 kB / 0.7581 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003545/5.222, allocations: 465.4 kB / 0.7585 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/5.222, allocations: 85 kB / 0.7586 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/5.222, allocations: 0 / 0.7586 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/5.222, allocations: 4 kB / 0.7586 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/5.222, allocations: 0 / 0.7586 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/5.222, allocations: 4 kB / 0.7586 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.65e-05/5.222, allocations: 83.31 kB / 0.7587 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001294/5.224, allocations: 79.95 kB / 0.7587 GB, free: 3.684 MB / 0.6355 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 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Utilities/IO/Python27/Functions/BaseClasses/exchange.mo:2:1-72:13:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.so [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:5:5-37:20:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.so [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:39:3-60:17:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0009349/5.225, allocations: 343.7 kB / 0.7591 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000159/5.225, allocations: 75.39 kB / 0.7591 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/5.225, allocations: 3.938 kB / 0.7591 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/5.225, allocations: 33.7 kB / 0.7592 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/5.225, allocations: 15.88 kB / 0.7592 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/5.226, allocations: 178.8 kB / 0.7594 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/5.227, allocations: 0.6957 MB / 0.76 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of SimCode: time 3.367e-06/5.227, allocations: 0 / 0.76 GB, free: 2.305 MB / 0.6355 GB