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.SunRiseSet.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.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.252/1.252, 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.00103/0.00103, allocations: 188.9 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.155/1.155, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.000997/0.0009972, allocations: 84.45 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.36/0.3611, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.5316, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/1.028, allocations: 133 MB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.029, allocations: 73.08 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.03407/1.063, allocations: 10.63 MB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.063, allocations: 12 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/1.063, allocations: 23.03 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/1.063, allocations: 191.5 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/1.063, allocations: 4 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/1.063, allocations: 15.98 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002087/1.063, allocations: 88.33 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/1.063, allocations: 223.5 kB / 1.026 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.064, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/1.064, allocations: 7.438 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.064, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/1.064, allocations: 362.9 kB / 1.026 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/1.065, allocations: 472.8 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/1.065, allocations: 145.8 kB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/1.065, allocations: 11.98 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/1.066, allocations: 267.1 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.446e-06/1.066, allocations: 3.984 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.0007148/1.067, allocations: 297.8 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.067, allocations: 353.8 kB / 1.027 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/1.067, allocations: 144.5 kB / 1.027 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/1.067, allocations: 29.7 kB / 1.028 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/1.067, allocations: 96.25 kB / 1.028 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/1.067, allocations: 106.3 kB / 1.028 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/1.067, allocations: 7.938 kB / 1.028 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.067, allocations: 332.5 kB / 1.028 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/1.067, allocations: 95.98 kB / 1.028 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/1.068, allocations: 148.7 kB / 1.028 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/1.068, allocations: 154.5 kB / 1.028 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.068, allocations: 4 kB / 1.028 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000737/1.069, allocations: 386.5 kB / 1.029 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.069, allocations: 8 kB / 1.029 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.069, allocations: 0 / 1.029 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.069, allocations: 4 kB / 1.029 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/1.069, allocations: 62.95 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.069, allocations: 7.984 kB / 1.029 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/1.069, allocations: 47.67 kB / 1.029 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/1.069, allocations: 23.55 kB / 1.029 GB, free: 8.578 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.0001218/1.07, allocations: 126.9 kB / 1.029 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/1.07, allocations: 27.72 kB / 1.029 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/1.07, allocations: 329.1 kB / 1.029 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.07, allocations: 12 kB / 1.029 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.07, allocations: 4 kB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.07, allocations: 8.172 kB / 1.029 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/1.071, allocations: 296.9 kB / 1.03 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.071, allocations: 4 kB / 1.03 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/1.071, allocations: 70.72 kB / 1.03 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/1.071, allocations: 7.984 kB / 1.03 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/1.071, allocations: 15.48 kB / 1.03 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.071, allocations: 7.938 kB / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.071, allocations: 4 kB / 1.03 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007633/1.072, allocations: 0.5826 MB / 1.03 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008348/1.073, allocations: 0.9621 MB / 1.031 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.073, allocations: 145.5 kB / 1.031 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/1.073, allocations: 7.984 kB / 1.031 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/1.073, allocations: 31.98 kB / 1.031 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.073, allocations: 50.28 kB / 1.032 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/1.073, allocations: 23.42 kB / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.522e-05/1.073, allocations: 116.2 kB / 1.032 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001242/1.075, allocations: 216.7 kB / 1.032 GB, free: 5.594 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.0006125/1.075, allocations: 328.4 kB / 1.032 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001629/1.077, allocations: 2.994 MB / 1.035 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.077, allocations: 8.031 kB / 1.035 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/1.077, allocations: 170 kB / 1.035 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/1.077, allocations: 11.75 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.0008121/1.078, allocations: 409.5 kB / 1.036 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/1.079, allocations: 0.814 MB / 1.036 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.079, allocations: 0 / 1.036 GB, free: 0.8984 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)