Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003434/0.003434, allocations: 182.9 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6593/0.6593, allocations: 130.6 MB / 138.5 MB, free: 2.152 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.3 MB / 391.4 MB, free: 13.01 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.001018/0.001018, allocations: 101.9 kB / 473.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.544e-06, allocations: 0 / 0.5479 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2322, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6158/0.848, allocations: 111.7 MB / 0.7367 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.8484, allocations: 77.27 kB / 0.7368 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.009127/0.8576, allocations: 2.929 MB / 0.7396 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.8576, allocations: 0 / 0.7396 GB, free: 11.29 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.0006393/0.8583, allocations: 429.5 kB / 0.74 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.8583, allocations: 11.62 kB / 0.74 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/0.8584, allocations: 15.69 kB / 0.74 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.8589, allocations: 225.1 kB / 0.7403 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.8589, allocations: 0 / 0.7403 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.8589, allocations: 5.672 kB / 0.7403 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001991/0.8591, allocations: 73.58 kB / 0.7403 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.8594, allocations: 127.1 kB / 0.7405 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.8594, allocations: 0 / 0.7405 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.8594, allocations: 0 / 0.7405 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.8595, allocations: 3.844 kB / 0.7405 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.8602, allocations: 373.2 kB / 0.7408 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.8603, allocations: 116.9 kB / 0.7409 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.8605, allocations: 85.44 kB / 0.741 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.8605, allocations: 0 / 0.741 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.8607, allocations: 184.3 kB / 0.7412 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.8608, allocations: 0 / 0.7412 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0005047/0.8613, allocations: 191.4 kB / 0.7414 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/0.8614, allocations: 108 kB / 0.7415 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.8616, allocations: 173.2 kB / 0.7416 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.8616, allocations: 29.64 kB / 0.7417 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.8617, allocations: 90.3 kB / 0.7418 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.8618, allocations: 29.7 kB / 0.7418 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.8618, allocations: 7.938 kB / 0.7418 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.862, allocations: 328.6 kB / 0.7421 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.8621, allocations: 66.28 kB / 0.7422 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.8622, allocations: 79.73 kB / 0.7422 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.8624, allocations: 76.84 kB / 0.7423 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8624, allocations: 0 / 0.7423 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003153/0.8627, allocations: 195.7 kB / 0.7425 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8628, allocations: 11.69 kB / 0.7425 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8628, allocations: 0 / 0.7425 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.8628, allocations: 0 / 0.7425 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.8629, allocations: 9.516 kB / 0.7425 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.8629, allocations: 3.984 kB / 0.7425 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.863, allocations: 8.578 kB / 0.7425 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.863, allocations: 7.812 kB / 0.7425 GB, free: 25.31 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.0001523/0.8632, allocations: 139.6 kB / 0.7427 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.8632, allocations: 27.16 kB / 0.7427 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.8635, allocations: 65.64 kB / 0.7428 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.8635, allocations: 0 / 0.7428 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.8635, allocations: 3.844 kB / 0.7428 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8635, allocations: 0 / 0.7428 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.8637, allocations: 200.1 kB / 0.743 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8637, allocations: 3.938 kB / 0.743 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.8638, allocations: 8.953 kB / 0.743 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8638, allocations: 0 / 0.743 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.8638, allocations: 12.8 kB / 0.743 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8639, allocations: 0 / 0.743 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8639, allocations: 0 / 0.743 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004056/0.8643, allocations: 260.7 kB / 0.7432 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.8645, allocations: 118 kB / 0.7433 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.8645, allocations: 8.719 kB / 0.7434 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.8646, allocations: 4.703 kB / 0.7434 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.8647, allocations: 12.36 kB / 0.7434 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.8647, allocations: 9.031 kB / 0.7434 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001646/0.8649, allocations: 151 kB / 0.7435 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002846/0.8652, allocations: 35.58 kB / 0.7436 GB, free: 24.65 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.0002889/0.8655, allocations: 136.4 kB / 0.7437 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.8658, allocations: 159.7 kB / 0.7438 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8658, allocations: 4.062 kB / 0.7438 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.8659, allocations: 119.6 kB / 0.744 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.8662, allocations: 5.359 kB / 0.744 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.8668, allocations: 227.4 kB / 0.7442 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.8672, allocations: 0.7339 MB / 0.7449 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.8672, allocations: 0 / 0.7449 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.005539/0.8728, allocations: 1.212 MB / 0.7461 GB, free: 23.54 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)