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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.249/1.249, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.001019/0.001019, allocations: 177.2 kB / 316 MB, free: 3.551 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.21/1.21, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0009127/0.0009127, allocations: 87.38 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3091/0.31, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.4556, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.8947, allocations: 133 MB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.895, allocations: 77.25 kB / 1.015 GB, free: 5.566 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.03278/0.9278, allocations: 10.63 MB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.9278, allocations: 8 kB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.9279, allocations: 27.66 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.928, allocations: 187.5 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.9281, allocations: 4 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.9281, allocations: 16 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002067/0.9283, allocations: 87.58 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.9286, allocations: 218.9 kB / 1.026 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9286, allocations: 7.922 kB / 1.026 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.9286, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.9286, allocations: 4 kB / 1.026 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.929, allocations: 364 kB / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.9303, allocations: 476.4 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.9305, allocations: 140.5 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.9306, allocations: 15.48 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.9309, allocations: 268.3 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.9309, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.0006563/0.9315, allocations: 303 kB / 1.027 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.9317, allocations: 349.3 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.9318, allocations: 139 kB / 1.027 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.9318, allocations: 37.25 kB / 1.028 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.9318, allocations: 88.7 kB / 1.028 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.9319, allocations: 111.3 kB / 1.028 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.932, allocations: 4.125 kB / 1.028 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.9321, allocations: 332.9 kB / 1.028 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.9322, allocations: 104.9 kB / 1.028 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.9324, allocations: 142 kB / 1.028 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.9328, allocations: 162.9 kB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9328, allocations: 0 / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007302/0.9336, allocations: 388.5 kB / 1.029 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.9336, allocations: 8 kB / 1.029 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9336, allocations: 0 / 1.029 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9336, allocations: 4 kB / 1.029 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.934, allocations: 63.89 kB / 1.029 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.934, allocations: 0 / 1.029 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.9343, allocations: 55.66 kB / 1.029 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.9343, allocations: 26.91 kB / 1.029 GB, free: 8.582 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.000109/0.9344, allocations: 131.3 kB / 1.029 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.9345, allocations: 23.72 kB / 1.029 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/0.9351, allocations: 323.9 kB / 1.029 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.9351, allocations: 12 kB / 1.029 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.9351, allocations: 4 kB / 1.029 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.9352, allocations: 7.984 kB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.9354, allocations: 301.3 kB / 1.03 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9355, allocations: 7.938 kB / 1.03 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.9358, allocations: 63.91 kB / 1.03 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.9358, allocations: 8.375 kB / 1.03 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.9358, allocations: 11.17 kB / 1.03 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.9358, allocations: 15.94 kB / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.9358, allocations: 4 kB / 1.03 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007049/0.9365, allocations: 0.5885 MB / 1.03 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008461/0.9374, allocations: 0.951 MB / 1.031 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.9375, allocations: 147 kB / 1.031 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.9376, allocations: 11.12 kB / 1.031 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.9379, allocations: 31.97 kB / 1.032 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.938, allocations: 50.84 kB / 1.032 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.938, allocations: 23.17 kB / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.886e-05/0.9381, allocations: 122.2 kB / 1.032 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001098/0.9392, allocations: 217.1 kB / 1.032 GB, free: 5.59 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.0005102/0.9397, allocations: 320.5 kB / 1.032 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.9412, allocations: 2.997 MB / 1.035 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9412, allocations: 224 / 1.035 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.9414, allocations: 173.7 kB / 1.035 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.9416, allocations: 15.67 kB / 1.035 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.9424, allocations: 404.2 kB / 1.036 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.9427, allocations: 0.8124 MB / 1.036 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9427, allocations: 0 / 1.036 GB, free: 0.9023 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)