Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [: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(ModelicaTest): time 1.912/1.912, allocations: 209.3 MB / 216.3 MB, free: 5.422 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1504/2.063, allocations: 51.04 MB / 267.3 MB, free: 2.293 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/2.316, allocations: 48.7 MB / 316 MB, free: 4.961 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/3.331, allocations: 340.7 MB / 0.6413 GB, free: 83.06 MB / 434.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/3.331, allocations: 88.39 kB / 0.6414 GB, free: 83.01 MB / 434.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.7577/4.089, allocations: 129.7 MB / 0.768 GB, free: 123.2 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/4.089, allocations: 7.156 kB / 0.7681 GB, free: 123.2 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/4.09, allocations: 91.91 kB / 0.7681 GB, free: 123.2 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/4.093, allocations: 0.558 MB / 0.7687 GB, free: 122.9 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/4.093, allocations: 83.7 kB / 0.7688 GB, free: 122.9 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/4.093, allocations: 26.94 kB / 0.7688 GB, free: 122.9 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002162/4.095, allocations: 0.5421 MB / 0.7693 GB, free: 122.8 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/4.098, allocations: 0.7447 MB / 0.77 GB, free: 122.6 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/4.098, allocations: 3.5 kB / 0.7701 GB, free: 122.6 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/4.098, allocations: 3.75 kB / 0.7701 GB, free: 122.6 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/4.098, allocations: 39.5 kB / 0.7701 GB, free: 122.6 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/4.108, allocations: 4.189 MB / 0.7742 GB, free: 119.2 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007612/4.109, allocations: 204.3 kB / 0.7744 GB, free: 119.2 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/4.109, allocations: 141.9 kB / 0.7745 GB, free: 119.1 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003648/4.113, allocations: 1.48 MB / 0.776 GB, free: 117.8 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/4.113, allocations: 42.27 kB / 0.776 GB, free: 117.8 MB / 434.8 MB Notification: Performance of pre-optimization done (n=14): time 4.298e-06/4.113, allocations: 3.25 kB / 0.776 GB, free: 117.8 MB / 434.8 MB Notification: Performance of matching and sorting (n=20): time 0.004143/4.117, allocations: 0.7496 MB / 0.7767 GB, free: 117.3 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/4.118, allocations: 139.1 kB / 0.7769 GB, free: 117.1 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/4.119, allocations: 0.5265 MB / 0.7774 GB, free: 116.9 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/4.119, allocations: 25.7 kB / 0.7774 GB, free: 116.8 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/4.12, allocations: 396.5 kB / 0.7778 GB, free: 116.5 MB / 434.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/4.12, allocations: 78.22 kB / 0.7779 GB, free: 116.5 MB / 434.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/4.12, allocations: 0 / 0.7779 GB, free: 116.5 MB / 434.8 MB Notification: Performance of setup shared object (initialization): time 0.0001641/4.12, allocations: 368 kB / 0.7782 GB, free: 116.1 MB / 434.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/4.121, allocations: 153.8 kB / 0.7784 GB, free: 116.1 MB / 434.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/4.121, allocations: 0.5272 MB / 0.7789 GB, free: 115.5 MB / 434.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/4.123, allocations: 277.5 kB / 0.7791 GB, free: 115.4 MB / 434.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/4.123, allocations: 3.688 kB / 0.7791 GB, free: 115.4 MB / 434.8 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002573/4.125, allocations: 0.6378 MB / 0.7798 GB, free: 115.2 MB / 434.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/4.125, allocations: 7.406 kB / 0.7798 GB, free: 115.2 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/4.125, allocations: 15.31 kB / 0.7798 GB, free: 115.2 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.619e-05/4.125, allocations: 20.72 kB / 0.7798 GB, free: 115.2 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/4.128, allocations: 206 kB / 0.78 GB, free: 115.2 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.02e-05/4.128, allocations: 28.89 kB / 0.78 GB, free: 115.1 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/4.13, allocations: 45.14 kB / 0.7801 GB, free: 115.1 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/4.13, allocations: 36.91 kB / 0.7801 GB, free: 115.1 MB / 434.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0003293/4.13, allocations: 145.7 kB / 0.7802 GB, free: 115 MB / 434.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/4.131, allocations: 60.5 kB / 0.7803 GB, free: 115 MB / 434.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/4.132, allocations: 265.7 kB / 0.7806 GB, free: 114.8 MB / 434.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/4.132, allocations: 3.688 kB / 0.7806 GB, free: 114.8 MB / 434.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/4.132, allocations: 0 / 0.7806 GB, free: 114.8 MB / 434.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/4.132, allocations: 3.156 kB / 0.7806 GB, free: 114.8 MB / 434.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/4.135, allocations: 0.7836 MB / 0.7813 GB, free: 114.4 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/4.135, allocations: 2.906 kB / 0.7813 GB, free: 114.4 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/4.136, allocations: 40.2 kB / 0.7814 GB, free: 114.4 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/4.136, allocations: 25.64 kB / 0.7814 GB, free: 114.4 MB / 434.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/4.136, allocations: 3.938 kB / 0.7814 GB, free: 114.3 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006619/4.137, allocations: 0.5685 MB / 0.782 GB, free: 113.8 MB / 434.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/4.137, allocations: 448 / 0.782 GB, free: 113.8 MB / 434.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001446/4.138, allocations: 0.5075 MB / 0.7824 GB, free: 113.4 MB / 434.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001837/4.14, allocations: 0.9835 MB / 0.7834 GB, free: 112.7 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/4.14, allocations: 171.8 kB / 0.7836 GB, free: 112.5 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/4.141, allocations: 3.938 kB / 0.7836 GB, free: 112.5 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009854/4.142, allocations: 14.38 kB / 0.7836 GB, free: 112.5 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/4.142, allocations: 21.84 kB / 0.7836 GB, free: 112.5 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/4.142, allocations: 15.19 kB / 0.7836 GB, free: 112.5 MB / 434.8 MB Notification: Performance of sort global known variables: time 0.001044/4.143, allocations: 391.7 kB / 0.784 GB, free: 112.3 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.003574/4.147, allocations: 223.8 kB / 0.7842 GB, free: 112.3 MB / 434.8 MB 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 (22): * Single equations (assignments): 21 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00117/4.148, allocations: 318.7 kB / 0.7845 GB, free: 112.1 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.001611/4.149, allocations: 365.9 kB / 0.7849 GB, free: 112 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/4.15, allocations: 4.406 kB / 0.7849 GB, free: 112 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/4.15, allocations: 85.47 kB / 0.785 GB, free: 112 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/4.153, allocations: 207.5 kB / 0.7851 GB, free: 111.9 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/4.157, allocations: 0.7715 MB / 0.7859 GB, free: 111.6 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/4.158, allocations: 0.9967 MB / 0.7869 GB, free: 110.9 MB / 434.8 MB Notification: Performance of SimCode: time 2.755e-06/4.158, allocations: 1.219 kB / 0.7869 GB, free: 110.9 MB / 434.8 MB