Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example5",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.259/2.259, allocations: 248.6 MB / 255.9 MB, free: 7.176 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.0017/0.001699, allocations: 185.2 kB / 315.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.1 MB / 0.5658 GB, free: 492 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.001272/0.001272, allocations: 98.64 kB / 0.67 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4726/0.4739, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.6765, allocations: 106.2 MB / 0.8835 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6181/1.295, allocations: 130.9 MB / 1.011 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.295, allocations: 65.53 kB / 1.011 GB, free: 9.309 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001709/1.297, allocations: 495 kB / 1.012 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.297, allocations: 12 kB / 1.012 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/1.297, allocations: 0 / 1.012 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/1.297, allocations: 179 kB / 1.012 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/1.297, allocations: 0 / 1.012 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/1.297, allocations: 7 kB / 1.012 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.625e-05/1.297, allocations: 7.938 kB / 1.012 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.41e-05/1.297, allocations: 33.69 kB / 1.012 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/1.297, allocations: 0 / 1.012 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/1.297, allocations: 0 / 1.012 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/1.297, allocations: 0 / 1.012 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/1.297, allocations: 133.6 kB / 1.012 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.558e-05/1.298, allocations: 22.58 kB / 1.012 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/1.298, allocations: 12.75 kB / 1.012 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/1.298, allocations: 4.062 kB / 1.012 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/1.298, allocations: 30.56 kB / 1.012 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/1.298, allocations: 0.75 kB / 1.012 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/1.298, allocations: 41.62 kB / 1.012 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/1.298, allocations: 55.44 kB / 1.012 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.298, allocations: 99.19 kB / 1.012 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.298, allocations: 25.7 kB / 1.012 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/1.298, allocations: 87.64 kB / 1.013 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/1.298, allocations: 7.891 kB / 1.013 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/1.298, allocations: 0 / 1.013 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.298, allocations: 314.8 kB / 1.013 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/1.298, allocations: 4 kB / 1.013 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/1.298, allocations: 21.22 kB / 1.013 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/1.298, allocations: 7.984 kB / 1.013 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.298, allocations: 0 / 1.013 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.998e-05/1.298, allocations: 45.62 kB / 1.013 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.298, allocations: 7.906 kB / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.298, allocations: 0 / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.299, allocations: 4 kB / 1.013 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/1.299, allocations: 128 / 1.013 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.299, allocations: 8 kB / 1.013 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/1.299, allocations: 0 / 1.013 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.299, allocations: 0 / 1.013 GB, free: 7.539 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.867e-05/1.299, allocations: 104.9 kB / 1.013 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/1.299, allocations: 11.89 kB / 1.013 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/1.299, allocations: 51.92 kB / 1.013 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.299, allocations: 4 kB / 1.013 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.299, allocations: 0 / 1.013 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.299, allocations: 4.031 kB / 1.013 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/1.299, allocations: 137.5 kB / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.299, allocations: 0 / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/1.299, allocations: 4 kB / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/1.299, allocations: 3.906 kB / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/1.299, allocations: 0 / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.299, allocations: 0 / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.299, allocations: 0 / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001559/1.299, allocations: 85.14 kB / 1.013 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002965/1.3, allocations: 467.3 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/1.3, allocations: 85 kB / 1.014 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/1.3, allocations: 0 / 1.014 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/1.3, allocations: 4.031 kB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/1.3, allocations: 4.172 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/1.3, allocations: 6.875 kB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.812e-05/1.3, allocations: 86.41 kB / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001041/1.301, allocations: 4 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001568/1.301, allocations: 103.1 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.059e-05/1.301, allocations: 11.94 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.301, allocations: 0 / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/1.301, allocations: 6.812 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/1.301, allocations: 11.16 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/1.302, allocations: 86.09 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/1.302, allocations: 0.6919 MB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/1.302, allocations: 0 / 1.015 GB, free: 5.461 MB / 0.6355 GB