Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.336/4.336, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2788/4.615, allocations: 95 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5785/5.193, allocations: 92.69 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.57/17.76, allocations: 4.643 GB / 5.227 GB, free: 133.7 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/17.76, allocations: 79.88 kB / 5.228 GB, free: 133.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.1665/17.93, allocations: 44.78 MB / 5.271 GB, free: 96.62 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/17.93, allocations: 16 kB / 5.271 GB, free: 96.6 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/17.93, allocations: 19.97 kB / 5.271 GB, free: 96.58 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/17.93, allocations: 163 kB / 5.271 GB, free: 96.38 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/17.93, allocations: 25.7 kB / 5.271 GB, free: 96.35 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/17.93, allocations: 4 kB / 5.271 GB, free: 96.35 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001123/17.93, allocations: 19.98 kB / 5.272 GB, free: 96.33 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/17.93, allocations: 45.62 kB / 5.272 GB, free: 96.28 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/17.93, allocations: 4 kB / 5.272 GB, free: 96.27 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/17.93, allocations: 0 / 5.272 GB, free: 96.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/17.93, allocations: 4 kB / 5.272 GB, free: 96.27 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/17.93, allocations: 245.3 kB / 5.272 GB, free: 95.99 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/17.93, allocations: 14.58 kB / 5.272 GB, free: 95.97 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/17.93, allocations: 12.92 kB / 5.272 GB, free: 95.95 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/17.93, allocations: 3.938 kB / 5.272 GB, free: 95.95 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/17.93, allocations: 30.56 kB / 5.272 GB, free: 95.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/17.93, allocations: 0 / 5.272 GB, free: 95.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/17.93, allocations: 37.59 kB / 5.272 GB, free: 95.87 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/17.93, allocations: 55.38 kB / 5.272 GB, free: 95.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/17.93, allocations: 101 kB / 5.272 GB, free: 95.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/17.93, allocations: 25.7 kB / 5.272 GB, free: 95.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/17.93, allocations: 92.08 kB / 5.272 GB, free: 95.57 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/17.93, allocations: 7.906 kB / 5.272 GB, free: 95.56 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/17.93, allocations: 0 / 5.272 GB, free: 95.56 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.465e-05/17.93, allocations: 314.8 kB / 5.272 GB, free: 95.25 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/17.93, allocations: 3.984 kB / 5.272 GB, free: 95.24 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/17.93, allocations: 22.58 kB / 5.272 GB, free: 95.21 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/17.93, allocations: 12 kB / 5.272 GB, free: 95.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/17.93, allocations: 0 / 5.272 GB, free: 95.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/17.93, allocations: 45.62 kB / 5.273 GB, free: 95.15 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/17.93, allocations: 8 kB / 5.273 GB, free: 95.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/17.93, allocations: 0 / 5.273 GB, free: 95.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/17.93, allocations: 0 / 5.273 GB, free: 95.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.599e-05/17.93, allocations: 11.91 kB / 5.273 GB, free: 95.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/17.93, allocations: 0 / 5.273 GB, free: 95.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-05/17.93, allocations: 8.078 kB / 5.273 GB, free: 95.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/17.93, allocations: 4 kB / 5.273 GB, free: 95.12 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.49e-05/17.93, allocations: 112.9 kB / 5.273 GB, free: 95 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/17.93, allocations: 3.906 kB / 5.273 GB, free: 95 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/17.93, allocations: 7.156 kB / 5.273 GB, free: 94.99 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/17.93, allocations: 0 / 5.273 GB, free: 94.99 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/17.93, allocations: 0 / 5.273 GB, free: 94.99 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/17.93, allocations: 0 / 5.273 GB, free: 94.99 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/17.93, allocations: 327.3 kB / 5.273 GB, free: 94.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/17.93, allocations: 0 / 5.273 GB, free: 94.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/17.93, allocations: 0 / 5.273 GB, free: 94.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/17.93, allocations: 0 / 5.273 GB, free: 94.62 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/17.93, allocations: 3.984 kB / 5.273 GB, free: 94.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/17.93, allocations: 0 / 5.273 GB, free: 94.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/17.93, allocations: 7.938 kB / 5.273 GB, free: 94.61 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.045e-05/17.93, allocations: 64.95 kB / 5.273 GB, free: 94.53 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002105/17.93, allocations: 457.5 kB / 5.274 GB, free: 94.06 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/17.93, allocations: 81.02 kB / 5.274 GB, free: 93.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/17.93, allocations: 0 / 5.274 GB, free: 93.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/17.93, allocations: 4 kB / 5.274 GB, free: 93.96 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/17.93, allocations: 0 / 5.274 GB, free: 93.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/17.93, allocations: 64 / 5.274 GB, free: 93.96 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.83e-05/17.93, allocations: 87.27 kB / 5.274 GB, free: 93.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001577/17.94, allocations: 79.98 kB / 5.274 GB, free: 93.79 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0009839/17.94, allocations: 0.6761 MB / 5.274 GB, free: 93.12 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001234/17.94, allocations: 19.94 kB / 5.274 GB, free: 93.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/17.94, allocations: 0 / 5.274 GB, free: 93.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.868e-06/17.94, allocations: 4 kB / 5.274 GB, free: 93.09 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/17.94, allocations: 3.906 kB / 5.274 GB, free: 93.09 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/17.94, allocations: 53.02 kB / 5.274 GB, free: 93.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/17.94, allocations: 0.688 MB / 5.275 GB, free: 92.3 MB / 0.7605 GB Notification: Performance of SimCode: time 7.92e-07/17.94, allocations: 0 / 5.275 GB, free: 92.3 MB / 0.7605 GB