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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [: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.301/1.301, 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.0009386/0.0009386, allocations: 175.7 kB / 361.1 MB, free: 7.125 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.02/1.02, 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.0007567/0.0007567, allocations: 94.36 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.094e-06, allocations: 4 kB / 0.8511 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4148, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5487, allocations: 138 MB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.5489, allocations: 69.61 kB / 1.099 GB, free: 2.008 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.03281/0.5817, allocations: 9.682 MB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.5818, allocations: 4 kB / 1.108 GB, free: 8.41 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.001205/0.583, allocations: 0.6212 MB / 1.109 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.583, allocations: 8.531 kB / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.5831, allocations: 23.8 kB / 1.109 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.5832, allocations: 193 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.5833, allocations: 13.47 kB / 1.109 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.5833, allocations: 16 kB / 1.109 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002305/0.5836, allocations: 91.95 kB / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.5839, allocations: 223.1 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5839, allocations: 4 kB / 1.109 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.584, allocations: 0 / 1.109 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.584, allocations: 4 kB / 1.109 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.5847, allocations: 0.8974 MB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.5862, allocations: 475.4 kB / 1.11 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.5864, allocations: 138.6 kB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.5864, allocations: 27.81 kB / 1.111 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.5867, allocations: 251.9 kB / 1.111 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.295e-06/0.5867, allocations: 4 kB / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.000729/0.5875, allocations: 286 kB / 1.111 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.5876, allocations: 354.1 kB / 1.111 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.5878, allocations: 150.3 kB / 1.112 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.5878, allocations: 33.7 kB / 1.112 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.5879, allocations: 100.9 kB / 1.112 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.588, allocations: 114.6 kB / 1.112 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.588, allocations: 0 / 1.112 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5882, allocations: 334.8 kB / 1.112 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.5883, allocations: 88.98 kB / 1.112 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.5885, allocations: 154.8 kB / 1.112 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.589, allocations: 146.5 kB / 1.113 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.589, allocations: 0 / 1.113 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007944/0.5898, allocations: 374.6 kB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5899, allocations: 6.969 kB / 1.113 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5899, allocations: 4 kB / 1.113 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5899, allocations: 4 kB / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.5902, allocations: 63.89 kB / 1.113 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5903, allocations: 4 kB / 1.113 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.5906, allocations: 55.66 kB / 1.113 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.5907, allocations: 19.98 kB / 1.113 GB, free: 2.668 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.0001169/0.5908, allocations: 131.9 kB / 1.113 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.5908, allocations: 27.8 kB / 1.113 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.5915, allocations: 327.9 kB / 1.114 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5915, allocations: 8 kB / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.5915, allocations: 4 kB / 1.114 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.5915, allocations: 4 kB / 1.114 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.5919, allocations: 301.7 kB / 1.114 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5919, allocations: 0 / 1.114 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.5922, allocations: 84.33 kB / 1.114 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.5922, allocations: 9.75 kB / 1.114 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.5923, allocations: 7.984 kB / 1.114 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.5923, allocations: 4 kB / 1.114 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5923, allocations: 10.19 kB / 1.114 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007774/0.5931, allocations: 0.5758 MB / 1.114 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.5932, allocations: 141.5 kB / 1.115 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.254e-05/0.5933, allocations: 13.67 kB / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.5936, allocations: 35.97 kB / 1.115 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5937, allocations: 43.88 kB / 1.115 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.5938, allocations: 27.98 kB / 1.115 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.313e-05/0.5939, allocations: 123.3 kB / 1.115 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006174/0.5945, allocations: 203.6 kB / 1.115 GB, free: 448 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.0005935/0.5951, allocations: 314.6 kB / 1.115 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.5968, allocations: 2.97 MB / 1.118 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5968, allocations: 0.5625 kB / 1.118 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.5971, allocations: 167.9 kB / 1.118 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.5973, allocations: 20.08 kB / 1.118 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.5982, allocations: 413.5 kB / 1.119 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.5986, allocations: 0.8122 MB / 1.12 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of SimCode: time 1.443e-06/0.5986, allocations: 4 kB / 1.12 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.008879/0.6075, allocations: 5.129 MB / 1.125 GB, free: 6.539 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)