Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 185.9 kB / 7.459 MB, free: 2.527 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.701/0.701, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009683, allocations: 81.36 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.083e-05/1.099e-05, allocations: 2.469 kB / 0.5528 GB, free: 89.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2233, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6758/0.8992, allocations: 112 MB / 0.7426 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.8997, allocations: 81.11 kB / 0.7426 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.009602/0.9093, allocations: 2.922 MB / 0.7455 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.9094, allocations: 0 / 0.7455 GB, free: 10.71 MB / 0.4948 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.0006891/0.9101, allocations: 432.8 kB / 0.7459 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.9101, allocations: 7.688 kB / 0.7459 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.9102, allocations: 19.47 kB / 0.7459 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.9107, allocations: 223.3 kB / 0.7461 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.9107, allocations: 0 / 0.7461 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.9108, allocations: 3.75 kB / 0.7461 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002291/0.911, allocations: 68.91 kB / 0.7462 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.9113, allocations: 124.3 kB / 0.7463 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.9113, allocations: 0.875 kB / 0.7463 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.9114, allocations: 0.7969 kB / 0.7463 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9114, allocations: 7.938 kB / 0.7463 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.9122, allocations: 375.8 kB / 0.7467 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.9124, allocations: 107.2 kB / 0.7468 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.9126, allocations: 93.55 kB / 0.7469 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.9126, allocations: 3.938 kB / 0.7469 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.9129, allocations: 170 kB / 0.747 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.9129, allocations: 0 / 0.747 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0006017/0.9135, allocations: 198.4 kB / 0.7472 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.9136, allocations: 107.6 kB / 0.7473 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.914, allocations: 183.9 kB / 0.7475 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.914, allocations: 26.5 kB / 0.7475 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.9141, allocations: 90.33 kB / 0.7476 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.9142, allocations: 28.67 kB / 0.7477 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.9142, allocations: 3.812 kB / 0.7477 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.9144, allocations: 329.8 kB / 0.748 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.9145, allocations: 67.89 kB / 0.748 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.9146, allocations: 87.62 kB / 0.7481 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.9148, allocations: 66.89 kB / 0.7482 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9148, allocations: 0 / 0.7482 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004058/0.9152, allocations: 199.7 kB / 0.7484 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.9153, allocations: 6.531 kB / 0.7484 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9153, allocations: 0.8594 kB / 0.7484 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.9153, allocations: 4 kB / 0.7484 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.9154, allocations: 9.359 kB / 0.7484 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.9154, allocations: 3.938 kB / 0.7484 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.9155, allocations: 8.391 kB / 0.7484 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.9156, allocations: 12.09 kB / 0.7484 GB, free: 24.72 MB / 0.5105 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 0.0001701/0.9158, allocations: 145.1 kB / 0.7486 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.9158, allocations: 15.66 kB / 0.7486 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.916, allocations: 60.23 kB / 0.7486 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.916, allocations: 3.844 kB / 0.7486 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.9161, allocations: 4 kB / 0.7486 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.9161, allocations: 0.5156 kB / 0.7486 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.9163, allocations: 199.3 kB / 0.7488 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.9164, allocations: 0.7031 kB / 0.7488 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.9164, allocations: 15.67 kB / 0.7488 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.9164, allocations: 4.641 kB / 0.7488 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.9165, allocations: 4.5 kB / 0.7489 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.9165, allocations: 8.484 kB / 0.7489 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9165, allocations: 0 / 0.7489 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000468/0.917, allocations: 258.1 kB / 0.7491 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.9172, allocations: 118.6 kB / 0.7492 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.9173, allocations: 3.875 kB / 0.7492 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.9173, allocations: 9.125 kB / 0.7492 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.9174, allocations: 5.734 kB / 0.7492 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.9174, allocations: 12 kB / 0.7492 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00016/0.9176, allocations: 146.9 kB / 0.7494 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003711/0.918, allocations: 35.47 kB / 0.7494 GB, free: 24.06 MB / 0.5105 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.0003103/0.9183, allocations: 140.8 kB / 0.7496 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.9186, allocations: 145.3 kB / 0.7497 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9186, allocations: 3.875 kB / 0.7497 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.9188, allocations: 120.3 kB / 0.7498 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.919, allocations: 8.578 kB / 0.7498 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.9197, allocations: 223.7 kB / 0.75 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.9203, allocations: 0.7385 MB / 0.7508 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.9203, allocations: 0 / 0.7508 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.006186/0.9265, allocations: 1.218 MB / 0.7519 GB, free: 22.96 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)