Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.117/2.117, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.00151/0.00151, allocations: 179.5 kB / 360.3 MB, free: 7.551 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.642/1.642, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001238/0.001238, allocations: 91.23 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2478/0.249, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.8025, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/1.013, allocations: 137.8 MB / 1.097 GB, free: 3.051 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.013, allocations: 70.11 kB / 1.097 GB, free: 2.984 MB / 0.698 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.05656/1.07, allocations: 10.32 MB / 1.107 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.07, allocations: 15.94 kB / 1.108 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.322e-05/1.07, allocations: 23.81 kB / 1.108 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/1.07, allocations: 182.8 kB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/1.07, allocations: 7.906 kB / 1.108 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/1.07, allocations: 15.98 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003858/1.071, allocations: 87.97 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/1.071, allocations: 230.8 kB / 1.108 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.071, allocations: 3.984 kB / 1.108 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/1.071, allocations: 7.984 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/1.071, allocations: 7.938 kB / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/1.072, allocations: 0.895 MB / 1.109 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/1.075, allocations: 463.3 kB / 1.109 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/1.075, allocations: 150.7 kB / 1.11 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.262e-05/1.075, allocations: 11.84 kB / 1.11 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005368/1.076, allocations: 267.7 kB / 1.11 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.607e-06/1.076, allocations: 4 kB / 1.11 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001211/1.077, allocations: 286.7 kB / 1.11 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/1.077, allocations: 350.1 kB / 1.11 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/1.077, allocations: 156.4 kB / 1.111 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/1.077, allocations: 29.83 kB / 1.111 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/1.078, allocations: 104.9 kB / 1.111 GB, free: 5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.078, allocations: 110.5 kB / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/1.078, allocations: 0 / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.078, allocations: 330.8 kB / 1.111 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/1.078, allocations: 88.98 kB / 1.111 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/1.079, allocations: 158.8 kB / 1.111 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/1.079, allocations: 145.8 kB / 1.111 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.079, allocations: 4 kB / 1.111 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001346/1.081, allocations: 360 kB / 1.112 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.081, allocations: 8 kB / 1.112 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.081, allocations: 0 / 1.112 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.081, allocations: 7.984 kB / 1.112 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/1.082, allocations: 67.89 kB / 1.112 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/1.082, allocations: 12.88 kB / 1.112 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/1.082, allocations: 47.66 kB / 1.112 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/1.082, allocations: 23.98 kB / 1.112 GB, free: 3.625 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.0001931/1.083, allocations: 128 kB / 1.112 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/1.083, allocations: 19.81 kB / 1.112 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/1.084, allocations: 336.8 kB / 1.112 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.084, allocations: 8 kB / 1.112 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.084, allocations: 4 kB / 1.112 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.084, allocations: 7.984 kB / 1.112 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/1.084, allocations: 293.7 kB / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.085, allocations: 4 kB / 1.113 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/1.085, allocations: 79.97 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/1.085, allocations: 8 kB / 1.113 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/1.085, allocations: 18.33 kB / 1.113 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/1.085, allocations: 4 kB / 1.113 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/1.085, allocations: 11.92 kB / 1.113 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001315/1.087, allocations: 0.5654 MB / 1.113 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001482/1.088, allocations: 0.9524 MB / 1.114 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/1.088, allocations: 148.5 kB / 1.114 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.546e-05/1.088, allocations: 9.062 kB / 1.114 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/1.089, allocations: 35.97 kB / 1.115 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.089, allocations: 43.88 kB / 1.115 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/1.089, allocations: 20.56 kB / 1.115 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001643/1.089, allocations: 127.8 kB / 1.115 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001781/1.091, allocations: 211.6 kB / 1.115 GB, free: 332 kB / 0.7136 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.0009143/1.092, allocations: 311.5 kB / 1.115 GB, free: 16 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00271/1.095, allocations: 2.978 MB / 1.118 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.095, allocations: 0 / 1.118 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005464/1.095, allocations: 169.3 kB / 1.118 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/1.096, allocations: 15.94 kB / 1.118 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/1.097, allocations: 415.5 kB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006195/1.098, allocations: 0.8119 MB / 1.119 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of SimCode: time 9.92e-07/1.098, allocations: 3.938 kB / 1.119 GB, free: 11.46 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)