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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.315/1.315, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.0009008/0.0009009, allocations: 181.3 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.031/1.031, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007491/0.0007491, allocations: 82.39 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1722/0.173, allocations: 121.4 MB / 0.8512 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.572, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.6997, allocations: 138 MB / 1.099 GB, free: 2.043 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.7, allocations: 68.62 kB / 1.099 GB, free: 1.977 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.03191/0.7319, allocations: 10.32 MB / 1.109 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7319, allocations: 8.5 kB / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.732, allocations: 23.81 kB / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.7322, allocations: 185.6 kB / 1.109 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.7322, allocations: 15.89 kB / 1.109 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.7322, allocations: 12 kB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002285/0.7325, allocations: 87.97 kB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.7328, allocations: 227.1 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7328, allocations: 7.922 kB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.7328, allocations: 4 kB / 1.109 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.7328, allocations: 8 kB / 1.109 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.7335, allocations: 0.8897 MB / 1.11 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.7348, allocations: 475.7 kB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.735, allocations: 138.3 kB / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.735, allocations: 18.53 kB / 1.111 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.7353, allocations: 263.8 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 1.943e-06/0.7353, allocations: 0 / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.000638/0.736, allocations: 285.4 kB / 1.111 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.7361, allocations: 358.2 kB / 1.112 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.7362, allocations: 154.3 kB / 1.112 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.7363, allocations: 37.69 kB / 1.112 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.7364, allocations: 96.95 kB / 1.112 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.462e-05/0.7364, allocations: 110.5 kB / 1.112 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.7365, allocations: 0 / 1.112 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7366, allocations: 326.8 kB / 1.112 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.7367, allocations: 88.98 kB / 1.112 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.737, allocations: 162.8 kB / 1.112 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.7374, allocations: 142.4 kB / 1.113 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7374, allocations: 0 / 1.113 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007431/0.7381, allocations: 371.3 kB / 1.113 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.7381, allocations: 8 kB / 1.113 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7382, allocations: 4 kB / 1.113 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7382, allocations: 4 kB / 1.113 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.7385, allocations: 71.83 kB / 1.113 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7385, allocations: 4 kB / 1.113 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.7388, allocations: 51.66 kB / 1.113 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.7389, allocations: 23.98 kB / 1.113 GB, free: 2.633 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.0001021/0.739, allocations: 124 kB / 1.113 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.739, allocations: 19.81 kB / 1.113 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.7397, allocations: 330.5 kB / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.7397, allocations: 12 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7397, allocations: 4 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7397, allocations: 11.92 kB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.74, allocations: 303.2 kB / 1.114 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.74, allocations: 4 kB / 1.114 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.7403, allocations: 72.56 kB / 1.114 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.7404, allocations: 4 kB / 1.114 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.7404, allocations: 15.98 kB / 1.114 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.7404, allocations: 7.938 kB / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.7404, allocations: 7.938 kB / 1.114 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000733/0.7412, allocations: 0.5737 MB / 1.115 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008327/0.742, allocations: 0.9434 MB / 1.115 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.7421, allocations: 153.8 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.7422, allocations: 5.938 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.7425, allocations: 35.97 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.7426, allocations: 43.94 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.7426, allocations: 27.98 kB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.65e-05/0.7427, allocations: 119.8 kB / 1.116 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001032/0.7437, allocations: 215.6 kB / 1.116 GB, free: 15.33 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.0004834/0.7442, allocations: 310.6 kB / 1.116 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.7459, allocations: 2.975 MB / 1.119 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7459, allocations: 0 / 1.119 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.7461, allocations: 171.9 kB / 1.119 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.7463, allocations: 12.75 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.0007691/0.7471, allocations: 420.4 kB / 1.12 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.7475, allocations: 0.8239 MB / 1.121 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.7475, allocations: 0 / 1.121 GB, free: 10.46 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)