Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.335/1.335, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.0009795/0.0009795, allocations: 185.3 kB / 366.3 MB, free: 2.02 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.039/1.039, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.000839/0.000839, allocations: 82.97 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/6.042e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3872, allocations: 116.3 MB / 0.9726 GB, free: 67.98 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.5162, allocations: 139 MB / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.5164, allocations: 76.42 kB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03072/0.5471, allocations: 9.987 MB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.5472, allocations: 4 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009736/0.5482, allocations: 0.6219 MB / 1.119 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.5482, allocations: 8.594 kB / 1.119 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.5483, allocations: 19.81 kB / 1.119 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.5484, allocations: 187.5 kB / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.5484, allocations: 7.906 kB / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.5485, allocations: 19.94 kB / 1.119 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001936/0.5487, allocations: 83.95 kB / 1.119 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.5489, allocations: 220.5 kB / 1.119 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.549, allocations: 0 / 1.119 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.549, allocations: 4 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.549, allocations: 4 kB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.5494, allocations: 368 kB / 1.12 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.5506, allocations: 471.7 kB / 1.12 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.5508, allocations: 142.5 kB / 1.12 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.5509, allocations: 16.77 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/0.5512, allocations: 275.1 kB / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.5512, allocations: 4 kB / 1.12 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0006408/0.5518, allocations: 297.2 kB / 1.121 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.552, allocations: 354.1 kB / 1.121 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.5521, allocations: 136.6 kB / 1.121 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/0.5521, allocations: 41.81 kB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.5522, allocations: 89.05 kB / 1.121 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.5522, allocations: 106.6 kB / 1.121 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.5523, allocations: 0.5625 kB / 1.121 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.5524, allocations: 334.7 kB / 1.122 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.5526, allocations: 101 kB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.5528, allocations: 143.4 kB / 1.122 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.5532, allocations: 165 kB / 1.122 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5532, allocations: 0 / 1.122 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000736/0.5539, allocations: 382.1 kB / 1.123 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.554, allocations: 4 kB / 1.123 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.554, allocations: 0 / 1.123 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.554, allocations: 4 kB / 1.123 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.5543, allocations: 71.83 kB / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5543, allocations: 0 / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.5546, allocations: 55.66 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.5547, allocations: 20.17 kB / 1.123 GB, free: 10.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001132/0.5548, allocations: 124 kB / 1.123 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.5548, allocations: 27.72 kB / 1.123 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.5554, allocations: 334.8 kB / 1.123 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.5555, allocations: 8 kB / 1.123 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5555, allocations: 4 kB / 1.123 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.5555, allocations: 3.984 kB / 1.123 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.5558, allocations: 297.8 kB / 1.123 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5558, allocations: 4 kB / 1.123 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.5561, allocations: 67.91 kB / 1.124 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.5561, allocations: 8.656 kB / 1.124 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.5561, allocations: 20.2 kB / 1.124 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.5561, allocations: 7.938 kB / 1.124 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5562, allocations: 12 kB / 1.124 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007159/0.5569, allocations: 0.5876 MB / 1.124 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.557, allocations: 140.7 kB / 1.124 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.5571, allocations: 11.89 kB / 1.124 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.5573, allocations: 33.3 kB / 1.124 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.5574, allocations: 39.94 kB / 1.124 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.5575, allocations: 31.98 kB / 1.124 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.75e-05/0.5576, allocations: 123.8 kB / 1.125 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004399/0.558, allocations: 203.7 kB / 1.125 GB, free: 8.055 MB / 0.7292 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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.0004654/0.5585, allocations: 333.8 kB / 1.125 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.5601, allocations: 2.986 MB / 1.128 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5601, allocations: 0 / 1.128 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.5603, allocations: 163.7 kB / 1.128 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.5605, allocations: 25.48 kB / 1.128 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.5612, allocations: 418.7 kB / 1.129 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.5616, allocations: 0.804 MB / 1.129 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.5616, allocations: 0 / 1.129 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of Templates: time 0.00786/0.5695, allocations: 5.191 MB / 1.134 GB, free: 14.04 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)