[: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 2.623/2.623, allocations: 268.2 MB / 275.1 MB, free: 7.727 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2232/2.846, allocations: 63.85 MB / 339 MB, free: 8.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/3.204, allocations: 61.52 MB / 400.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/3.41, allocations: 95.99 MB / 496.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/3.41, allocations: 87.94 kB / 496.6 MB, free: 13.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02012/3.43, allocations: 4.126 MB / 0.489 GB, free: 9.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/3.43, allocations: 8 kB / 0.489 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/3.431, allocations: 19.81 kB / 0.489 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/3.431, allocations: 218.9 kB / 0.4892 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/3.431, allocations: 4 kB / 0.4892 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/3.431, allocations: 15.91 kB / 0.4892 GB, free: 9.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003411/3.431, allocations: 95.89 kB / 0.4893 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/3.432, allocations: 174.2 kB / 0.4895 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/3.432, allocations: 0 / 0.4895 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/3.432, allocations: 4 kB / 0.4895 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/3.432, allocations: 0 / 0.4895 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/3.433, allocations: 389.2 kB / 0.4899 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/3.433, allocations: 150.3 kB / 0.49 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/3.434, allocations: 100.8 kB / 0.4901 GB, free: 8.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/3.434, allocations: 12 kB / 0.4901 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005556/3.434, allocations: 252.4 kB / 0.4904 GB, free: 8.074 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 4.889e-06/3.434, allocations: 4.109 kB / 0.4904 GB, free: 8.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008789/3.435, allocations: 261.4 kB / 0.4906 GB, free: 7.809 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/3.435, allocations: 199.9 kB / 0.4908 GB, free: 7.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/3.436, allocations: 149.3 kB / 0.491 GB, free: 7.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/3.436, allocations: 29.7 kB / 0.491 GB, free: 7.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/3.436, allocations: 92.56 kB / 0.4911 GB, free: 7.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/3.436, allocations: 47.5 kB / 0.4911 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/3.436, allocations: 4 kB / 0.4911 GB, free: 7.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/3.436, allocations: 326.8 kB / 0.4914 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/3.436, allocations: 56.16 kB / 0.4915 GB, free: 6.852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/3.437, allocations: 155.2 kB / 0.4916 GB, free: 6.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/3.437, allocations: 79.89 kB / 0.4917 GB, free: 6.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/3.437, allocations: 0 / 0.4917 GB, free: 6.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006688/3.438, allocations: 249.2 kB / 0.4919 GB, free: 6.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/3.438, allocations: 8 kB / 0.492 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/3.438, allocations: 3.938 kB / 0.492 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/3.438, allocations: 8.281 kB / 0.492 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/3.438, allocations: 27.98 kB / 0.492 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/3.438, allocations: 7.938 kB / 0.492 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/3.438, allocations: 19.83 kB / 0.492 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/3.438, allocations: 16 kB / 0.492 GB, free: 6.242 MB / 426.7 MB Warning: Assuming fixed start value for the following 6 variables: ran.uRWri[1]:DISCRETE(fixed = false ) "Value to be sent to Python" type: Real [1] kalFil.yR[1]:DISCRETE(fixed = false ) "Real outputs received from Python" type: Real [1] kalFil.uRWri[1]:DISCRETE(fixed = false ) "Value to be sent to Python" type: Real [1] kalFil.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean ran.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean ran.yR[1]:DISCRETE(fixed = false ) "Real outputs received from Python" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition5,$PRE.ran.uRIntPre[1],ran.uRIntPre[1],$PRE.ran.uRWri[1],ran.uRWri[1],$PRE.kalFil.uRIntPre[1],kalFil.uRIntPre[1],$PRE.kalFil.yR[1],kalFil.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1],$PRE.kalFil.firstTrigger,kalFil.firstTrigger,$PRE.ran.firstTrigger,ran.firstTrigger,$whenCondition1,$whenCondition4,ran.sampleTrigger,$whenCondition2,$whenCondition3,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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.0003881/3.439, allocations: 216.1 kB / 0.4922 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/3.439, allocations: 19.81 kB / 0.4923 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/3.439, allocations: 20.67 kB / 0.4923 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/3.439, allocations: 0 / 0.4923 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/3.439, allocations: 8 kB / 0.4923 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/3.439, allocations: 0 / 0.4923 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/3.44, allocations: 0.6003 MB / 0.4929 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/3.44, allocations: 3.938 kB / 0.4929 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/3.441, allocations: 15.98 kB / 0.4929 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/3.441, allocations: 4 kB / 0.4929 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/3.441, allocations: 4 kB / 0.4929 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/3.441, allocations: 8 kB / 0.4929 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/3.441, allocations: 3.906 kB / 0.4929 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001282/3.442, allocations: 0.516 MB / 0.4934 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001806/3.444, allocations: 1.027 MB / 0.4944 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/3.444, allocations: 124.8 kB / 0.4945 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/3.444, allocations: 15.98 kB / 0.4945 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/3.445, allocations: 16.05 kB / 0.4946 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/3.445, allocations: 19.98 kB / 0.4946 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/3.445, allocations: 12 kB / 0.4946 GB, free: 3.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001276/3.445, allocations: 103.3 kB / 0.4947 GB, free: 3.387 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001587/3.447, allocations: 80.16 kB / 0.4948 GB, free: 3.309 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ran.uRInt[1],kalFil.uRInt[1]) * Number of discrete variables: 15 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],$whenCondition5) * Number of discrete states: 11 (ran.uRIntPre[1],ran.yR[1],ran.uRWri[1],$whenCondition4,i,ran.uR[i],kalFil.uRIntPre[1],kalFil.yR[1],kalFil.uRWri[1],$whenCondition3,kalFil.uR[i]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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 1.6/Utilities/IO/Python27/Functions/BaseClasses/exchange.mo:2:1-59: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 1.6/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 1.6/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 1.6/Resources/Library/linux64/libpython2.7.a /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 1.6/Resources/Library/linux64/libpython2.7.so /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 1.6/Resources/Library/libpython2.7.a /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 1.6/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0009358/3.448, allocations: 252.8 kB / 0.495 GB, free: 3.086 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009261/3.448, allocations: 335 kB / 0.4953 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/3.449, allocations: 4.062 kB / 0.4953 GB, free: 2.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005475/3.449, allocations: 247.3 kB / 0.4956 GB, free: 2.477 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/3.45, allocations: 23.98 kB / 0.4956 GB, free: 2.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/3.451, allocations: 350.4 kB / 0.4959 GB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/3.452, allocations: 0.7587 MB / 0.4967 GB, free: 1.297 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/3.452, allocations: 0 / 0.4967 GB, free: 1.297 MB / 426.7 MB