Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") [: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 8.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 289.8 MB / 297.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 181.3 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 0.6256 GB, free: 7.465 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009806/0.0009807, allocations: 90.27 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.956e-06/8.977e-06, allocations: 0 / 0.859 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7844, allocations: 116.3 MB / 0.9726 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.175/4.959, allocations: 2.078 GB / 3.051 GB, free: 30.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/4.96, allocations: 94.92 kB / 3.051 GB, free: 30.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.5938/5.553, allocations: 84.84 MB / 3.134 GB, free: 315.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.594e-05/5.553, allocations: 27.56 kB / 3.134 GB, free: 315.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.002465/5.556, allocations: 1.359 MB / 3.135 GB, free: 314.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/5.556, allocations: 7.594 kB / 3.135 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08127/5.637, allocations: 16.39 MB / 3.151 GB, free: 308.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/5.64, allocations: 1.04 MB / 3.152 GB, free: 307.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/5.64, allocations: 49.38 kB / 3.152 GB, free: 307.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/5.64, allocations: 65.28 kB / 3.152 GB, free: 307.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006975/5.647, allocations: 4.135 MB / 3.156 GB, free: 305.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/5.652, allocations: 2.718 MB / 3.159 GB, free: 303.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/5.652, allocations: 0 / 3.159 GB, free: 303.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/5.652, allocations: 4 kB / 3.159 GB, free: 303.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/5.652, allocations: 32 kB / 3.159 GB, free: 303.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03964/5.692, allocations: 10.84 MB / 3.169 GB, free: 292.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/5.695, allocations: 2.177 MB / 3.172 GB, free: 290.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/5.697, allocations: 1.526 MB / 3.173 GB, free: 288.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/5.698, allocations: 0.5903 MB / 3.174 GB, free: 288.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00249/5.7, allocations: 1.981 MB / 3.176 GB, free: 286.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=101): time 3.757e-06/5.7, allocations: 4 kB / 3.176 GB, free: 286.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=101): time 0.005563/5.706, allocations: 2.837 MB / 3.178 GB, free: 283.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/5.706, allocations: 248.3 kB / 3.179 GB, free: 282.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007759/5.707, allocations: 0.5738 MB / 3.179 GB, free: 282.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/5.707, allocations: 30.64 kB / 3.179 GB, free: 282.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/5.707, allocations: 380.2 kB / 3.179 GB, free: 281.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/5.708, allocations: 319.1 kB / 3.18 GB, free: 281.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/5.708, allocations: 0 / 3.18 GB, free: 281.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/5.708, allocations: 386.8 kB / 3.18 GB, free: 281.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/5.71, allocations: 1.591 MB / 3.182 GB, free: 279.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/5.712, allocations: 1.721 MB / 3.183 GB, free: 277.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/5.714, allocations: 1.1 MB / 3.184 GB, free: 276.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/5.714, allocations: 0 / 3.184 GB, free: 276.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.005576/5.72, allocations: 3.08 MB / 3.187 GB, free: 273.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/5.72, allocations: 4 kB / 3.187 GB, free: 273.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/5.72, allocations: 0 / 3.187 GB, free: 273.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/5.721, allocations: 88.83 kB / 3.188 GB, free: 273.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01836/5.739, allocations: 3.768 MB / 3.191 GB, free: 269.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/5.741, allocations: 1.452 MB / 3.193 GB, free: 268.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01766/5.758, allocations: 3.551 MB / 3.196 GB, free: 264.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007731/5.759, allocations: 87.83 kB / 3.196 GB, free: 264.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006284/5.76, allocations: 131.2 kB / 3.196 GB, free: 264.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/5.76, allocations: 86.95 kB / 3.196 GB, free: 264.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008046/5.768, allocations: 3.733 MB / 3.2 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/5.768, allocations: 12 kB / 3.2 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/5.768, allocations: 3.938 kB / 3.2 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/5.768, allocations: 7.984 kB / 3.2 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008969/5.777, allocations: 5.384 MB / 3.205 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/5.778, allocations: 3.906 kB / 3.205 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01832/5.796, allocations: 3.767 MB / 3.209 GB, free: 251.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000564/5.796, allocations: 88.77 kB / 3.209 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005546/5.797, allocations: 77.23 kB / 3.209 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/5.799, allocations: 1.472 MB / 3.211 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/5.799, allocations: 8 kB / 3.211 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005817/5.804, allocations: 3.051 MB / 3.214 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/5.806, allocations: 0.6279 MB / 3.214 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/5.806, allocations: 3.984 kB / 3.214 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01776/5.824, allocations: 3.52 MB / 3.218 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/5.824, allocations: 72.88 kB / 3.218 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004827/5.825, allocations: 95.83 kB / 3.218 GB, free: 242.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006164/5.825, allocations: 463.1 kB / 3.218 GB, free: 241.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002329/5.828, allocations: 0.6617 MB / 3.219 GB, free: 241.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/5.83, allocations: 1.064 MB / 3.22 GB, free: 240.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005039/5.835, allocations: 3.438 MB / 3.223 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/5.835, allocations: 3.75 kB / 3.223 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002653/5.837, allocations: 1.8 MB / 3.225 GB, free: 235.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/5.839, allocations: 225.4 kB / 3.225 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007477/5.846, allocations: 3.221 MB / 3.228 GB, free: 231.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002904/5.849, allocations: 1.57 MB / 3.23 GB, free: 230.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/5.849, allocations: 0 / 3.23 GB, free: 230.2 MB / 0.948 GB Notification: Performance of Templates: time 0.06349/5.913, allocations: 52.16 MB / 3.281 GB, free: 178.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1)