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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.288/1.288, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.00091/0.00091, allocations: 179.4 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.01/1.01, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007953/0.0007953, allocations: 99.34 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1769/0.1777, allocations: 121.4 MB / 0.8512 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.5859, allocations: 115.3 MB / 0.9638 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.7169, allocations: 138 MB / 1.099 GB, free: 2.059 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.7172, allocations: 68.61 kB / 1.099 GB, free: 1.992 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: 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.03181/0.749, allocations: 10.31 MB / 1.109 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.749, allocations: 12.5 kB / 1.109 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.7491, allocations: 21.56 kB / 1.109 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.7492, allocations: 189.2 kB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.7492, allocations: 7.906 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.7493, allocations: 17.11 kB / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002106/0.7495, allocations: 91.97 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.7498, allocations: 231 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7498, allocations: 0 / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.7498, allocations: 7.984 kB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.7498, allocations: 8 kB / 1.109 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.7504, allocations: 0.8819 MB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.7517, allocations: 467.7 kB / 1.111 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.7519, allocations: 150.3 kB / 1.111 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.7519, allocations: 11.89 kB / 1.111 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.7522, allocations: 267.8 kB / 1.111 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/0.7522, allocations: 0 / 1.111 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.0007126/0.7529, allocations: 294.6 kB / 1.111 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.7531, allocations: 350.3 kB / 1.112 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.7532, allocations: 154.3 kB / 1.112 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.7532, allocations: 33.7 kB / 1.112 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.7533, allocations: 100.9 kB / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.7534, allocations: 110.5 kB / 1.112 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.7534, allocations: 0 / 1.112 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.7535, allocations: 334.8 kB / 1.112 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.7536, allocations: 92.98 kB / 1.112 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.7538, allocations: 162.8 kB / 1.113 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.7543, allocations: 139.8 kB / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7543, allocations: 0 / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007439/0.755, allocations: 360.9 kB / 1.113 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.7551, allocations: 7.984 kB / 1.113 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7551, allocations: 4 kB / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7551, allocations: 4 kB / 1.113 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.7554, allocations: 71.83 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.7554, allocations: 4 kB / 1.113 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.7558, allocations: 55.66 kB / 1.113 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.7558, allocations: 19.98 kB / 1.113 GB, free: 2.641 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.0001076/0.7559, allocations: 134.3 kB / 1.113 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.756, allocations: 19.81 kB / 1.113 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.7566, allocations: 334.2 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.7566, allocations: 8 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.7566, allocations: 4 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.7567, allocations: 9.172 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.757, allocations: 297.7 kB / 1.114 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.757, allocations: 4 kB / 1.114 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.7573, allocations: 71.91 kB / 1.114 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.7573, allocations: 4 kB / 1.114 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.7574, allocations: 23.86 kB / 1.114 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.7574, allocations: 4 kB / 1.114 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7574, allocations: 4 kB / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007222/0.7581, allocations: 0.5757 MB / 1.115 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008113/0.7589, allocations: 0.9452 MB / 1.115 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.7591, allocations: 152.5 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.7591, allocations: 8 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.7594, allocations: 35.97 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.7595, allocations: 39.94 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.7596, allocations: 27.98 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.035e-05/0.7596, allocations: 123.8 kB / 1.116 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001231/0.7609, allocations: 211.6 kB / 1.116 GB, free: 15.34 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.0005784/0.7615, allocations: 318.8 kB / 1.116 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.7631, allocations: 2.973 MB / 1.119 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7631, allocations: 4 kB / 1.119 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.7633, allocations: 177 kB / 1.119 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.7635, allocations: 11.09 kB / 1.119 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.7643, allocations: 411.5 kB / 1.12 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.7647, allocations: 0.8122 MB / 1.121 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.7647, allocations: 4 kB / 1.121 GB, free: 10.47 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)