Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [: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.332/1.332, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.0009635/0.0009636, allocations: 189.2 kB / 366.3 MB, free: 2.012 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.05/1.05, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0008066/0.0008066, allocations: 79.59 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.019e-06/5.049e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.435, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.5732, allocations: 139.1 MB / 1.108 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.5734, allocations: 75.89 kB / 1.109 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009325/0.5828, allocations: 3.063 MB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.5828, allocations: 0 / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004428/0.5833, allocations: 413 kB / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5833, allocations: 8.688 kB / 1.112 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.009e-05/0.5833, allocations: 11.91 kB / 1.112 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.5835, allocations: 178.8 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5835, allocations: 0 / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.5835, allocations: 8 kB / 1.112 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/0.5836, allocations: 39.98 kB / 1.112 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.5838, allocations: 95.84 kB / 1.112 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5838, allocations: 4.688 kB / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5838, allocations: 0 / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5838, allocations: 4 kB / 1.112 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.5843, allocations: 493.5 kB / 1.113 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.5847, allocations: 131.7 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.5848, allocations: 46.75 kB / 1.113 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.5848, allocations: 0 / 1.113 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.5849, allocations: 101.9 kB / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.5849, allocations: 5.125 kB / 1.113 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000255/0.5852, allocations: 105.5 kB / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.5852, allocations: 102.8 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.5853, allocations: 123.4 kB / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.5853, allocations: 25.7 kB / 1.113 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.5854, allocations: 84.42 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.5854, allocations: 35.55 kB / 1.113 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-06/0.5854, allocations: 0 / 1.113 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.5855, allocations: 322.9 kB / 1.114 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.5856, allocations: 32 kB / 1.114 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.134e-05/0.5856, allocations: 28.7 kB / 1.114 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.5858, allocations: 53.86 kB / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5858, allocations: 4.469 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002355/0.586, allocations: 129.5 kB / 1.114 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.586, allocations: 4 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.586, allocations: 0 / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.5861, allocations: 0 / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.5862, allocations: 19.98 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5862, allocations: 5.312 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.5863, allocations: 15.83 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5863, allocations: 4 kB / 1.114 GB, free: 3.402 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.405e-05/0.5864, allocations: 113.9 kB / 1.114 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.5864, allocations: 7.906 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.5866, allocations: 118 kB / 1.114 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5866, allocations: 0 / 1.114 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5866, allocations: 3.906 kB / 1.114 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5866, allocations: 4 kB / 1.114 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.5868, allocations: 182.2 kB / 1.114 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5868, allocations: 7.844 kB / 1.114 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-05/0.5869, allocations: 20 kB / 1.114 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5869, allocations: 4 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5869, allocations: 7.984 kB / 1.114 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5869, allocations: 1.312 kB / 1.114 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5869, allocations: 0 / 1.114 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002451/0.5872, allocations: 195.8 kB / 1.115 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.5873, allocations: 96.98 kB / 1.115 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.5873, allocations: 4 kB / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.5874, allocations: 4 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.5874, allocations: 11.98 kB / 1.115 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5874, allocations: 11.89 kB / 1.115 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.312e-05/0.5875, allocations: 95.28 kB / 1.115 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002333/0.5877, allocations: 63.92 kB / 1.115 GB, free: 2.367 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001943/0.5879, allocations: 159 kB / 1.115 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.5884, allocations: 0.7571 MB / 1.116 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.5884, allocations: 4 kB / 1.116 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.5884, allocations: 43.98 kB / 1.116 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.5886, allocations: 8.906 kB / 1.116 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.5889, allocations: 149 kB / 1.116 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.5892, allocations: 0.7192 MB / 1.117 GB, free: 456 kB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.5892, allocations: 0 / 1.117 GB, free: 456 kB / 0.7136 GB Notification: Performance of Templates: time 0.003422/0.5926, allocations: 1.617 MB / 1.118 GB, free: 14.87 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)