Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 177.3 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 10.41 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007704/0.0007704, allocations: 95.31 kB / 0.7325 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1739/0.1747, allocations: 121.4 MB / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.5926, allocations: 115.3 MB / 0.9638 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.7226, allocations: 138.7 MB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.7228, allocations: 80.7 kB / 1.099 GB, free: 1.355 MB / 0.698 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.008434/0.7312, allocations: 3.291 MB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.7313, allocations: 17 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.7313, allocations: 16.41 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.7316, allocations: 219.6 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.7316, allocations: 4 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.7316, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001266/0.7318, allocations: 77.36 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.7319, allocations: 129.5 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.7319, allocations: 0.8906 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.732, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.732, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.7324, allocations: 372.1 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.7325, allocations: 117.6 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.7326, allocations: 89.78 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.7326, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.7328, allocations: 169.3 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.185e-06/0.7328, allocations: 7.984 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003289/0.7331, allocations: 201.3 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.7332, allocations: 106.8 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.7333, allocations: 174.4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.7333, allocations: 29.7 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.7334, allocations: 96.12 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.7334, allocations: 31.58 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.7334, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.7335, allocations: 326.9 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.7336, allocations: 67.97 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.7337, allocations: 81.67 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.7338, allocations: 71.89 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7338, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002569/0.7341, allocations: 195.6 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.7341, allocations: 8 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7341, allocations: 6.156 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.7341, allocations: 3.938 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.7342, allocations: 11.91 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.7342, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.7343, allocations: 4 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.7343, allocations: 8 kB / 1.105 GB, free: 11.3 MB / 0.7136 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 8.104e-05/0.7344, allocations: 138.7 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.7344, allocations: 15.81 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.7346, allocations: 79.06 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7346, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.7346, allocations: 3.938 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7346, allocations: 0 / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.7347, allocations: 194.1 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7347, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.7348, allocations: 11.91 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7348, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.7348, allocations: 4 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7348, allocations: 8 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7348, allocations: 2.125 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002935/0.7351, allocations: 255.4 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003722/0.7355, allocations: 0.6346 MB / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.7357, allocations: 117.6 kB / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.7357, allocations: 8 kB / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.7358, allocations: 7.984 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.7358, allocations: 0 / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.7358, allocations: 11.91 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.274e-05/0.7359, allocations: 152.1 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007506/0.7367, allocations: 43.94 kB / 1.107 GB, free: 9.512 MB / 0.7136 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.0001557/0.7369, allocations: 131 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.7371, allocations: 153.6 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.7371, allocations: 0 / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.7372, allocations: 117.7 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.7373, allocations: 8.188 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.7377, allocations: 229.1 kB / 1.107 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.7379, allocations: 0.7317 MB / 1.108 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7379, allocations: 0 / 1.108 GB, free: 8.078 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)