Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.161/2.161, allocations: 284.9 MB / 292.2 MB, free: 9.746 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001576, allocations: 186.5 kB / 360.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 0.6188 GB, free: 3.289 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 91.39 kB / 0.7318 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.426e-06, allocations: 1.312 kB / 0.8502 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1913, allocations: 115.3 MB / 0.9628 GB, free: 56.99 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5919/0.7833, allocations: 137.8 MB / 1.097 GB, free: 36.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.7836, allocations: 66.39 kB / 1.097 GB, free: 36.45 MB / 0.7136 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.04808/0.8317, allocations: 9.683 MB / 1.107 GB, free: 35.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.8317, allocations: 3.906 kB / 1.107 GB, free: 35.91 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.001683/0.8334, allocations: 0.614 MB / 1.108 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8335, allocations: 12.25 kB / 1.108 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.8336, allocations: 19.53 kB / 1.108 GB, free: 35.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.8337, allocations: 182.6 kB / 1.108 GB, free: 35.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.8337, allocations: 3.906 kB / 1.108 GB, free: 35.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.8338, allocations: 15.62 kB / 1.108 GB, free: 35.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000352/0.8342, allocations: 102.2 kB / 1.108 GB, free: 35.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.8346, allocations: 223 kB / 1.108 GB, free: 35.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.8346, allocations: 0 / 1.108 GB, free: 35.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.8346, allocations: 9.422 kB / 1.108 GB, free: 35.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.8347, allocations: 7.797 kB / 1.108 GB, free: 35.08 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.8354, allocations: 0.8913 MB / 1.109 GB, free: 34.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.8378, allocations: 469.6 kB / 1.109 GB, free: 33.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.838, allocations: 152.3 kB / 1.11 GB, free: 33.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.8381, allocations: 3.75 kB / 1.11 GB, free: 33.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004011/0.8385, allocations: 273.4 kB / 1.11 GB, free: 33.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.036e-06/0.8385, allocations: 0 / 1.11 GB, free: 33.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001065/0.8396, allocations: 285.9 kB / 1.11 GB, free: 33.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.8397, allocations: 351.4 kB / 1.11 GB, free: 33.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.8399, allocations: 155.1 kB / 1.111 GB, free: 33.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.8399, allocations: 39.44 kB / 1.111 GB, free: 33.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.84, allocations: 95.61 kB / 1.111 GB, free: 33.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.8401, allocations: 108.1 kB / 1.111 GB, free: 32.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.8402, allocations: 0 / 1.111 GB, free: 32.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.8402, allocations: 339.6 kB / 1.111 GB, free: 32.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.8405, allocations: 91.27 kB / 1.111 GB, free: 32.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.8409, allocations: 157.4 kB / 1.111 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/0.8415, allocations: 139.2 kB / 1.111 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.8415, allocations: 3.906 kB / 1.111 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001162/0.8427, allocations: 366.3 kB / 1.112 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.8427, allocations: 3.875 kB / 1.112 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.8427, allocations: 0 / 1.112 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.8428, allocations: 11.88 kB / 1.112 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.8434, allocations: 64.78 kB / 1.112 GB, free: 32.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.8434, allocations: 3.906 kB / 1.112 GB, free: 32.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.844, allocations: 56.55 kB / 1.112 GB, free: 32.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.8441, allocations: 22.08 kB / 1.112 GB, free: 32.45 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.0001462/0.8443, allocations: 123.3 kB / 1.112 GB, free: 32.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.8443, allocations: 29.86 kB / 1.112 GB, free: 32.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.8454, allocations: 334.2 kB / 1.112 GB, free: 32.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.8454, allocations: 11.72 kB / 1.112 GB, free: 32.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.8455, allocations: 0 / 1.112 GB, free: 32.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.8455, allocations: 7.141 kB / 1.112 GB, free: 32.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.8459, allocations: 290.7 kB / 1.113 GB, free: 32.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.8459, allocations: 3.906 kB / 1.113 GB, free: 32.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.8465, allocations: 83.59 kB / 1.113 GB, free: 32.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.8465, allocations: 7.812 kB / 1.113 GB, free: 32.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.8466, allocations: 10.22 kB / 1.113 GB, free: 32.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.8466, allocations: 12.59 kB / 1.113 GB, free: 32.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8466, allocations: 384 / 1.113 GB, free: 32.06 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/0.8477, allocations: 0.5734 MB / 1.113 GB, free: 31.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.8479, allocations: 143.4 kB / 1.114 GB, free: 47.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/0.848, allocations: 18.61 kB / 1.114 GB, free: 47.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.8485, allocations: 34.27 kB / 1.114 GB, free: 47.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.8486, allocations: 46.16 kB / 1.114 GB, free: 47.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.8487, allocations: 25.78 kB / 1.114 GB, free: 47.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001282/0.8488, allocations: 121.6 kB / 1.114 GB, free: 47.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008481/0.8497, allocations: 202.6 kB / 1.114 GB, free: 47.44 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,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.0007332/0.8504, allocations: 305.5 kB / 1.114 GB, free: 47.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.8529, allocations: 2.972 MB / 1.117 GB, free: 44.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.8529, allocations: 0 / 1.117 GB, free: 44.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.8534, allocations: 167.5 kB / 1.117 GB, free: 44.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.8537, allocations: 18.39 kB / 1.117 GB, free: 44.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.8549, allocations: 418.7 kB / 1.118 GB, free: 44.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/0.8555, allocations: 0.8096 MB / 1.119 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.213e-06/0.8555, allocations: 0 / 1.119 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.01296/0.8685, allocations: 5.117 MB / 1.124 GB, free: 43.16 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)