Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7007/0.7007, allocations: 141.8 MB / 149.1 MB, free: 4.344 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 185.1 kB / 181.9 MB, free: 8 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 436 MB, free: 9.172 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 103.3 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 280.8 kB / 0.5884 GB, free: 12.18 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.817e-06/8.857e-06, allocations: 0 / 0.6759 GB, free: 2.539 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4171, allocations: 82.76 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.5388, allocations: 109.3 MB / 0.8635 GB, free: 3.328 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5391, allocations: 85.11 kB / 0.8635 GB, free: 3.25 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.007892/0.547, allocations: 2.913 MB / 0.8664 GB, free: 368 kB / 0.5263 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.547, allocations: 4.5 kB / 0.8664 GB, free: 364 kB / 0.5263 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.0004284/0.5475, allocations: 443.7 kB / 0.8668 GB, free: 15.87 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5475, allocations: 8.031 kB / 0.8668 GB, free: 15.86 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.5476, allocations: 12.56 kB / 0.8668 GB, free: 15.85 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.5479, allocations: 220.6 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.5479, allocations: 5.062 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.548, allocations: 3.906 kB / 0.867 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001577/0.5481, allocations: 75.95 kB / 0.8671 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.5483, allocations: 130.8 kB / 0.8672 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5483, allocations: 0.5312 kB / 0.8672 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.5484, allocations: 0.875 kB / 0.8672 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5484, allocations: 0 / 0.8672 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.5488, allocations: 372.2 kB / 0.8676 GB, free: 14.97 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.549, allocations: 114.3 kB / 0.8677 GB, free: 14.84 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.5491, allocations: 90.69 kB / 0.8678 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5491, allocations: 1.375 kB / 0.8678 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.5493, allocations: 167.9 kB / 0.868 GB, free: 14.56 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.5493, allocations: 0 / 0.868 GB, free: 14.56 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0003718/0.5497, allocations: 198 kB / 0.8681 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.5498, allocations: 111.6 kB / 0.8683 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5499, allocations: 171 kB / 0.8684 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.5499, allocations: 25.73 kB / 0.8684 GB, free: 14.03 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.55, allocations: 108.1 kB / 0.8685 GB, free: 13.92 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.55, allocations: 27.64 kB / 0.8686 GB, free: 13.89 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.55, allocations: 0 / 0.8686 GB, free: 13.89 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5502, allocations: 322.8 kB / 0.8689 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.5503, allocations: 67.97 kB / 0.8689 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.5504, allocations: 82.91 kB / 0.869 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.5505, allocations: 72.55 kB / 0.8691 GB, free: 13.34 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5505, allocations: 4 kB / 0.8691 GB, free: 13.34 MB / 0.5419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002715/0.5508, allocations: 204.5 kB / 0.8693 GB, free: 13.14 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.5508, allocations: 4 kB / 0.8693 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5508, allocations: 0 / 0.8693 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5508, allocations: 0 / 0.8693 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.5509, allocations: 8 kB / 0.8693 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5509, allocations: 3.516 kB / 0.8693 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.551, allocations: 7.906 kB / 0.8693 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.551, allocations: 11.98 kB / 0.8693 GB, free: 13.11 MB / 0.5419 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.845e-05/0.5511, allocations: 138.7 kB / 0.8695 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.5512, allocations: 15.81 kB / 0.8695 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.5513, allocations: 75.09 kB / 0.8695 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5513, allocations: 0 / 0.8695 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5513, allocations: 7.969 kB / 0.8695 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5514, allocations: 0 / 0.8695 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.5515, allocations: 198.1 kB / 0.8697 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5515, allocations: 4 kB / 0.8697 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.5516, allocations: 8 kB / 0.8697 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5516, allocations: 0 / 0.8697 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.5516, allocations: 7.906 kB / 0.8698 GB, free: 12.6 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5516, allocations: 4 kB / 0.8698 GB, free: 12.6 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5516, allocations: 0 / 0.8698 GB, free: 12.6 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003345/0.552, allocations: 263.8 kB / 0.87 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.5521, allocations: 121.7 kB / 0.8701 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.5522, allocations: 4 kB / 0.8701 GB, free: 12.17 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.5523, allocations: 0 / 0.8701 GB, free: 12.17 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.5523, allocations: 11.89 kB / 0.8701 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.5523, allocations: 15.98 kB / 0.8702 GB, free: 12.14 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001355/0.5525, allocations: 145.2 kB / 0.8703 GB, free: 12 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000227/0.5527, allocations: 36 kB / 0.8703 GB, free: 11.97 MB / 0.5419 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.0001872/0.5529, allocations: 134.3 kB / 0.8705 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.5531, allocations: 162.3 kB / 0.8706 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5531, allocations: 0 / 0.8706 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.5533, allocations: 121.7 kB / 0.8707 GB, free: 11.54 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.5534, allocations: 4.844 kB / 0.8707 GB, free: 11.53 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.5539, allocations: 224.9 kB / 0.8709 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.5541, allocations: 0.7347 MB / 0.8717 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of SimCode: time 2.1e-07/0.5542, allocations: 0 / 0.8717 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of Templates: time 0.003511/0.5577, allocations: 1.217 MB / 0.8729 GB, free: 9.352 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)