Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.361/4.361, allocations: 403.9 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2381/4.599, allocations: 95.02 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/5.126, allocations: 92.67 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.43/17.55, allocations: 4.643 GB / 5.228 GB, free: 132.8 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/17.55, allocations: 85.95 kB / 5.228 GB, free: 132.7 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1324/17.69, allocations: 36.14 MB / 5.263 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/17.69, allocations: 8 kB / 5.263 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/17.69, allocations: 11.98 kB / 5.263 GB, free: 103.2 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/17.69, allocations: 163 kB / 5.263 GB, free: 103 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/17.69, allocations: 4 kB / 5.263 GB, free: 103 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/17.69, allocations: 4 kB / 5.263 GB, free: 103 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.662e-05/17.69, allocations: 15.48 kB / 5.263 GB, free: 103 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/17.69, allocations: 52.88 kB / 5.263 GB, free: 102.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/17.69, allocations: 0 / 5.263 GB, free: 102.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/17.69, allocations: 0 / 5.263 GB, free: 102.9 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/17.69, allocations: 3.906 kB / 5.263 GB, free: 102.9 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/17.69, allocations: 141.4 kB / 5.264 GB, free: 102.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/17.69, allocations: 40.52 kB / 5.264 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/17.69, allocations: 16.3 kB / 5.264 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/17.69, allocations: 0 / 5.264 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/17.69, allocations: 38.56 kB / 5.264 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/17.69, allocations: 0 / 5.264 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.0008667/17.69, allocations: 343.8 kB / 5.264 GB, free: 102.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/17.69, allocations: 59.41 kB / 5.264 GB, free: 102.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/17.69, allocations: 88.69 kB / 5.264 GB, free: 102.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/17.69, allocations: 25.7 kB / 5.264 GB, free: 102.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/17.69, allocations: 80.58 kB / 5.264 GB, free: 102 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/17.69, allocations: 42.92 kB / 5.264 GB, free: 102 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/17.69, allocations: 0 / 5.264 GB, free: 102 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/17.69, allocations: 314.3 kB / 5.265 GB, free: 101.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/17.69, allocations: 11.94 kB / 5.265 GB, free: 101.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/17.69, allocations: 40.58 kB / 5.265 GB, free: 101.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/17.69, allocations: 18.94 kB / 5.265 GB, free: 101.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/17.69, allocations: 0 / 5.265 GB, free: 101.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001797/17.69, allocations: 85.12 kB / 5.265 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/17.69, allocations: 4 kB / 5.265 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/17.69, allocations: 4 kB / 5.265 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/17.69, allocations: 0 / 5.265 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/17.69, allocations: 23.62 kB / 5.265 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/17.69, allocations: 4 kB / 5.265 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/17.69, allocations: 7.984 kB / 5.265 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/17.69, allocations: 4 kB / 5.265 GB, free: 101.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.87e-05/17.69, allocations: 110.5 kB / 5.265 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/17.69, allocations: 11.84 kB / 5.265 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/17.69, allocations: 10.53 kB / 5.265 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/17.69, allocations: 0 / 5.265 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/17.69, allocations: 0 / 5.265 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/17.69, allocations: 7.938 kB / 5.265 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/17.69, allocations: 145.6 kB / 5.265 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/17.69, allocations: 8 kB / 5.265 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/17.69, allocations: 19.94 kB / 5.265 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/17.69, allocations: 0 / 5.265 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/17.69, allocations: 0 / 5.265 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/17.69, allocations: 7.984 kB / 5.265 GB, free: 101.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/17.69, allocations: 0 / 5.265 GB, free: 101.1 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002331/17.69, allocations: 115.3 kB / 5.265 GB, free: 101 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004135/17.69, allocations: 0.5308 MB / 5.266 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/17.69, allocations: 89 kB / 5.266 GB, free: 100.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/17.69, allocations: 0 / 5.266 GB, free: 100.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/17.69, allocations: 4 kB / 5.266 GB, free: 100.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/17.69, allocations: 7.672 kB / 5.266 GB, free: 100.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/17.69, allocations: 4 kB / 5.266 GB, free: 100.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.285e-05/17.69, allocations: 75.28 kB / 5.266 GB, free: 100.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00143/17.69, allocations: 96.05 kB / 5.266 GB, free: 100.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009689/17.69, allocations: 0.6753 MB / 5.267 GB, free: 99.63 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001711/17.69, allocations: 54.31 kB / 5.267 GB, free: 99.59 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/17.69, allocations: 4 kB / 5.267 GB, free: 99.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/17.69, allocations: 23.42 kB / 5.267 GB, free: 99.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/17.69, allocations: 4 kB / 5.267 GB, free: 99.56 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/17.69, allocations: 269.3 kB / 5.267 GB, free: 99.28 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/17.69, allocations: 0.7036 MB / 5.268 GB, free: 98.55 MB / 0.7605 GB Notification: Performance of SimCode: time 1.062e-06/17.69, allocations: 0 / 5.268 GB, free: 98.55 MB / 0.7605 GB