Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.33/1.33, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.000872/0.000872, allocations: 185.3 kB / 366.3 MB, free: 1.992 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.043/1.043, 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.0007449/0.0007448, allocations: 85.23 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.43e-06/5.45e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4429, allocations: 116.3 MB / 0.9726 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5763, allocations: 139 MB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.5765, allocations: 71.89 kB / 1.108 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03067/0.6072, allocations: 10 MB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.6073, allocations: 0 / 1.118 GB, free: 15.36 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.001008/0.6083, allocations: 0.622 MB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6083, allocations: 8.031 kB / 1.119 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.6084, allocations: 23.75 kB / 1.119 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.6085, allocations: 183.5 kB / 1.119 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.6085, allocations: 11.91 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.6086, allocations: 15.98 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002006/0.6088, allocations: 91.89 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.609, allocations: 215.8 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6091, allocations: 4 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.6091, allocations: 0 / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.6091, allocations: 6.062 kB / 1.119 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.6095, allocations: 364.1 kB / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.6108, allocations: 471.7 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.611, allocations: 142.4 kB / 1.12 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.611, allocations: 15.92 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.6113, allocations: 271.1 kB / 1.12 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.6113, allocations: 0 / 1.12 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0006451/0.612, allocations: 301.2 kB / 1.121 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.6121, allocations: 354.1 kB / 1.121 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.6122, allocations: 144.6 kB / 1.121 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.6123, allocations: 29.7 kB / 1.121 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.6123, allocations: 97.03 kB / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.6124, allocations: 102.7 kB / 1.121 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.6125, allocations: 4 kB / 1.121 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.6126, allocations: 338.7 kB / 1.122 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.6127, allocations: 92.98 kB / 1.122 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.6129, allocations: 147.4 kB / 1.122 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.6133, allocations: 155.5 kB / 1.122 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6133, allocations: 0 / 1.122 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007445/0.6141, allocations: 393 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.6141, allocations: 4 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6141, allocations: 192 / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6141, allocations: 4.844 kB / 1.123 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.6145, allocations: 63.83 kB / 1.123 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6145, allocations: 4 kB / 1.123 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.6148, allocations: 59.64 kB / 1.123 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.6148, allocations: 19.98 kB / 1.123 GB, free: 10.17 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.0001059/0.6149, allocations: 126.6 kB / 1.123 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.615, allocations: 23.72 kB / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.6156, allocations: 330.2 kB / 1.123 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6156, allocations: 8 kB / 1.123 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6157, allocations: 13.34 kB / 1.123 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.6157, allocations: 4 kB / 1.123 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.616, allocations: 293.8 kB / 1.123 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.616, allocations: 3.984 kB / 1.123 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.6163, allocations: 71.91 kB / 1.124 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.6163, allocations: 4 kB / 1.124 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.6163, allocations: 23.83 kB / 1.124 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.6164, allocations: 8.312 kB / 1.124 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6164, allocations: 3.938 kB / 1.124 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007425/0.6171, allocations: 0.5955 MB / 1.124 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.6173, allocations: 140.7 kB / 1.124 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.6173, allocations: 11.91 kB / 1.124 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.6176, allocations: 35.97 kB / 1.124 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.6177, allocations: 39.94 kB / 1.124 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.6177, allocations: 20 kB / 1.124 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.568e-05/0.6178, allocations: 130 kB / 1.125 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004928/0.6183, allocations: 203.7 kB / 1.125 GB, free: 7.926 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.0005078/0.6188, allocations: 337.8 kB / 1.125 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.6205, allocations: 2.985 MB / 1.128 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6205, allocations: 0 / 1.128 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.6207, allocations: 171.7 kB / 1.128 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.6209, allocations: 19.22 kB / 1.128 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.6217, allocations: 410.8 kB / 1.129 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.6221, allocations: 0.8111 MB / 1.129 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.6221, allocations: 0 / 1.129 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.008001/0.6301, allocations: 5.185 MB / 1.134 GB, free: 13.91 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)