Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.2/2.2, allocations: 284.8 MB / 292.1 MB, free: 9.906 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.001597/0.001596, allocations: 187.1 kB / 360.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 0.6187 GB, free: 3.246 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 95.19 kB / 0.7317 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5043/0.5056, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.7042, allocations: 115.3 MB / 0.9628 GB, free: 56.97 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5979/1.302, allocations: 137.8 MB / 1.097 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.302, allocations: 70 kB / 1.097 GB, free: 44.45 MB / 0.7136 GB [/home/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: 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.05091/1.353, allocations: 10.3 MB / 1.107 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/1.353, allocations: 8.312 kB / 1.108 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.913e-05/1.353, allocations: 19.53 kB / 1.108 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/1.354, allocations: 190.2 kB / 1.108 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/1.354, allocations: 7.625 kB / 1.108 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/1.354, allocations: 14.06 kB / 1.108 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003495/1.354, allocations: 103.8 kB / 1.108 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/1.354, allocations: 222.7 kB / 1.108 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.355, allocations: 0 / 1.108 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/1.355, allocations: 3.188 kB / 1.108 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.355, allocations: 3.219 kB / 1.108 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/1.355, allocations: 0.8971 MB / 1.109 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/1.358, allocations: 474.9 kB / 1.109 GB, free: 41.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/1.358, allocations: 143.5 kB / 1.11 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/1.358, allocations: 11.14 kB / 1.11 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/1.358, allocations: 276.7 kB / 1.11 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.555e-06/1.358, allocations: 0 / 1.11 GB, free: 41.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001091/1.36, allocations: 281.3 kB / 1.11 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/1.36, allocations: 344.4 kB / 1.11 GB, free: 41.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/1.36, allocations: 163.9 kB / 1.111 GB, free: 41.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/1.36, allocations: 33.41 kB / 1.111 GB, free: 41.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/1.36, allocations: 104.5 kB / 1.111 GB, free: 41.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/1.36, allocations: 112.4 kB / 1.111 GB, free: 40.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/1.36, allocations: 0 / 1.111 GB, free: 40.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/1.36, allocations: 333.5 kB / 1.111 GB, free: 40.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/1.36, allocations: 93.48 kB / 1.111 GB, free: 40.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/1.361, allocations: 154.4 kB / 1.111 GB, free: 40.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/1.361, allocations: 141.7 kB / 1.111 GB, free: 40.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.361, allocations: 3.906 kB / 1.111 GB, free: 40.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001159/1.363, allocations: 365.2 kB / 1.112 GB, free: 40.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.363, allocations: 3.906 kB / 1.112 GB, free: 40.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.363, allocations: 0 / 1.112 GB, free: 40.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.363, allocations: 3.906 kB / 1.112 GB, free: 40.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/1.363, allocations: 72.03 kB / 1.112 GB, free: 40.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.363, allocations: 3.906 kB / 1.112 GB, free: 40.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/1.364, allocations: 53.59 kB / 1.112 GB, free: 40.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/1.364, allocations: 22.97 kB / 1.112 GB, free: 40.46 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.0001316/1.364, allocations: 132.3 kB / 1.112 GB, free: 40.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/1.364, allocations: 23.44 kB / 1.112 GB, free: 40.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/1.365, allocations: 331.3 kB / 1.112 GB, free: 40.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.365, allocations: 11.78 kB / 1.112 GB, free: 40.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.609e-06/1.365, allocations: 0 / 1.112 GB, free: 40.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.365, allocations: 7.328 kB / 1.112 GB, free: 40.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/1.366, allocations: 294.7 kB / 1.113 GB, free: 40.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.366, allocations: 3.906 kB / 1.113 GB, free: 40.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/1.366, allocations: 83.22 kB / 1.113 GB, free: 40.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.366, allocations: 7.812 kB / 1.113 GB, free: 40.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/1.366, allocations: 10.86 kB / 1.113 GB, free: 40.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.366, allocations: 7.812 kB / 1.113 GB, free: 40.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.367, allocations: 7.359 kB / 1.113 GB, free: 40.07 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001047/1.368, allocations: 0.5653 MB / 1.113 GB, free: 39.7 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001124/1.369, allocations: 0.9514 MB / 1.114 GB, free: 54.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/1.369, allocations: 143.2 kB / 1.114 GB, free: 54.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/1.369, allocations: 15.38 kB / 1.114 GB, free: 54.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/1.37, allocations: 37.62 kB / 1.115 GB, free: 54.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.37, allocations: 43.58 kB / 1.115 GB, free: 54.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/1.37, allocations: 26.5 kB / 1.115 GB, free: 54.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.00014/1.37, allocations: 125.7 kB / 1.115 GB, free: 54.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002243/1.372, allocations: 213.9 kB / 1.115 GB, free: 54.7 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.0009852/1.373, allocations: 309.4 kB / 1.115 GB, free: 54.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002607/1.376, allocations: 2.972 MB / 1.118 GB, free: 51.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.376, allocations: 3.812 kB / 1.118 GB, free: 51.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004767/1.376, allocations: 163 kB / 1.118 GB, free: 51.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/1.377, allocations: 23 kB / 1.118 GB, free: 51.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/1.378, allocations: 412.1 kB / 1.119 GB, free: 51.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005903/1.379, allocations: 0.807 MB / 1.119 GB, free: 50.89 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/1.379, allocations: 0 / 1.119 GB, free: 50.89 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)