Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 0.6836 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 181.3 kB / 316 MB, free: 8.863 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008557/0.0008559, allocations: 83 kB / 0.671 GB, free: 51.45 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2441/0.245, allocations: 112.5 MB / 0.7808 GB, free: 9.844 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6308/0.8758, allocations: 106.3 MB / 0.8846 GB, free: 89.07 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/1.048, allocations: 132.4 MB / 1.014 GB, free: 13.26 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.049, allocations: 80.67 kB / 1.014 GB, free: 13.18 MB / 0.6589 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.009389/1.058, allocations: 3.299 MB / 1.017 GB, free: 9.914 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.058, allocations: 12.59 kB / 1.017 GB, free: 9.902 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/1.058, allocations: 13.12 kB / 1.017 GB, free: 9.891 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/1.059, allocations: 213.8 kB / 1.017 GB, free: 9.641 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/1.059, allocations: 4 kB / 1.017 GB, free: 9.637 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/1.059, allocations: 0.75 kB / 1.017 GB, free: 9.637 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001506/1.059, allocations: 80.83 kB / 1.018 GB, free: 9.559 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/1.059, allocations: 124.1 kB / 1.018 GB, free: 9.426 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/1.059, allocations: 0 / 1.018 GB, free: 9.426 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/1.059, allocations: 0.7188 kB / 1.018 GB, free: 9.426 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/1.059, allocations: 3.906 kB / 1.018 GB, free: 9.422 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/1.059, allocations: 381.5 kB / 1.018 GB, free: 9.012 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/1.06, allocations: 111.6 kB / 1.018 GB, free: 8.887 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/1.06, allocations: 89.78 kB / 1.018 GB, free: 8.793 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/1.06, allocations: 2.844 kB / 1.018 GB, free: 8.793 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/1.06, allocations: 167.7 kB / 1.018 GB, free: 8.605 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/1.06, allocations: 0 / 1.018 GB, free: 8.605 MB / 0.6589 GB Notification: Performance of matching and sorting (n=10): time 0.0003891/1.06, allocations: 193.4 kB / 1.019 GB, free: 8.41 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/1.06, allocations: 108.3 kB / 1.019 GB, free: 8.281 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/1.061, allocations: 175.2 kB / 1.019 GB, free: 8.105 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/1.061, allocations: 26.45 kB / 1.019 GB, free: 8.074 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/1.061, allocations: 104.1 kB / 1.019 GB, free: 7.969 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/1.061, allocations: 33.83 kB / 1.019 GB, free: 7.938 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/1.061, allocations: 0 / 1.019 GB, free: 7.938 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.061, allocations: 326.8 kB / 1.019 GB, free: 7.609 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.179e-05/1.061, allocations: 67.97 kB / 1.019 GB, free: 7.543 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.116e-05/1.061, allocations: 84.73 kB / 1.019 GB, free: 7.457 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/1.061, allocations: 67.95 kB / 1.02 GB, free: 7.391 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.061, allocations: 0 / 1.02 GB, free: 7.391 MB / 0.6589 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002766/1.061, allocations: 205.4 kB / 1.02 GB, free: 7.184 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.061, allocations: 6.656 kB / 1.02 GB, free: 7.18 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.061, allocations: 0 / 1.02 GB, free: 7.18 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/1.062, allocations: 0 / 1.02 GB, free: 7.18 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/1.062, allocations: 8 kB / 1.02 GB, free: 7.172 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.062, allocations: 0 / 1.02 GB, free: 7.172 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/1.062, allocations: 11.56 kB / 1.02 GB, free: 7.164 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/1.062, allocations: 11.98 kB / 1.02 GB, free: 7.152 MB / 0.6589 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.0001035/1.062, allocations: 140.2 kB / 1.02 GB, free: 7.004 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/1.062, allocations: 19.84 kB / 1.02 GB, free: 6.984 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/1.062, allocations: 69.23 kB / 1.02 GB, free: 6.914 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.062, allocations: 0 / 1.02 GB, free: 6.914 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.062, allocations: 0 / 1.02 GB, free: 6.914 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.062, allocations: 2.391 kB / 1.02 GB, free: 6.914 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/1.062, allocations: 202.2 kB / 1.02 GB, free: 6.68 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.062, allocations: 0 / 1.02 GB, free: 6.68 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/1.062, allocations: 8 kB / 1.02 GB, free: 6.672 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.062, allocations: 4 kB / 1.02 GB, free: 6.668 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/1.062, allocations: 4 kB / 1.02 GB, free: 6.664 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.062, allocations: 4 kB / 1.02 GB, free: 6.66 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/1.062, allocations: 0 / 1.02 GB, free: 6.66 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003184/1.063, allocations: 264.5 kB / 1.02 GB, free: 6.375 MB / 0.6589 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004144/1.063, allocations: 0.6247 MB / 1.021 GB, free: 5.719 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/1.063, allocations: 117.6 kB / 1.021 GB, free: 5.586 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/1.063, allocations: 11.98 kB / 1.021 GB, free: 5.574 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/1.063, allocations: 6.812 kB / 1.021 GB, free: 5.57 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/1.063, allocations: 0 / 1.021 GB, free: 5.57 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/1.063, allocations: 12 kB / 1.021 GB, free: 5.559 MB / 0.6589 GB Notification: Performance of sort global known variables: time 0.0001102/1.064, allocations: 156.3 kB / 1.021 GB, free: 5.406 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.0008499/1.064, allocations: 43.88 kB / 1.021 GB, free: 5.363 MB / 0.6589 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.0002109/1.065, allocations: 132.9 kB / 1.021 GB, free: 5.223 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 0.0002211/1.065, allocations: 149.7 kB / 1.022 GB, free: 5.07 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/1.065, allocations: 0 / 1.022 GB, free: 5.07 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/1.065, allocations: 121.6 kB / 1.022 GB, free: 4.945 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/1.065, allocations: 16.16 kB / 1.022 GB, free: 4.926 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/1.066, allocations: 220.3 kB / 1.022 GB, free: 4.684 MB / 0.6589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/1.066, allocations: 0.7309 MB / 1.023 GB, free: 3.926 MB / 0.6589 GB Notification: Performance of SimCode: time 2.2e-07/1.066, allocations: 0 / 1.023 GB, free: 3.926 MB / 0.6589 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)