Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [: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.338/1.338, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009902/0.0009904, allocations: 177.2 kB / 361.1 MB, free: 7.07 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.101/1.101, allocations: 205.1 MB / 0.6195 GB, free: 11.99 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.0007903/0.0007903, allocations: 92.12 kB / 0.7326 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.591e-06/5.601e-06, allocations: 0 / 0.8511 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.41, allocations: 115.3 MB / 0.9637 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.5436, allocations: 138.7 MB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5439, allocations: 84.66 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008611/0.5525, allocations: 2.858 MB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.5525, allocations: 4 kB / 1.102 GB, free: 14.51 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003778/0.5529, allocations: 434.5 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.553, allocations: 8.531 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.553, allocations: 15.81 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.5533, allocations: 225 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.5534, allocations: 2.344 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.5534, allocations: 4 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001359/0.5535, allocations: 75.95 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.5537, allocations: 123.1 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5537, allocations: 3.984 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.5537, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5538, allocations: 4 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.5542, allocations: 382.2 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.5543, allocations: 105.1 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.5544, allocations: 89.94 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.5544, allocations: 3.984 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.5546, allocations: 170.7 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.5546, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003441/0.555, allocations: 203.5 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.555, allocations: 106.8 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5552, allocations: 174.4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.5552, allocations: 29.7 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.5553, allocations: 96.06 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.5553, allocations: 27.69 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.5553, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.5554, allocations: 330.8 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.5555, allocations: 63.97 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.5556, allocations: 77.69 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.5557, allocations: 75.94 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5557, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002701/0.556, allocations: 202.8 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.556, allocations: 4 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.556, allocations: 3.984 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.556, allocations: 0 / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.5561, allocations: 11.91 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.5561, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.5562, allocations: 5.188 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.5562, allocations: 11.94 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.5563, allocations: 138.7 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.5564, allocations: 23.84 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.5565, allocations: 67.06 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5565, allocations: 0 / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5565, allocations: 0 / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5565, allocations: 4 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.5567, allocations: 191.9 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5567, allocations: 0 / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.5568, allocations: 17.39 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5568, allocations: 4 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.5568, allocations: 11.94 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5568, allocations: 0 / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5568, allocations: 0 / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000327/0.5571, allocations: 255.3 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.5573, allocations: 121.6 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.5573, allocations: 15.91 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.5574, allocations: 7.984 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.5574, allocations: 0 / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.5575, allocations: 8.812 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001099/0.5576, allocations: 152.1 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002245/0.5578, allocations: 32 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.000178/0.558, allocations: 138.9 kB / 1.106 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.5582, allocations: 153.6 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5582, allocations: 4 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.5583, allocations: 117.6 kB / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.5585, allocations: 14.42 kB / 1.106 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.5588, allocations: 224.4 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.5591, allocations: 0.7356 MB / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5591, allocations: 0 / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.003064/0.5622, allocations: 1.228 MB / 1.108 GB, free: 7.504 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)