Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [: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.0.1-maint.8.0.x/package.mo): time 1.309/1.309, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0008618/0.0008619, allocations: 183.2 kB / 361.1 MB, free: 7.117 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.016/1.016, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007736/0.0007736, allocations: 102.2 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.634e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4141, allocations: 115.3 MB / 0.9637 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.5468, allocations: 138 MB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.547, allocations: 73.17 kB / 1.099 GB, free: 1.957 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd: time 0.03059/0.5776, allocations: 9.68 MB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.5776, allocations: 4 kB / 1.108 GB, free: 8.355 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000991/0.5786, allocations: 0.6185 MB / 1.109 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.5786, allocations: 8.531 kB / 1.109 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.5787, allocations: 19.81 kB / 1.109 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5788, allocations: 183.4 kB / 1.109 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.5789, allocations: 19.89 kB / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.5789, allocations: 12.94 kB / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000213/0.5791, allocations: 87.97 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.5794, allocations: 235 kB / 1.109 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5794, allocations: 3.938 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.5795, allocations: 0 / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5795, allocations: 8 kB / 1.109 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.5801, allocations: 0.8936 MB / 1.11 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.5814, allocations: 475.6 kB / 1.11 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.5816, allocations: 142.3 kB / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.5817, allocations: 11.91 kB / 1.111 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.582, allocations: 269.6 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.582, allocations: 0 / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.0006335/0.5826, allocations: 282.5 kB / 1.111 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.5827, allocations: 354.2 kB / 1.111 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5829, allocations: 154.3 kB / 1.112 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.5829, allocations: 37.69 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.583, allocations: 96.95 kB / 1.112 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.583, allocations: 106.5 kB / 1.112 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.5831, allocations: 4 kB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.5832, allocations: 326.8 kB / 1.112 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.5833, allocations: 88.98 kB / 1.112 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.5835, allocations: 162.8 kB / 1.112 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.5839, allocations: 146.4 kB / 1.113 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5839, allocations: 0 / 1.113 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007249/0.5847, allocations: 367.8 kB / 1.113 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.5847, allocations: 4 kB / 1.113 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5847, allocations: 5.5 kB / 1.113 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5847, allocations: 8 kB / 1.113 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.585, allocations: 59.89 kB / 1.113 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5851, allocations: 7.938 kB / 1.113 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.5854, allocations: 59.66 kB / 1.113 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.5854, allocations: 23.98 kB / 1.113 GB, free: 2.609 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0001013/0.5856, allocations: 120 kB / 1.113 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.5856, allocations: 23.81 kB / 1.113 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006245/0.5862, allocations: 328.2 kB / 1.113 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.5863, allocations: 8 kB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5863, allocations: 4 kB / 1.114 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5863, allocations: 9.578 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.5866, allocations: 301.7 kB / 1.114 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5866, allocations: 12.12 kB / 1.114 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.5869, allocations: 73.34 kB / 1.114 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5869, allocations: 8 kB / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.5869, allocations: 11.97 kB / 1.114 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.587, allocations: 8 kB / 1.114 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.587, allocations: 7.938 kB / 1.114 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000696/0.5877, allocations: 0.5728 MB / 1.114 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.5878, allocations: 148.6 kB / 1.115 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.5879, allocations: 8 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.5881, allocations: 35.97 kB / 1.115 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.5882, allocations: 39.94 kB / 1.115 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.5883, allocations: 26.11 kB / 1.115 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.826e-05/0.5884, allocations: 123.3 kB / 1.115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004444/0.5888, allocations: 203.6 kB / 1.115 GB, free: 400 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004544/0.5893, allocations: 318.6 kB / 1.115 GB, free: 76 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.5908, allocations: 2.963 MB / 1.118 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5908, allocations: 4 kB / 1.118 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.5911, allocations: 171.7 kB / 1.118 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.5912, allocations: 9.594 kB / 1.118 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.592, allocations: 427.4 kB / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.5924, allocations: 0.8161 MB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.5924, allocations: 3.938 kB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.007778/0.6002, allocations: 5.126 MB / 1.125 GB, free: 6.461 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)