Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTestImplementation",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.266/4.266, allocations: 403.9 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.273/4.539, allocations: 95.01 MB / 0.4941 GB, free: 7.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/5.103, allocations: 92.67 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/6.126, allocations: 327.4 MB / 0.9043 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/6.127, allocations: 73.45 kB / 0.9043 GB, free: 103.3 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.2421/6.369, allocations: 65.88 MB / 0.9687 GB, free: 48.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/6.369, allocations: 19.98 kB / 0.9687 GB, free: 48.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/6.37, allocations: 79.55 kB / 0.9688 GB, free: 48.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/6.371, allocations: 286.5 kB / 0.969 GB, free: 48.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/6.371, allocations: 8 kB / 0.9691 GB, free: 48.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/6.371, allocations: 16 kB / 0.9691 GB, free: 48.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006058/6.371, allocations: 169 kB / 0.9692 GB, free: 48.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/6.372, allocations: 288.4 kB / 0.9695 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/6.372, allocations: 0 / 0.9695 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/6.372, allocations: 4 kB / 0.9695 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/6.372, allocations: 4 kB / 0.9695 GB, free: 47.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/6.375, allocations: 1.636 MB / 0.9711 GB, free: 46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/6.375, allocations: 138.1 kB / 0.9712 GB, free: 45.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/6.375, allocations: 65.23 kB / 0.9713 GB, free: 45.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/6.376, allocations: 4.188 kB / 0.9713 GB, free: 45.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/6.376, allocations: 42.75 kB / 0.9713 GB, free: 45.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 3.607e-06/6.376, allocations: 0 / 0.9713 GB, free: 45.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.004454/6.38, allocations: 0.8431 MB / 0.9722 GB, free: 44.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/6.38, allocations: 55.41 kB / 0.9722 GB, free: 44.78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/6.38, allocations: 203 kB / 0.9724 GB, free: 44.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/6.381, allocations: 25.7 kB / 0.9724 GB, free: 44.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/6.381, allocations: 167.8 kB / 0.9726 GB, free: 44.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.034e-05/6.381, allocations: 90.66 kB / 0.9727 GB, free: 44.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/6.381, allocations: 0 / 0.9727 GB, free: 44.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/6.381, allocations: 335.3 kB / 0.973 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/6.381, allocations: 83.98 kB / 0.9731 GB, free: 43.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/6.382, allocations: 161 kB / 0.9732 GB, free: 43.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/6.382, allocations: 103.9 kB / 0.9733 GB, free: 43.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/6.382, allocations: 0 / 0.9733 GB, free: 43.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001791/6.384, allocations: 389.8 kB / 0.9737 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/6.384, allocations: 4 kB / 0.9737 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/6.384, allocations: 7.938 kB / 0.9737 GB, free: 43.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009713/6.385, allocations: 125 kB / 0.9738 GB, free: 43.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/6.386, allocations: 67.81 kB / 0.9739 GB, free: 42.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/6.39, allocations: 1.884 MB / 0.9757 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/6.391, allocations: 27.89 kB / 0.9758 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/6.391, allocations: 11.98 kB / 0.9758 GB, free: 40.94 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.000245/6.392, allocations: 113.5 kB / 0.9759 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/6.392, allocations: 31.72 kB / 0.9759 GB, free: 40.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/6.392, allocations: 26.64 kB / 0.976 GB, free: 40.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/6.392, allocations: 4 kB / 0.976 GB, free: 40.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/6.392, allocations: 0 / 0.976 GB, free: 40.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/6.393, allocations: 0.5937 MB / 0.9765 GB, free: 40.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/6.396, allocations: 0.729 MB / 0.9772 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/6.396, allocations: 0 / 0.9772 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/6.396, allocations: 35.92 kB / 0.9773 GB, free: 39.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/6.398, allocations: 129 kB / 0.9774 GB, free: 39.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/6.398, allocations: 11.92 kB / 0.9774 GB, free: 39.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006529/6.404, allocations: 1.786 MB / 0.9792 GB, free: 37.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/6.404, allocations: 4 kB / 0.9792 GB, free: 37.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003032/6.407, allocations: 0.549 MB / 0.9797 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003017/6.41, allocations: 1.044 MB / 0.9807 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/6.411, allocations: 100.8 kB / 0.9808 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/6.411, allocations: 3.906 kB / 0.9808 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/6.412, allocations: 15.98 kB / 0.9808 GB, free: 35.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/6.412, allocations: 11.97 kB / 0.9808 GB, free: 35.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/6.412, allocations: 15.98 kB / 0.9809 GB, free: 35.33 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003255/6.412, allocations: 161.7 kB / 0.981 GB, free: 35.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001989/6.414, allocations: 108 kB / 0.9811 GB, free: 35.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003322/6.415, allocations: 162.6 kB / 0.9813 GB, free: 34.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001575/6.416, allocations: 373.8 kB / 0.9816 GB, free: 34.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/6.416, allocations: 0 / 0.9816 GB, free: 34.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000982/6.417, allocations: 242.5 kB / 0.9819 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/6.419, allocations: 112.4 kB / 0.982 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/6.42, allocations: 455.7 kB / 0.9824 GB, free: 33.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/6.421, allocations: 0.8 MB / 0.9832 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/6.421, allocations: 0 / 0.9832 GB, free: 32.88 MB / 0.6823 GB