Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.899/4.899, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2561/5.155, allocations: 95.01 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/5.695, allocations: 92.68 MB / 0.5846 GB, free: 3.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3255/6.02, allocations: 119 MB / 0.7008 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004613/6.021, allocations: 75.94 kB / 0.7008 GB, free: 14.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.016/6.037, allocations: 2.011 MB / 0.7028 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/6.037, allocations: 15.94 kB / 0.7028 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/6.037, allocations: 7.938 kB / 0.7028 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/6.037, allocations: 166.9 kB / 0.703 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/6.037, allocations: 4 kB / 0.703 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/6.037, allocations: 8 kB / 0.703 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/6.037, allocations: 11.98 kB / 0.703 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/6.037, allocations: 33.7 kB / 0.703 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/6.037, allocations: 0 / 0.703 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/6.037, allocations: 4 kB / 0.703 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/6.038, allocations: 3.984 kB / 0.703 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/6.038, allocations: 138.1 kB / 0.7032 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/6.038, allocations: 33.77 kB / 0.7032 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/6.038, allocations: 20.92 kB / 0.7032 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/6.038, allocations: 81.11 kB / 0.7033 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/6.038, allocations: 34.56 kB / 0.7033 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 2.766e-06/6.038, allocations: 0 / 0.7033 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.002495/6.041, allocations: 447.2 kB / 0.7038 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/6.041, allocations: 51.41 kB / 0.7038 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.666e-05/6.041, allocations: 85 kB / 0.7039 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/6.041, allocations: 29.7 kB / 0.7039 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/6.041, allocations: 80.14 kB / 0.704 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/6.041, allocations: 27.55 kB / 0.704 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/6.041, allocations: 0 / 0.704 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001952/6.041, allocations: 314.8 kB / 0.7043 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/6.042, allocations: 12.12 kB / 0.7043 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/6.042, allocations: 12 kB / 0.7044 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/6.042, allocations: 19.97 kB / 0.7044 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/6.042, allocations: 0 / 0.7044 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003186/6.042, allocations: 61.59 kB / 0.7044 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/6.042, allocations: 4 kB / 0.7044 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/6.042, allocations: 0 / 0.7044 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/6.042, allocations: 4 kB / 0.7044 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/6.042, allocations: 11.94 kB / 0.7044 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/6.043, allocations: 3.984 kB / 0.7045 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/6.043, allocations: 8 kB / 0.7045 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/6.043, allocations: 4 kB / 0.7045 GB, free: 10.65 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001254/6.043, allocations: 101 kB / 0.7046 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/6.043, allocations: 11.84 kB / 0.7046 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/6.043, allocations: 73.88 kB / 0.7046 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/6.043, allocations: 4 kB / 0.7046 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/6.043, allocations: 0 / 0.7046 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/6.043, allocations: 7.984 kB / 0.7047 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/6.044, allocations: 142.1 kB / 0.7048 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/6.044, allocations: 0 / 0.7048 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/6.044, allocations: 19.92 kB / 0.7048 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/6.044, allocations: 0 / 0.7048 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/6.044, allocations: 4 kB / 0.7048 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/6.044, allocations: 0 / 0.7048 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/6.044, allocations: 0 / 0.7048 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003199/6.044, allocations: 117 kB / 0.7049 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004775/6.045, allocations: 0.4976 MB / 0.7054 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/6.045, allocations: 77.11 kB / 0.7055 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/6.045, allocations: 0 / 0.7055 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.951e-05/6.045, allocations: 8.25 kB / 0.7055 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/6.045, allocations: 7.891 kB / 0.7055 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/6.045, allocations: 8 kB / 0.7055 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.78e-05/6.045, allocations: 79.41 kB / 0.7056 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0014/6.047, allocations: 35.94 kB / 0.7056 GB, free: 9.352 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0003481/6.047, allocations: 146.5 kB / 0.7058 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001645/6.047, allocations: 35.92 kB / 0.7058 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/6.047, allocations: 0 / 0.7058 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.329e-05/6.047, allocations: 20.08 kB / 0.7058 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/6.047, allocations: 4.094 kB / 0.7058 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/6.048, allocations: 96.05 kB / 0.7059 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/6.048, allocations: 0.6997 MB / 0.7066 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of SimCode: time 8.81e-07/6.048, allocations: 0 / 0.7066 GB, free: 8.301 MB / 0.5886 GB