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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [: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.004238/0.004238, allocations: 177.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7544/0.7544, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.491/1.491, allocations: 221.3 MB / 395 MB, free: 10.12 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.001108/0.001109, allocations: 101 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5364/0.5376, allocations: 88.43 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.7421, allocations: 82.3 MB / 0.6333 GB, free: 13.9 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6864/1.429, allocations: 112 MB / 0.7426 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/1.429, allocations: 84.69 kB / 0.7427 GB, free: 10.74 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.00989/1.439, allocations: 3.331 MB / 0.746 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.439, allocations: 15.44 kB / 0.746 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/1.439, allocations: 16.38 kB / 0.746 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/1.439, allocations: 220.3 kB / 0.7462 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.439, allocations: 0 / 0.7462 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/1.439, allocations: 7.844 kB / 0.7462 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001523/1.44, allocations: 75.86 kB / 0.7463 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/1.44, allocations: 119.4 kB / 0.7464 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.44, allocations: 0 / 0.7464 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/1.44, allocations: 3.75 kB / 0.7464 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/1.44, allocations: 0 / 0.7464 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/1.44, allocations: 380.3 kB / 0.7468 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/1.44, allocations: 116.6 kB / 0.7469 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/1.441, allocations: 90.06 kB / 0.747 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/1.441, allocations: 0.75 kB / 0.747 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/1.441, allocations: 173 kB / 0.7471 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/1.441, allocations: 0 / 0.7471 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0004055/1.441, allocations: 195.9 kB / 0.7473 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/1.441, allocations: 107.6 kB / 0.7474 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/1.442, allocations: 180.6 kB / 0.7476 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/1.442, allocations: 25.7 kB / 0.7476 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/1.442, allocations: 105.8 kB / 0.7477 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/1.442, allocations: 25.17 kB / 0.7478 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/1.442, allocations: 0 / 0.7478 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.442, allocations: 326.9 kB / 0.7481 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/1.442, allocations: 67.94 kB / 0.7481 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.43e-05/1.442, allocations: 80.12 kB / 0.7482 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/1.442, allocations: 71.41 kB / 0.7483 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.442, allocations: 0 / 0.7483 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002783/1.442, allocations: 205.7 kB / 0.7485 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.442, allocations: 7.688 kB / 0.7485 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.442, allocations: 0.75 kB / 0.7485 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.442, allocations: 0 / 0.7485 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/1.443, allocations: 9.047 kB / 0.7485 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.443, allocations: 0 / 0.7485 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/1.443, allocations: 4.5 kB / 0.7485 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/1.443, allocations: 8.359 kB / 0.7485 GB, free: 24.56 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.0001247/1.443, allocations: 151.9 kB / 0.7486 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/1.443, allocations: 15.47 kB / 0.7487 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/1.443, allocations: 69.03 kB / 0.7487 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.443, allocations: 3.844 kB / 0.7487 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.443, allocations: 0 / 0.7487 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.443, allocations: 0.7031 kB / 0.7487 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/1.443, allocations: 198 kB / 0.7489 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.443, allocations: 0 / 0.7489 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/1.443, allocations: 12.75 kB / 0.7489 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.443, allocations: 0.6094 kB / 0.7489 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/1.443, allocations: 4.406 kB / 0.7489 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/1.443, allocations: 12.11 kB / 0.7489 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.443, allocations: 0 / 0.7489 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003431/1.444, allocations: 261.2 kB / 0.7492 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004306/1.444, allocations: 0.6187 MB / 0.7498 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/1.444, allocations: 121 kB / 0.7499 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/1.444, allocations: 4.516 kB / 0.7499 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/1.445, allocations: 8.484 kB / 0.7499 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/1.445, allocations: 5.5 kB / 0.7499 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/1.445, allocations: 18.66 kB / 0.75 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001209/1.445, allocations: 143.6 kB / 0.7501 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008/1.446, allocations: 43.78 kB / 0.7501 GB, free: 23.42 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.0002146/1.446, allocations: 132.4 kB / 0.7503 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00021/1.446, allocations: 148.1 kB / 0.7504 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.446, allocations: 0 / 0.7504 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/1.446, allocations: 122.8 kB / 0.7505 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/1.446, allocations: 16.31 kB / 0.7505 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/1.447, allocations: 220.3 kB / 0.7507 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/1.447, allocations: 0.7356 MB / 0.7515 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/1.447, allocations: 3.844 kB / 0.7515 GB, free: 22.44 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)