Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2729/0.2729, allocations: 54.39 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001137/0.001137, allocations: 185.4 kB / 75.37 MB, free: 1.535 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.46/1.46, allocations: 194.2 MB / 283.2 MB, free: 3.512 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001826/0.001826, allocations: 117.3 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.075e-06, allocations: 4 kB / 405 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4498/0.5915, allocations: 85.92 MB / 0.5357 GB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5919, allocations: 79.89 kB / 0.5357 GB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.009417/0.6013, allocations: 2.715 MB / 0.5384 GB, free: 8.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.6014, allocations: 4 kB / 0.5384 GB, free: 8.824 MB / 378.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.0005899/0.602, allocations: 421.6 kB / 0.5388 GB, free: 8.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.602, allocations: 19.95 kB / 0.5388 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.6021, allocations: 12.84 kB / 0.5388 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.6025, allocations: 219.7 kB / 0.539 GB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6026, allocations: 0 / 0.539 GB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.6026, allocations: 4 kB / 0.539 GB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001773/0.6028, allocations: 65.41 kB / 0.5391 GB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.603, allocations: 120.5 kB / 0.5392 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.603, allocations: 0 / 0.5392 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.603, allocations: 3.938 kB / 0.5392 GB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.603, allocations: 4 kB / 0.5392 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.6036, allocations: 365.1 kB / 0.5396 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.6038, allocations: 108.1 kB / 0.5397 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.6039, allocations: 83.84 kB / 0.5398 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.6039, allocations: 8.531 kB / 0.5398 GB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.6042, allocations: 165.9 kB / 0.5399 GB, free: 7.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.775e-06/0.6042, allocations: 4 kB / 0.5399 GB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005102/0.6047, allocations: 182.8 kB / 0.5401 GB, free: 7.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.6048, allocations: 108.3 kB / 0.5402 GB, free: 6.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.605, allocations: 173.9 kB / 0.5404 GB, free: 6.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.605, allocations: 25.7 kB / 0.5404 GB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.6051, allocations: 100.8 kB / 0.5405 GB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.6051, allocations: 22.64 kB / 0.5405 GB, free: 6.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.6051, allocations: 0 / 0.5405 GB, free: 6.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6053, allocations: 329.1 kB / 0.5408 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.6054, allocations: 61.03 kB / 0.5409 GB, free: 6.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6055, allocations: 74.25 kB / 0.541 GB, free: 6.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.6057, allocations: 69.52 kB / 0.541 GB, free: 6.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6057, allocations: 3.938 kB / 0.541 GB, free: 6.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003159/0.6061, allocations: 188 kB / 0.5412 GB, free: 5.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6061, allocations: 4 kB / 0.5412 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6061, allocations: 7.969 kB / 0.5412 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6061, allocations: 4 kB / 0.5412 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.6062, allocations: 7.938 kB / 0.5412 GB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6062, allocations: 0 / 0.5412 GB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.6063, allocations: 12.47 kB / 0.5412 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.6063, allocations: 13.12 kB / 0.5412 GB, free: 5.875 MB / 378.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 (5): * Single equations (assignments): 4 * 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.000135/0.6065, allocations: 136.5 kB / 0.5414 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.6065, allocations: 19.81 kB / 0.5414 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.6067, allocations: 69.86 kB / 0.5415 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6067, allocations: 0 / 0.5415 GB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.6068, allocations: 3.906 kB / 0.5415 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6068, allocations: 0 / 0.5415 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.607, allocations: 191.5 kB / 0.5417 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.607, allocations: 0 / 0.5417 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.607, allocations: 19.98 kB / 0.5417 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6071, allocations: 0 / 0.5417 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.6071, allocations: 11.91 kB / 0.5417 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.6071, allocations: 4 kB / 0.5417 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6071, allocations: 0 / 0.5417 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003766/0.6075, allocations: 243.4 kB / 0.5419 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.6077, allocations: 121.6 kB / 0.542 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.6077, allocations: 4 kB / 0.542 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.6078, allocations: 8 kB / 0.542 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.6078, allocations: 4 kB / 0.542 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.6079, allocations: 15.97 kB / 0.5421 GB, free: 4.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000123/0.608, allocations: 145.2 kB / 0.5422 GB, free: 4.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.6083, allocations: 35.94 kB / 0.5422 GB, free: 4.789 MB / 378.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 (5): * Single equations (assignments): 4 * 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.0002565/0.6085, allocations: 128.9 kB / 0.5424 GB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.6088, allocations: 141.7 kB / 0.5425 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6088, allocations: 4.062 kB / 0.5425 GB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.6089, allocations: 117.6 kB / 0.5426 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.6091, allocations: 12.09 kB / 0.5426 GB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.6096, allocations: 220.2 kB / 0.5428 GB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.61, allocations: 0.7348 MB / 0.5436 GB, free: 3.367 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.61, allocations: 4 kB / 0.5436 GB, free: 3.363 MB / 378.7 MB Notification: Performance of Templates: time 0.004021/0.6141, allocations: 1.071 MB / 0.5446 GB, free: 2.297 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)