Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.394/2.394, allocations: 284.8 MB / 292.1 MB, free: 9.828 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.001663/0.001663, allocations: 195.7 kB / 360.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.1 MB / 0.6187 GB, free: 3.223 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 104.5 kB / 0.7317 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5095/0.5108, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.7031, allocations: 115.2 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6307/1.334, allocations: 138.5 MB / 1.098 GB, free: 36.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.334, allocations: 81.44 kB / 1.098 GB, free: 36.77 MB / 0.7136 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.01292/1.347, allocations: 3.291 MB / 1.101 GB, free: 36.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/1.347, allocations: 8.125 kB / 1.101 GB, free: 36.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/1.347, allocations: 15.66 kB / 1.101 GB, free: 36.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/1.348, allocations: 213.3 kB / 1.102 GB, free: 35.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/1.348, allocations: 7.875 kB / 1.102 GB, free: 35.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/1.348, allocations: 3.906 kB / 1.102 GB, free: 35.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001921/1.348, allocations: 77.83 kB / 1.102 GB, free: 35.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/1.348, allocations: 126.4 kB / 1.102 GB, free: 35.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.348, allocations: 0 / 1.102 GB, free: 35.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/1.348, allocations: 3.875 kB / 1.102 GB, free: 35.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.348, allocations: 0 / 1.102 GB, free: 35.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/1.349, allocations: 379.2 kB / 1.102 GB, free: 35.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/1.349, allocations: 109.8 kB / 1.102 GB, free: 35.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/1.349, allocations: 87.92 kB / 1.102 GB, free: 35.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/1.349, allocations: 0.75 kB / 1.102 GB, free: 35.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/1.349, allocations: 169 kB / 1.102 GB, free: 35.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/1.349, allocations: 0 / 1.102 GB, free: 35.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004834/1.35, allocations: 195 kB / 1.103 GB, free: 35.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.35, allocations: 110.1 kB / 1.103 GB, free: 35.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/1.35, allocations: 181 kB / 1.103 GB, free: 35.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/1.35, allocations: 32.95 kB / 1.103 GB, free: 35.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/1.35, allocations: 88.52 kB / 1.103 GB, free: 35.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/1.35, allocations: 29.25 kB / 1.103 GB, free: 35.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/1.35, allocations: 3.938 kB / 1.103 GB, free: 35.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/1.35, allocations: 324.8 kB / 1.103 GB, free: 34.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.35, allocations: 68.56 kB / 1.103 GB, free: 34.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/1.351, allocations: 81.33 kB / 1.104 GB, free: 34.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/1.351, allocations: 77.78 kB / 1.104 GB, free: 34.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.351, allocations: 0 / 1.104 GB, free: 34.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004165/1.351, allocations: 199.1 kB / 1.104 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.351, allocations: 6.5 kB / 1.104 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.351, allocations: 3.188 kB / 1.104 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.351, allocations: 0 / 1.104 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.351, allocations: 10.31 kB / 1.104 GB, free: 34.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.351, allocations: 64 / 1.104 GB, free: 34.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/1.352, allocations: 11.12 kB / 1.104 GB, free: 34.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/1.352, allocations: 10.25 kB / 1.104 GB, free: 34.62 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 9.784e-05/1.352, allocations: 146.7 kB / 1.104 GB, free: 34.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/1.352, allocations: 14.22 kB / 1.104 GB, free: 34.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/1.352, allocations: 63.31 kB / 1.104 GB, free: 34.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.352, allocations: 3.219 kB / 1.104 GB, free: 34.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.352, allocations: 3.906 kB / 1.104 GB, free: 34.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.352, allocations: 0 / 1.104 GB, free: 34.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/1.352, allocations: 199.5 kB / 1.104 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.352, allocations: 4 kB / 1.104 GB, free: 34.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/1.352, allocations: 10.17 kB / 1.104 GB, free: 34.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.352, allocations: 4.031 kB / 1.104 GB, free: 34.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/1.352, allocations: 10.34 kB / 1.104 GB, free: 34.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.352, allocations: 0 / 1.104 GB, free: 34.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.352, allocations: 0 / 1.104 GB, free: 34.25 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004572/1.353, allocations: 259.7 kB / 1.105 GB, free: 34.15 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005639/1.353, allocations: 0.6251 MB / 1.105 GB, free: 33.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/1.354, allocations: 124.4 kB / 1.105 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/1.354, allocations: 3.219 kB / 1.105 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/1.354, allocations: 7.188 kB / 1.105 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/1.354, allocations: 9.469 kB / 1.105 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/1.354, allocations: 9 kB / 1.105 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001352/1.354, allocations: 144.5 kB / 1.105 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001146/1.355, allocations: 42.53 kB / 1.105 GB, free: 33.48 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.000223/1.355, allocations: 138.8 kB / 1.106 GB, free: 33.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002733/1.356, allocations: 150 kB / 1.106 GB, free: 33.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.356, allocations: 4.062 kB / 1.106 GB, free: 33.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/1.356, allocations: 123.6 kB / 1.106 GB, free: 33.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/1.356, allocations: 6.438 kB / 1.106 GB, free: 33.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/1.357, allocations: 224.9 kB / 1.106 GB, free: 33.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/1.357, allocations: 0.7317 MB / 1.107 GB, free: 48.51 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/1.357, allocations: 4 kB / 1.107 GB, free: 48.51 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)