Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_5_0_1_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.059/4.059, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2468/4.306, allocations: 95 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/4.842, allocations: 92.69 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2645/5.106, allocations: 120.6 MB / 0.7024 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/5.107, allocations: 83.94 kB / 0.7024 GB, free: 13.03 MB / 0.5886 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.01837/5.125, allocations: 3.145 MB / 0.7055 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/5.125, allocations: 8 kB / 0.7055 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/5.125, allocations: 15.91 kB / 0.7055 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/5.126, allocations: 204.4 kB / 0.7057 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/5.126, allocations: 4 kB / 0.7057 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/5.126, allocations: 0 / 0.7057 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002745/5.126, allocations: 67.95 kB / 0.7058 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/5.126, allocations: 119.3 kB / 0.7059 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/5.126, allocations: 3.906 kB / 0.7059 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/5.126, allocations: 0 / 0.7059 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/5.126, allocations: 0 / 0.7059 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/5.127, allocations: 378.3 kB / 0.7063 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/5.128, allocations: 105.1 kB / 0.7064 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/5.128, allocations: 81.75 kB / 0.7064 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/5.128, allocations: 7.984 kB / 0.7065 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/5.128, allocations: 166.6 kB / 0.7066 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.806e-06/5.128, allocations: 0 / 0.7066 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0006951/5.129, allocations: 185.4 kB / 0.7068 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/5.129, allocations: 110.8 kB / 0.7069 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/5.129, allocations: 178.8 kB / 0.7071 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/5.129, allocations: 25.7 kB / 0.7071 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/5.129, allocations: 96.06 kB / 0.7072 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/5.13, allocations: 19.72 kB / 0.7072 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/5.13, allocations: 4 kB / 0.7072 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002151/5.13, allocations: 330.7 kB / 0.7075 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/5.13, allocations: 59.97 kB / 0.7076 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/5.13, allocations: 89.48 kB / 0.7077 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/5.13, allocations: 63.97 kB / 0.7077 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/5.13, allocations: 4 kB / 0.7077 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005956/5.131, allocations: 193.4 kB / 0.7079 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/5.131, allocations: 4 kB / 0.7079 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/5.131, allocations: 4 kB / 0.7079 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/5.131, allocations: 0 / 0.7079 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/5.131, allocations: 8 kB / 0.7079 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/5.131, allocations: 3.984 kB / 0.7079 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/5.132, allocations: 11.97 kB / 0.7079 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/5.132, allocations: 4 kB / 0.7079 GB, free: 7.105 MB / 0.5886 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 (5): * Single equations (assignments): 4 * 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.0001644/5.132, allocations: 145.7 kB / 0.7081 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/5.132, allocations: 19.8 kB / 0.7081 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/5.132, allocations: 67.06 kB / 0.7082 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/5.132, allocations: 0 / 0.7082 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/5.132, allocations: 0 / 0.7082 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/5.132, allocations: 11.92 kB / 0.7082 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/5.132, allocations: 202.2 kB / 0.7084 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/5.132, allocations: 0 / 0.7084 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.923e-05/5.133, allocations: 4 kB / 0.7084 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/5.133, allocations: 4 kB / 0.7084 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/5.133, allocations: 4 kB / 0.7084 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/5.133, allocations: 0 / 0.7084 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/5.133, allocations: 0 / 0.7084 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006668/5.133, allocations: 259.3 kB / 0.7086 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007927/5.134, allocations: 0.613 MB / 0.7092 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/5.134, allocations: 117.7 kB / 0.7093 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/5.135, allocations: 8 kB / 0.7094 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/5.135, allocations: 4 kB / 0.7094 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/5.135, allocations: 8 kB / 0.7094 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/5.135, allocations: 11.98 kB / 0.7094 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0002151/5.135, allocations: 140.1 kB / 0.7095 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00151/5.137, allocations: 35.94 kB / 0.7095 GB, free: 5.344 MB / 0.5886 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 (5): * Single equations (assignments): 4 * 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.0003435/5.137, allocations: 143 kB / 0.7097 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000377/5.137, allocations: 149.6 kB / 0.7098 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/5.137, allocations: 0 / 0.7098 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/5.138, allocations: 117.7 kB / 0.7099 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/5.138, allocations: 8.094 kB / 0.7099 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/5.139, allocations: 216.2 kB / 0.7101 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/5.139, allocations: 0.7349 MB / 0.7109 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of SimCode: time 1.123e-06/5.139, allocations: 0 / 0.7109 GB, free: 3.906 MB / 0.5886 GB