Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6952/0.6952, allocations: 127.4 MB / 134.6 MB, free: 4.113 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 189.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009634/0.0009633, allocations: 86.48 kB / 476.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.385e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1847, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5397/0.7245, allocations: 103.3 MB / 0.7218 GB, free: 9.086 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.7248, allocations: 83.94 kB / 0.7219 GB, free: 9.004 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.008883/0.7337, allocations: 2.878 MB / 0.7247 GB, free: 6.137 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.7337, allocations: 0 / 0.7247 GB, free: 6.137 MB / 490.7 MB 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.0005047/0.7343, allocations: 431.7 kB / 0.7251 GB, free: 5.664 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.7343, allocations: 8.031 kB / 0.7251 GB, free: 5.656 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.7344, allocations: 15.81 kB / 0.7251 GB, free: 5.641 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.7347, allocations: 220.6 kB / 0.7253 GB, free: 5.383 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7348, allocations: 4 kB / 0.7253 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.7348, allocations: 4 kB / 0.7253 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001536/0.7349, allocations: 71.95 kB / 0.7254 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.7351, allocations: 127.2 kB / 0.7255 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.7352, allocations: 7.938 kB / 0.7255 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.7352, allocations: 0 / 0.7255 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.7352, allocations: 0 / 0.7255 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.7357, allocations: 378.3 kB / 0.7259 GB, free: 4.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.7358, allocations: 110 kB / 0.726 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.736, allocations: 89.73 kB / 0.7261 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.736, allocations: 0 / 0.7261 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.7362, allocations: 170.8 kB / 0.7262 GB, free: 4.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.7362, allocations: 0 / 0.7262 GB, free: 4.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004109/0.7366, allocations: 197.5 kB / 0.7264 GB, free: 4.141 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.7367, allocations: 114.7 kB / 0.7265 GB, free: 4.004 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.7368, allocations: 178.4 kB / 0.7267 GB, free: 3.824 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.7369, allocations: 29.73 kB / 0.7267 GB, free: 3.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.7369, allocations: 96.03 kB / 0.7268 GB, free: 3.691 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.737, allocations: 23.66 kB / 0.7268 GB, free: 3.668 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/0.737, allocations: 0 / 0.7268 GB, free: 3.668 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7371, allocations: 326.8 kB / 0.7272 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.7372, allocations: 67.95 kB / 0.7272 GB, free: 3.273 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.071e-05/0.7373, allocations: 77.69 kB / 0.7273 GB, free: 3.191 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.7374, allocations: 71.89 kB / 0.7274 GB, free: 3.121 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7374, allocations: 8 kB / 0.7274 GB, free: 3.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002942/0.7377, allocations: 197.4 kB / 0.7276 GB, free: 2.914 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7378, allocations: 4 kB / 0.7276 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7378, allocations: 0 / 0.7276 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7378, allocations: 4 kB / 0.7276 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.7379, allocations: 19.98 kB / 0.7276 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.7379, allocations: 4 kB / 0.7276 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.738, allocations: 3.906 kB / 0.7276 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.738, allocations: 8 kB / 0.7276 GB, free: 2.871 MB / 490.7 MB 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 0.0001117/0.7381, allocations: 142.7 kB / 0.7277 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.7382, allocations: 15.81 kB / 0.7278 GB, free: 2.703 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.7383, allocations: 63.17 kB / 0.7278 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7383, allocations: 4 kB / 0.7278 GB, free: 2.633 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7384, allocations: 3.984 kB / 0.7278 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7384, allocations: 0 / 0.7278 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.7385, allocations: 194.1 kB / 0.728 GB, free: 2.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7386, allocations: 4 kB / 0.728 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.7386, allocations: 15.94 kB / 0.728 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7386, allocations: 0 / 0.728 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.7386, allocations: 7.984 kB / 0.728 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.7387, allocations: 0.7031 kB / 0.728 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7387, allocations: 7.844 kB / 0.728 GB, free: 2.367 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003394/0.739, allocations: 255.4 kB / 0.7283 GB, free: 2.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.7392, allocations: 121.6 kB / 0.7284 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.7393, allocations: 4 kB / 0.7284 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.7393, allocations: 4 kB / 0.7284 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.7394, allocations: 11.98 kB / 0.7284 GB, free: 1.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.7394, allocations: 8 kB / 0.7284 GB, free: 1.922 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001635/0.7396, allocations: 145.1 kB / 0.7286 GB, free: 1.781 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.7398, allocations: 39.98 kB / 0.7286 GB, free: 1.742 MB / 490.7 MB 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.0002257/0.7401, allocations: 139.1 kB / 0.7287 GB, free: 1.598 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.7403, allocations: 153.7 kB / 0.7289 GB, free: 1.441 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7403, allocations: 0 / 0.7289 GB, free: 1.441 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.7404, allocations: 117.6 kB / 0.729 GB, free: 1.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.7406, allocations: 9.609 kB / 0.729 GB, free: 1.309 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.7411, allocations: 222.4 kB / 0.7292 GB, free: 1.066 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.7414, allocations: 0.7309 MB / 0.7299 GB, free: 316 kB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7414, allocations: 3.938 kB / 0.7299 GB, free: 312 kB / 490.7 MB Notification: Performance of Templates: time 0.003965/0.7454, allocations: 1.242 MB / 0.7311 GB, free: 15.08 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)