Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"dynamic"}) [: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.72/4.72, allocations: 404 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2564/4.977, allocations: 95.01 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7062/5.683, allocations: 92.69 MB / 0.5846 GB, free: 3.445 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2508/5.934, allocations: 121.2 MB / 0.7029 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/5.934, allocations: 83.94 kB / 0.703 GB, free: 12.5 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.042/5.976, allocations: 8.33 MB / 0.7111 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/5.977, allocations: 16 kB / 0.7112 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/5.977, allocations: 4 kB / 0.7112 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/5.977, allocations: 167 kB / 0.7113 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/5.977, allocations: 7.938 kB / 0.7113 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/5.977, allocations: 4 kB / 0.7113 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001608/5.977, allocations: 31.98 kB / 0.7114 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/5.977, allocations: 93.61 kB / 0.7114 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/5.977, allocations: 3.984 kB / 0.7115 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/5.977, allocations: 11.94 kB / 0.7115 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/5.977, allocations: 0 / 0.7115 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/5.978, allocations: 138.1 kB / 0.7116 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/5.978, allocations: 78.61 kB / 0.7117 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/5.978, allocations: 64.94 kB / 0.7117 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/5.978, allocations: 0 / 0.7117 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/5.978, allocations: 38.56 kB / 0.7118 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/5.978, allocations: 0 / 0.7118 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0006874/5.979, allocations: 137.6 kB / 0.7119 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/5.979, allocations: 89.09 kB / 0.712 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/5.979, allocations: 88.94 kB / 0.7121 GB, free: 3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/5.979, allocations: 29.7 kB / 0.7121 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/5.979, allocations: 80.14 kB / 0.7122 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/5.979, allocations: 19.75 kB / 0.7122 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/5.979, allocations: 0 / 0.7122 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001386/5.979, allocations: 322.8 kB / 0.7125 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/5.979, allocations: 35.97 kB / 0.7125 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/5.98, allocations: 39.97 kB / 0.7126 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/5.98, allocations: 48.02 kB / 0.7126 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/5.98, allocations: 0 / 0.7126 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005712/5.98, allocations: 137.6 kB / 0.7127 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/5.98, allocations: 14.89 kB / 0.7128 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/5.98, allocations: 0 / 0.7128 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/5.981, allocations: 0 / 0.7128 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/5.981, allocations: 0 / 0.7128 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/5.981, allocations: 8.062 kB / 0.7128 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/5.981, allocations: 11.91 kB / 0.7128 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/5.981, allocations: 11.98 kB / 0.7128 GB, free: 2.234 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001943/5.981, allocations: 142.7 kB / 0.7129 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/5.981, allocations: 15.84 kB / 0.7129 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/5.981, allocations: 7.906 kB / 0.713 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/5.981, allocations: 3.938 kB / 0.713 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/5.981, allocations: 0 / 0.713 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-06/5.981, allocations: 7.984 kB / 0.713 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/5.982, allocations: 130.2 kB / 0.7131 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/5.982, allocations: 0 / 0.7131 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/5.982, allocations: 0 / 0.7131 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/5.982, allocations: 3.906 kB / 0.7131 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/5.982, allocations: 11.98 kB / 0.7131 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/5.982, allocations: 0 / 0.7131 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/5.982, allocations: 0 / 0.7131 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007194/5.982, allocations: 193 kB / 0.7133 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008314/5.983, allocations: 0.5598 MB / 0.7138 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/5.983, allocations: 85 kB / 0.7139 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/5.983, allocations: 12 kB / 0.7139 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/5.984, allocations: 11.98 kB / 0.7139 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/5.984, allocations: 8.062 kB / 0.7139 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/5.984, allocations: 11.98 kB / 0.714 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.254e-05/5.984, allocations: 79.22 kB / 0.714 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001526/5.986, allocations: 59.97 kB / 0.7141 GB, free: 0.7891 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Utilities/IO/Python27/Functions/BaseClasses/exchange.mo:2:1-61:13:writable] Warning: Could not find library python2.7 in either of: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib//libpython2.7.a /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Resources/Library/linux64/libpython2.7.a /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Resources/Library/linux64/libpython2.7.so /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Resources/Library/libpython2.7.a /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/5.987, allocations: 315.2 kB / 0.7144 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004663/5.987, allocations: 153.6 kB / 0.7145 GB, free: 400 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/5.987, allocations: 0 / 0.7145 GB, free: 400 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/5.988, allocations: 153.5 kB / 0.7147 GB, free: 240 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/5.988, allocations: 7.906 kB / 0.7147 GB, free: 232 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/5.988, allocations: 131.9 kB / 0.7148 GB, free: 76 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/5.989, allocations: 0.688 MB / 0.7155 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/5.989, allocations: 0 / 0.7155 GB, free: 15.36 MB / 0.6042 GB