Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 6.727 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.001029/0.001029, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.11/1.11, allocations: 205.1 MB / 0.6256 GB, free: 7.465 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.000773/0.000773, allocations: 91.86 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2046/0.2054, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.6651, allocations: 116.3 MB / 0.9727 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.814, allocations: 139 MB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.8142, allocations: 67.95 kB / 1.108 GB, free: 11.38 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03354/0.8478, allocations: 10.62 MB / 1.119 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.8478, allocations: 8 kB / 1.119 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.8479, allocations: 23.8 kB / 1.119 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.848, allocations: 191.5 kB / 1.119 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.848, allocations: 7.906 kB / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.8481, allocations: 16 kB / 1.119 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002102/0.8483, allocations: 83.95 kB / 1.119 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.8486, allocations: 220.6 kB / 1.119 GB, free: 152 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8486, allocations: 3.938 kB / 1.119 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.8486, allocations: 0.75 kB / 1.119 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.8486, allocations: 4 kB / 1.119 GB, free: 144 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.8491, allocations: 360.1 kB / 1.12 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.8505, allocations: 475.7 kB / 1.12 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.8507, allocations: 146.4 kB / 1.12 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.8507, allocations: 19.97 kB / 1.12 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.8511, allocations: 271.1 kB / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/0.8511, allocations: 4 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0007709/0.8519, allocations: 297 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.852, allocations: 354.2 kB / 1.121 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.8521, allocations: 140.5 kB / 1.121 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.8522, allocations: 33.7 kB / 1.121 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.8522, allocations: 89.05 kB / 1.121 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.273e-05/0.8523, allocations: 110.5 kB / 1.122 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.8524, allocations: 0 / 1.122 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.8525, allocations: 334.7 kB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.8526, allocations: 105 kB / 1.122 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.8528, allocations: 143.4 kB / 1.122 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.8533, allocations: 164.3 kB / 1.122 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8533, allocations: 0 / 1.122 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007713/0.8541, allocations: 381.8 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.8541, allocations: 4 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8541, allocations: 1.172 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8542, allocations: 8 kB / 1.123 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.8545, allocations: 67.89 kB / 1.123 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8545, allocations: 0 / 1.123 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.8548, allocations: 55.66 kB / 1.123 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.8549, allocations: 20.83 kB / 1.123 GB, free: 12.24 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.0001078/0.855, allocations: 125.1 kB / 1.123 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.855, allocations: 23.72 kB / 1.123 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.8557, allocations: 332.2 kB / 1.123 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.8557, allocations: 8.188 kB / 1.123 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8557, allocations: 4 kB / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8557, allocations: 7.969 kB / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.856, allocations: 293.8 kB / 1.124 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8561, allocations: 8 kB / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.8564, allocations: 69.12 kB / 1.124 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.8564, allocations: 8 kB / 1.124 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.8564, allocations: 15.89 kB / 1.124 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.8564, allocations: 10 kB / 1.124 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8564, allocations: 4 kB / 1.124 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000787/0.8572, allocations: 0.5915 MB / 1.124 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008128/0.8581, allocations: 0.9615 MB / 1.125 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.8582, allocations: 144.7 kB / 1.125 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.8583, allocations: 4 kB / 1.125 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.8585, allocations: 35.88 kB / 1.125 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.8586, allocations: 43.94 kB / 1.125 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.8587, allocations: 27.98 kB / 1.125 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.529e-05/0.8588, allocations: 127.8 kB / 1.126 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001191/0.86, allocations: 213.3 kB / 1.126 GB, free: 8.914 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.0006423/0.8606, allocations: 321.6 kB / 1.126 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.8623, allocations: 2.998 MB / 1.129 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8623, allocations: 4 kB / 1.129 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.8625, allocations: 163.7 kB / 1.129 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.8627, allocations: 25.48 kB / 1.129 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.8635, allocations: 413.5 kB / 1.13 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.8639, allocations: 0.8029 MB / 1.13 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.8639, allocations: 0 / 1.13 GB, free: 4.016 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)