Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution") [: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 1.6.0+build.1/package.mo): time 0.545/0.545, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001178/0.001178, allocations: 178.3 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.373/1.373, allocations: 170.5 MB / 319 MB, free: 9.348 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001671/0.001671, allocations: 104.6 kB / 381 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.206e-06/8.236e-06, allocations: 0 / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1652, allocations: 61.51 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.5868, allocations: 106.9 MB / 0.6025 GB, free: 11.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.5872, allocations: 84.58 kB / 0.6026 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1519/0.7392, allocations: 56.46 MB / 0.6577 GB, free: 3.059 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.7394, allocations: 31.94 kB / 0.6577 GB, free: 3.027 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001729/0.7411, allocations: 1.207 MB / 0.6589 GB, free: 1.766 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.7412, allocations: 8.031 kB / 0.6589 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.7414, allocations: 162 kB / 0.6591 GB, free: 1.598 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.7439, allocations: 1.4 MB / 0.6604 GB, free: 152 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.7439, allocations: 12 kB / 0.6604 GB, free: 140 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.744, allocations: 24 kB / 0.6605 GB, free: 116 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006003/0.7446, allocations: 337.5 kB / 0.6608 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.7452, allocations: 378 kB / 0.6611 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7452, allocations: 0 / 0.6611 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.7453, allocations: 0 / 0.6611 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.7453, allocations: 20.77 kB / 0.6612 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.7482, allocations: 2.071 MB / 0.6632 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/0.7491, allocations: 497 kB / 0.6637 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.7494, allocations: 202.2 kB / 0.6639 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.7495, allocations: 8.266 kB / 0.6639 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7495, allocations: 42.78 kB / 0.6639 GB, free: 12.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.7495, allocations: 0 / 0.6639 GB, free: 12.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.000612/0.7501, allocations: 449.9 kB / 0.6643 GB, free: 11.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7502, allocations: 59.41 kB / 0.6644 GB, free: 11.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.7522, allocations: 1.719 MB / 0.6661 GB, free: 10.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.7523, allocations: 33.69 kB / 0.6661 GB, free: 10.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.7525, allocations: 299.2 kB / 0.6664 GB, free: 9.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.563e-05/0.7526, allocations: 110.3 kB / 0.6665 GB, free: 9.742 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.7526, allocations: 0 / 0.6665 GB, free: 9.742 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7528, allocations: 318 kB / 0.6668 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.7529, allocations: 139.8 kB / 0.6669 GB, free: 9.289 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.7532, allocations: 171.3 kB / 0.6671 GB, free: 9.117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.7534, allocations: 171.7 kB / 0.6673 GB, free: 8.949 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7534, allocations: 7.969 kB / 0.6673 GB, free: 8.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006104/0.754, allocations: 480.2 kB / 0.6677 GB, free: 8.465 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7541, allocations: 4 kB / 0.6677 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7541, allocations: 0 / 0.6677 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.7541, allocations: 3.984 kB / 0.6677 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.7545, allocations: 83.89 kB / 0.6678 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7545, allocations: 0 / 0.6678 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.7548, allocations: 23.73 kB / 0.6678 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.7548, allocations: 8 kB / 0.6678 GB, free: 8.344 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * 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.0001058/0.7549, allocations: 108.9 kB / 0.6679 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.7551, allocations: 138.2 kB / 0.6681 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.7554, allocations: 161.7 kB / 0.6682 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.7554, allocations: 4 kB / 0.6682 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7554, allocations: 0 / 0.6682 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7554, allocations: 0 / 0.6682 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.7572, allocations: 1.352 MB / 0.6696 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7572, allocations: 0 / 0.6696 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.7576, allocations: 75.89 kB / 0.6696 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.7576, allocations: 4 kB / 0.6696 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.7576, allocations: 0 / 0.6696 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.7576, allocations: 4 kB / 0.6696 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7576, allocations: 0 / 0.6696 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000678/0.7583, allocations: 0.6266 MB / 0.6702 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006368/0.7589, allocations: 0.5861 MB / 0.6708 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.7591, allocations: 4 kB / 0.6708 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.7594, allocations: 15.89 kB / 0.6708 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.7595, allocations: 7.984 kB / 0.6708 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.7595, allocations: 12 kB / 0.6709 GB, free: 5.066 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001675/0.7612, allocations: 1.331 MB / 0.6722 GB, free: 3.738 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006624/0.7619, allocations: 223.6 kB / 0.6724 GB, free: 3.52 MB / 490.7 MB 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 (34): * Single equations (assignments): 34 * 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.001297/0.7632, allocations: 0.8753 MB / 0.6732 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.7637, allocations: 323.9 kB / 0.6735 GB, free: 2.332 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7637, allocations: 0 / 0.6735 GB, free: 2.332 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.7639, allocations: 171.7 kB / 0.6737 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.7654, allocations: 416.2 kB / 0.6741 GB, free: 1.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.7687, allocations: 2.147 MB / 0.6762 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.7701, allocations: 1.625 MB / 0.6778 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/0.7702, allocations: 0 / 0.6778 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.311/1.081, allocations: 15.51 MB / 0.6929 GB, free: 131.3 MB / 0.4948 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)