Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 185.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008342/0.0008343, allocations: 94.19 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3139/0.3148, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.4641, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/0.9125, allocations: 133 MB / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.9128, allocations: 69.78 kB / 1.015 GB, free: 5.59 MB / 0.6355 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.03295/0.9457, allocations: 10.63 MB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.9458, allocations: 8 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.9459, allocations: 27.72 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.946, allocations: 195.5 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.946, allocations: 11.69 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.946, allocations: 12 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002394/0.9463, allocations: 84.64 kB / 1.025 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.9466, allocations: 219.7 kB / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.9466, allocations: 3.938 kB / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.9466, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.9466, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.947, allocations: 359.8 kB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.9482, allocations: 473 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.9484, allocations: 139.3 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.9485, allocations: 19.28 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.9488, allocations: 266.4 kB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 2.295e-06/0.9488, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.0007043/0.9495, allocations: 302.2 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.9496, allocations: 353.6 kB / 1.027 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.9497, allocations: 143.9 kB / 1.028 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.9498, allocations: 37.19 kB / 1.028 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.9498, allocations: 88.08 kB / 1.028 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.9499, allocations: 107.9 kB / 1.028 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.9499, allocations: 7.938 kB / 1.028 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.95, allocations: 329.4 kB / 1.028 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.9502, allocations: 101.3 kB / 1.028 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.9504, allocations: 145.4 kB / 1.028 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.9508, allocations: 161.7 kB / 1.028 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9508, allocations: 0 / 1.028 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007426/0.9516, allocations: 382.5 kB / 1.029 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.9516, allocations: 4 kB / 1.029 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9516, allocations: 4 kB / 1.029 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9516, allocations: 8 kB / 1.029 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.952, allocations: 67.14 kB / 1.029 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.952, allocations: 4 kB / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.9523, allocations: 51.66 kB / 1.029 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.9523, allocations: 23.86 kB / 1.029 GB, free: 8.594 MB / 0.6511 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.0001015/0.9524, allocations: 123 kB / 1.029 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.9525, allocations: 26.84 kB / 1.029 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.9532, allocations: 333.6 kB / 1.029 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.9532, allocations: 8 kB / 1.029 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.9532, allocations: 4 kB / 1.029 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.9532, allocations: 7.984 kB / 1.029 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.9535, allocations: 288.9 kB / 1.03 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.9535, allocations: 8 kB / 1.03 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.9538, allocations: 75.84 kB / 1.03 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.9538, allocations: 4 kB / 1.03 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.9538, allocations: 15.86 kB / 1.03 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.9538, allocations: 4 kB / 1.03 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9539, allocations: 7.984 kB / 1.03 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007128/0.9546, allocations: 0.5838 MB / 1.03 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008176/0.9554, allocations: 0.9612 MB / 1.031 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.9556, allocations: 150 kB / 1.031 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.9556, allocations: 4 kB / 1.031 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.9559, allocations: 35.97 kB / 1.032 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.956, allocations: 44.66 kB / 1.032 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.956, allocations: 22.48 kB / 1.032 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.131e-05/0.9561, allocations: 127.4 kB / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001104/0.9572, allocations: 217.5 kB / 1.032 GB, free: 5.605 MB / 0.6511 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.0006545/0.9579, allocations: 323.8 kB / 1.032 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.9596, allocations: 2.992 MB / 1.035 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.9597, allocations: 0 / 1.035 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.9599, allocations: 167.5 kB / 1.035 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.9602, allocations: 15.16 kB / 1.035 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009218/0.9611, allocations: 413.1 kB / 1.036 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.9616, allocations: 0.817 MB / 1.036 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.9616, allocations: 0 / 1.036 GB, free: 0.9219 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)