Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.381/1.381, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.0009531/0.0009532, allocations: 188.2 kB / 366.3 MB, free: 1.949 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.071/1.071, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008428/0.0008428, allocations: 93.58 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2161/0.217, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.6662, allocations: 116.3 MB / 0.9727 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.8102, allocations: 139 MB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.8105, allocations: 72.42 kB / 1.108 GB, free: 9.352 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.03353/0.8441, allocations: 10.62 MB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.8441, allocations: 8 kB / 1.119 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.337e-05/0.8442, allocations: 19.81 kB / 1.119 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.8444, allocations: 187.5 kB / 1.119 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.8444, allocations: 11.89 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.8445, allocations: 16 kB / 1.119 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002271/0.8447, allocations: 83.95 kB / 1.119 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.845, allocations: 215.8 kB / 1.119 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8451, allocations: 4 kB / 1.119 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.8451, allocations: 8.547 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.8451, allocations: 4 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.8455, allocations: 360.1 kB / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.8469, allocations: 475.7 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.8471, allocations: 146.3 kB / 1.12 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.8471, allocations: 11.98 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002868/0.8474, allocations: 276.9 kB / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.385e-06/0.8474, allocations: 0 / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0007378/0.8482, allocations: 297.2 kB / 1.121 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.8483, allocations: 354.1 kB / 1.121 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.8484, allocations: 140.6 kB / 1.121 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.8485, allocations: 33.83 kB / 1.121 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.8485, allocations: 97.03 kB / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.8486, allocations: 106.6 kB / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.8487, allocations: 0 / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.8488, allocations: 334.7 kB / 1.122 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.8489, allocations: 96.98 kB / 1.122 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.8491, allocations: 143.4 kB / 1.122 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.8496, allocations: 164.5 kB / 1.122 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8496, allocations: 0 / 1.122 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007907/0.8504, allocations: 385.5 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8504, allocations: 7.984 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8504, allocations: 0 / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.8505, allocations: 4 kB / 1.123 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.8508, allocations: 63.89 kB / 1.123 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.8508, allocations: 6.156 kB / 1.123 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.8512, allocations: 55.66 kB / 1.123 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.183e-05/0.8513, allocations: 19.98 kB / 1.123 GB, free: 10.17 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.0001307/0.8514, allocations: 128.2 kB / 1.123 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.8515, allocations: 27.72 kB / 1.123 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.8521, allocations: 326.2 kB / 1.123 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.8521, allocations: 12 kB / 1.123 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.8522, allocations: 0 / 1.123 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8522, allocations: 7.984 kB / 1.123 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.8525, allocations: 297.8 kB / 1.124 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.8525, allocations: 0 / 1.124 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.8528, allocations: 71.91 kB / 1.124 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.8528, allocations: 8.375 kB / 1.124 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.8529, allocations: 15.83 kB / 1.124 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.8529, allocations: 15.94 kB / 1.124 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8529, allocations: 2.656 kB / 1.124 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007927/0.8537, allocations: 0.5916 MB / 1.124 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009325/0.8547, allocations: 0.9553 MB / 1.125 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.8549, allocations: 140.7 kB / 1.125 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.8549, allocations: 15.98 kB / 1.125 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.8552, allocations: 31.88 kB / 1.125 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.8553, allocations: 51.94 kB / 1.125 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.8554, allocations: 20 kB / 1.125 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.942e-05/0.8554, allocations: 120.3 kB / 1.126 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001285/0.8567, allocations: 219.7 kB / 1.126 GB, free: 6.836 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.0007558/0.8575, allocations: 321.8 kB / 1.126 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.8592, allocations: 2.997 MB / 1.129 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8592, allocations: 0 / 1.129 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.8595, allocations: 176.6 kB / 1.129 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.8597, allocations: 14.61 kB / 1.129 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.8605, allocations: 414.7 kB / 1.13 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.8609, allocations: 0.8107 MB / 1.13 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.8609, allocations: 0 / 1.13 GB, free: 1.93 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)