Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") [: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.525/1.525, allocations: 289.8 MB / 297 MB, free: 6.602 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.001149/0.001149, allocations: 173.3 kB / 366.3 MB, free: 1.93 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.577/1.577, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.001064/0.001065, allocations: 77.36 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.662e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.786, allocations: 116.3 MB / 0.9725 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.9985, allocations: 146.5 MB / 1.116 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.9989, allocations: 80.61 kB / 1.116 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.07629/1.075, allocations: 25.44 MB / 1.141 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.537e-05/1.075, allocations: 16 kB / 1.141 GB, free: 8.438 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002047/1.077, allocations: 1.017 MB / 1.142 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.077, allocations: 11.97 kB / 1.142 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/1.078, allocations: 106.7 kB / 1.142 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02042/1.098, allocations: 9.439 MB / 1.151 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/1.098, allocations: 53.97 kB / 1.151 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/1.098, allocations: 44 kB / 1.151 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/1.1, allocations: 0.5545 MB / 1.151 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/1.101, allocations: 0.6662 MB / 1.152 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.101, allocations: 0 / 1.152 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/1.101, allocations: 3.906 kB / 1.152 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/1.101, allocations: 20 kB / 1.152 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/1.105, allocations: 2.362 MB / 1.154 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/1.109, allocations: 0.9804 MB / 1.155 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/1.109, allocations: 311.4 kB / 1.156 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-05/1.109, allocations: 27.89 kB / 1.156 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.109, allocations: 42.56 kB / 1.156 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=80): time 2.535e-06/1.109, allocations: 0 / 1.156 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80): time 0.00137/1.111, allocations: 0.6407 MB / 1.156 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/1.111, allocations: 140.5 kB / 1.157 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/1.111, allocations: 466.4 kB / 1.157 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/1.111, allocations: 29.7 kB / 1.157 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/1.112, allocations: 260.6 kB / 1.157 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.112, allocations: 260 kB / 1.158 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/1.112, allocations: 0 / 1.158 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002231/1.112, allocations: 370.8 kB / 1.158 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/1.113, allocations: 213.2 kB / 1.158 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/1.113, allocations: 288.1 kB / 1.158 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/1.113, allocations: 249.2 kB / 1.159 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.113, allocations: 0 / 1.159 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001149/1.115, allocations: 0.64 MB / 1.159 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.115, allocations: 8 kB / 1.159 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.115, allocations: 0 / 1.159 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.115, allocations: 4 kB / 1.159 GB, free: 4.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/1.116, allocations: 159.8 kB / 1.159 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.116, allocations: 7.875 kB / 1.159 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/1.116, allocations: 51.5 kB / 1.159 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/1.116, allocations: 31.97 kB / 1.159 GB, free: 4.734 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0001496/1.116, allocations: 120.8 kB / 1.16 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.117, allocations: 71.19 kB / 1.16 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/1.119, allocations: 1.036 MB / 1.161 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.119, allocations: 12 kB / 1.161 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.119, allocations: 4 kB / 1.161 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.119, allocations: 7.984 kB / 1.161 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/1.12, allocations: 0.895 MB / 1.162 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.12, allocations: 0 / 1.162 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/1.121, allocations: 211.7 kB / 1.162 GB, free: 2.332 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/1.121, allocations: 4 kB / 1.162 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/1.121, allocations: 19.98 kB / 1.162 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/1.121, allocations: 8 kB / 1.162 GB, free: 2.301 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/1.121, allocations: 3.938 kB / 1.162 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001528/1.123, allocations: 1.158 MB / 1.163 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/1.123, allocations: 303.5 kB / 1.163 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.123, allocations: 8 kB / 1.163 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/1.124, allocations: 15.97 kB / 1.163 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.124, allocations: 79.88 kB / 1.163 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/1.124, allocations: 39.98 kB / 1.163 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0005313/1.125, allocations: 403.2 kB / 1.164 GB, free: 252 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001384/1.126, allocations: 311.2 kB / 1.164 GB, free: 15.94 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.001248/1.127, allocations: 426.2 kB / 1.164 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001172/1.128, allocations: 0.6185 MB / 1.165 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.128, allocations: 0 / 1.165 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006052/1.129, allocations: 419.6 kB / 1.165 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/1.13, allocations: 38.94 kB / 1.165 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/1.132, allocations: 1.149 MB / 1.167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.133, allocations: 1.148 MB / 1.168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of SimCode: time 2.41e-07/1.133, allocations: 0 / 1.168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of Templates: time 0.01944/1.153, allocations: 9.982 MB / 1.177 GB, free: 2.215 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)