Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.332/4.332, allocations: 403.9 MB / 410.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3023/4.634, allocations: 94.99 MB / 0.4941 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/5.194, allocations: 92.67 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/6.207, allocations: 353.8 MB / 0.9301 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/6.207, allocations: 72.78 kB / 0.9301 GB, free: 77.78 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.05407/6.261, allocations: 11.29 MB / 0.9412 GB, free: 69.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/6.261, allocations: 8 kB / 0.9412 GB, free: 69.08 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/6.261, allocations: 3.938 kB / 0.9412 GB, free: 69.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/6.261, allocations: 159.1 kB / 0.9413 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/6.262, allocations: 37.59 kB / 0.9414 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/6.262, allocations: 0 / 0.9414 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/6.262, allocations: 11.94 kB / 0.9414 GB, free: 68.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/6.262, allocations: 41.56 kB / 0.9414 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/6.262, allocations: 4 kB / 0.9414 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/6.262, allocations: 3.938 kB / 0.9414 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/6.262, allocations: 0 / 0.9414 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/6.262, allocations: 318.4 kB / 0.9417 GB, free: 68.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.539e-05/6.262, allocations: 16.23 kB / 0.9417 GB, free: 68.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/6.262, allocations: 8.922 kB / 0.9417 GB, free: 68.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/6.263, allocations: 89.05 kB / 0.9418 GB, free: 68.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/6.263, allocations: 30.56 kB / 0.9419 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/6.263, allocations: 0 / 0.9419 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000214/6.263, allocations: 33.69 kB / 0.9419 GB, free: 68.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/6.263, allocations: 55.41 kB / 0.9419 GB, free: 68.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/6.263, allocations: 96.84 kB / 0.942 GB, free: 68.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/6.263, allocations: 25.7 kB / 0.9421 GB, free: 68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/6.263, allocations: 88.16 kB / 0.9421 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/6.263, allocations: 3.906 kB / 0.9421 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/6.263, allocations: 0 / 0.9421 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/6.263, allocations: 318.8 kB / 0.9424 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/6.263, allocations: 0 / 0.9424 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/6.263, allocations: 13.72 kB / 0.9425 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.885e-05/6.263, allocations: 11.92 kB / 0.9425 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/6.263, allocations: 0 / 0.9425 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001549/6.263, allocations: 53.62 kB / 0.9425 GB, free: 67.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/6.263, allocations: 7.906 kB / 0.9425 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/6.263, allocations: 0 / 0.9425 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/6.264, allocations: 4 kB / 0.9425 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/6.264, allocations: 4 kB / 0.9425 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/6.264, allocations: 0 / 0.9425 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/6.264, allocations: 288 / 0.9425 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/6.264, allocations: 7.984 kB / 0.9425 GB, free: 67.48 MB / 0.6823 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 (3): * Single equations (assignments): 3 * 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.376e-05/6.264, allocations: 112.5 kB / 0.9427 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/6.264, allocations: 3.906 kB / 0.9427 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/6.264, allocations: 117 kB / 0.9428 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/6.264, allocations: 180.1 kB / 0.9429 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.212e-05/6.264, allocations: 188.2 kB / 0.9431 GB, free: 66.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/6.264, allocations: 180.3 kB / 0.9433 GB, free: 66.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/6.264, allocations: 381.8 kB / 0.9437 GB, free: 66.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/6.264, allocations: 116.8 kB / 0.9438 GB, free: 66.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/6.264, allocations: 104.9 kB / 0.9439 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-05/6.264, allocations: 182.6 kB / 0.944 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/6.264, allocations: 180.2 kB / 0.9442 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.453e-05/6.265, allocations: 188.2 kB / 0.9444 GB, free: 65.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.66e-05/6.265, allocations: 176.3 kB / 0.9446 GB, free: 65.31 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001045/6.265, allocations: 303.5 kB / 0.9449 GB, free: 64.99 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001841/6.265, allocations: 0.6792 MB / 0.9455 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/6.265, allocations: 182.1 kB / 0.9457 GB, free: 64.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/6.265, allocations: 184.2 kB / 0.9459 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/6.265, allocations: 104.9 kB / 0.946 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/6.265, allocations: 184.1 kB / 0.9461 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/6.265, allocations: 105 kB / 0.9462 GB, free: 63.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.761e-05/6.265, allocations: 83.27 kB / 0.9463 GB, free: 63.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001355/6.267, allocations: 23.88 kB / 0.9463 GB, free: 63.39 MB / 0.6823 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 (0): * Single equations (assignments): 0 * 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.0003565/6.267, allocations: 214.5 kB / 0.9465 GB, free: 63.17 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001135/6.267, allocations: 4 kB / 0.9466 GB, free: 63.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/6.267, allocations: 0 / 0.9466 GB, free: 63.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/6.267, allocations: 0 / 0.9466 GB, free: 63.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/6.268, allocations: 0.5328 MB / 0.9471 GB, free: 62.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/6.268, allocations: 123.3 kB / 0.9472 GB, free: 62.49 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/6.268, allocations: 0.688 MB / 0.9479 GB, free: 61.78 MB / 0.6823 GB Notification: Performance of SimCode: time 8.02e-07/6.269, allocations: 0 / 0.9479 GB, free: 61.78 MB / 0.6823 GB