Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.405/1.405, allocations: 289.8 MB / 297.1 MB, free: 12.71 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 187.3 kB / 366.3 MB, free: 11.97 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.025/1.025, allocations: 205.1 MB / 0.6256 GB, free: 2.027 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007907/0.0007906, allocations: 89.08 kB / 0.7395 GB, free: 47.04 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.544e-06, allocations: 4 kB / 0.859 GB, free: 7.188 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4323, allocations: 116.3 MB / 0.9725 GB, free: 81.43 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5694, allocations: 139.7 MB / 1.109 GB, free: 4.332 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.5696, allocations: 83.94 kB / 1.109 GB, free: 4.25 MB / 0.7059 GB Notification: Performance of FrontEnd: time 0.008123/0.5777, allocations: 2.87 MB / 1.112 GB, free: 1.426 MB / 0.7059 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.5778, allocations: 0.5938 kB / 1.112 GB, free: 1.426 MB / 0.7059 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.0003525/0.5781, allocations: 428.9 kB / 1.112 GB, free: 0.957 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.5782, allocations: 8.031 kB / 1.112 GB, free: 0.9492 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.5782, allocations: 16.38 kB / 1.112 GB, free: 0.9336 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.5785, allocations: 221.5 kB / 1.112 GB, free: 0.6758 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.5785, allocations: 2.812 kB / 1.112 GB, free: 0.6758 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.5785, allocations: 4 kB / 1.112 GB, free: 0.6719 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00014/0.5787, allocations: 77.52 kB / 1.113 GB, free: 0.5977 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.5789, allocations: 123.3 kB / 1.113 GB, free: 476 kB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.5789, allocations: 0 / 1.113 GB, free: 476 kB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5789, allocations: 4.891 kB / 1.113 GB, free: 472 kB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5789, allocations: 0 / 1.113 GB, free: 472 kB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.5793, allocations: 379 kB / 1.113 GB, free: 52 kB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.5794, allocations: 109.1 kB / 1.113 GB, free: 15.93 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.5796, allocations: 85.8 kB / 1.113 GB, free: 15.84 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5796, allocations: 3.938 kB / 1.113 GB, free: 15.83 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.5797, allocations: 172.5 kB / 1.113 GB, free: 15.64 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.5798, allocations: 4 kB / 1.113 GB, free: 15.64 MB / 0.7215 GB Notification: Performance of matching and sorting (n=10): time 0.0003331/0.5801, allocations: 197.4 kB / 1.114 GB, free: 15.44 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5802, allocations: 114.8 kB / 1.114 GB, free: 15.3 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.5803, allocations: 174.4 kB / 1.114 GB, free: 15.12 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.5803, allocations: 29.7 kB / 1.114 GB, free: 15.09 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.5804, allocations: 96.16 kB / 1.114 GB, free: 14.99 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.5804, allocations: 27.59 kB / 1.114 GB, free: 14.96 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/0.5804, allocations: 4 kB / 1.114 GB, free: 14.96 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5805, allocations: 322.8 kB / 1.114 GB, free: 14.63 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-05/0.5806, allocations: 64.62 kB / 1.114 GB, free: 14.57 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.5807, allocations: 85.67 kB / 1.114 GB, free: 14.48 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.5808, allocations: 68.89 kB / 1.115 GB, free: 14.41 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5808, allocations: 4 kB / 1.115 GB, free: 14.41 MB / 0.7215 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002656/0.5811, allocations: 197.4 kB / 1.115 GB, free: 14.21 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5811, allocations: 4.781 kB / 1.115 GB, free: 14.21 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5812, allocations: 4.75 kB / 1.115 GB, free: 14.2 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5812, allocations: 0 / 1.115 GB, free: 14.2 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.5812, allocations: 15.89 kB / 1.115 GB, free: 14.19 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5813, allocations: 5.5 kB / 1.115 GB, free: 14.18 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.5813, allocations: 1.5 kB / 1.115 GB, free: 14.18 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.5814, allocations: 8 kB / 1.115 GB, free: 14.18 MB / 0.7215 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.068e-05/0.5815, allocations: 146.7 kB / 1.115 GB, free: 14.02 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.5815, allocations: 15.81 kB / 1.115 GB, free: 14 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.5816, allocations: 69.14 kB / 1.115 GB, free: 13.94 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5816, allocations: 4 kB / 1.115 GB, free: 13.93 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5817, allocations: 3.984 kB / 1.115 GB, free: 13.93 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5817, allocations: 0 / 1.115 GB, free: 13.93 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.5818, allocations: 190.2 kB / 1.115 GB, free: 13.71 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5818, allocations: 4 kB / 1.115 GB, free: 13.7 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.5819, allocations: 15.84 kB / 1.115 GB, free: 13.69 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5819, allocations: 0 / 1.115 GB, free: 13.69 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.5819, allocations: 9.484 kB / 1.115 GB, free: 13.68 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5819, allocations: 0 / 1.115 GB, free: 13.68 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5819, allocations: 0 / 1.115 GB, free: 13.68 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003052/0.5822, allocations: 262.7 kB / 1.115 GB, free: 13.4 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.5824, allocations: 121.6 kB / 1.116 GB, free: 13.26 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.5824, allocations: 7.906 kB / 1.116 GB, free: 13.25 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.5825, allocations: 4 kB / 1.116 GB, free: 13.25 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.5826, allocations: 7.984 kB / 1.116 GB, free: 13.24 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.5826, allocations: 12 kB / 1.116 GB, free: 13.23 MB / 0.7215 GB Notification: Performance of sort global known variables: time 9.697e-05/0.5827, allocations: 141.2 kB / 1.116 GB, free: 13.09 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0002196/0.5829, allocations: 43.98 kB / 1.116 GB, free: 13.05 MB / 0.7215 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.0001677/0.5831, allocations: 142 kB / 1.116 GB, free: 12.9 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.5833, allocations: 161.6 kB / 1.116 GB, free: 12.74 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5833, allocations: 0 / 1.116 GB, free: 12.74 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.5834, allocations: 118.3 kB / 1.116 GB, free: 12.62 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.5836, allocations: 5.906 kB / 1.116 GB, free: 12.61 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.584, allocations: 225.2 kB / 1.116 GB, free: 12.36 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.5842, allocations: 0.7351 MB / 1.117 GB, free: 11.61 MB / 0.7215 GB Notification: Performance of SimCode: time 2.2e-07/0.5843, allocations: 4 kB / 1.117 GB, free: 11.6 MB / 0.7215 GB Notification: Performance of Templates: time 0.003081/0.5873, allocations: 1.216 MB / 1.118 GB, free: 10.44 MB / 0.7215 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)