Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.02/2.02, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.001699/0.001699, allocations: 183.6 kB / 315.1 MB, free: 4.266 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.997/1.997, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001958/0.001957, allocations: 91.12 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.6449/0.6469, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.925, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6427/1.568, allocations: 132 MB / 1.012 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/1.568, allocations: 81.56 kB / 1.012 GB, free: 8.121 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.003392/1.572, allocations: 0.9414 MB / 1.013 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.572, allocations: 10.62 kB / 1.013 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/1.572, allocations: 7.906 kB / 1.013 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/1.572, allocations: 182.9 kB / 1.014 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.572, allocations: 4 kB / 1.014 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/1.572, allocations: 4 kB / 1.014 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001338/1.572, allocations: 37.55 kB / 1.014 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/1.572, allocations: 90.62 kB / 1.014 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.572, allocations: 4 kB / 1.014 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.572, allocations: 3.906 kB / 1.014 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.572, allocations: 0 / 1.014 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/1.573, allocations: 0.5977 MB / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/1.573, allocations: 181 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/1.573, allocations: 80.14 kB / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/1.573, allocations: 79.28 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/1.573, allocations: 108.4 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/1.573, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.676e-05/1.573, allocations: 29.7 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/1.574, allocations: 51.41 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.574, allocations: 118.3 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/1.574, allocations: 25.7 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/1.574, allocations: 111.7 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/1.574, allocations: 4 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.574, allocations: 0 / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.574, allocations: 314.7 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/1.574, allocations: 3.938 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/1.574, allocations: 22.52 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/1.574, allocations: 15.89 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.574, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001605/1.574, allocations: 50.33 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.574, allocations: 4 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.574, allocations: 3.984 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.574, allocations: 0 / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/1.574, allocations: 8 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.575, allocations: 3.984 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/1.575, allocations: 8 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/1.575, allocations: 4 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001652/1.575, allocations: 180.2 kB / 1.016 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/1.575, allocations: 108.9 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/1.575, allocations: 116 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.114e-05/1.575, allocations: 177.1 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000125/1.575, allocations: 188.2 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.3e-05/1.575, allocations: 180.3 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/1.576, allocations: 397.3 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.003e-05/1.576, allocations: 104.9 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/1.576, allocations: 101 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.951e-05/1.576, allocations: 184.3 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/1.576, allocations: 188.6 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.127e-05/1.576, allocations: 180.2 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.899e-05/1.576, allocations: 184 kB / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001757/1.576, allocations: 309 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003191/1.577, allocations: 0.6752 MB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/1.577, allocations: 182 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.577, allocations: 187.1 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.577, allocations: 104.9 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/1.577, allocations: 180.3 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/1.577, allocations: 101 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001484/1.577, allocations: 98.56 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001278/1.579, allocations: 15.92 kB / 1.019 GB, free: 0.7227 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 (0): * Single equations (assignments): 0 * 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.0001663/1.579, allocations: 170.5 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.295e-05/1.579, allocations: 11.98 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.579, allocations: 4.062 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/1.579, allocations: 0 / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/1.579, allocations: 0.5223 MB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/1.58, allocations: 165.5 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/1.58, allocations: 0.7075 MB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/1.58, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB