Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",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(Modelica): time 1.764/1.764, allocations: 171.2 MB / 178.1 MB, free: 8.316 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1942/1.958, allocations: 41.11 MB / 219.3 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/2.072, allocations: 38.77 MB / 258 MB, free: 4.34 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/3.397, allocations: 428.5 MB / 0.6704 GB, free: 96.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/3.397, allocations: 85.53 kB / 0.6705 GB, free: 96.73 MB / 346.7 MB 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.7622/4.16, allocations: 154.8 MB / 0.8216 GB, free: 72.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/4.16, allocations: 13.66 kB / 0.8217 GB, free: 72.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007591/4.161, allocations: 44.08 kB / 0.8217 GB, free: 72.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007385/4.161, allocations: 285.2 kB / 0.822 GB, free: 72.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/4.161, allocations: 7.812 kB / 0.822 GB, free: 72.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/4.161, allocations: 11.78 kB / 0.822 GB, free: 72.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007154/4.162, allocations: 182.6 kB / 0.8222 GB, free: 72.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/4.163, allocations: 269.8 kB / 0.8224 GB, free: 72.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/4.163, allocations: 0 / 0.8224 GB, free: 72.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/4.163, allocations: 0 / 0.8224 GB, free: 72.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/4.163, allocations: 11.03 kB / 0.8224 GB, free: 72.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/4.167, allocations: 1.572 MB / 0.824 GB, free: 70.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/4.167, allocations: 101.2 kB / 0.8241 GB, free: 70.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/4.168, allocations: 76.61 kB / 0.8241 GB, free: 70.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.209e-05/4.168, allocations: 7.875 kB / 0.8241 GB, free: 70.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/4.168, allocations: 33.5 kB / 0.8242 GB, free: 70.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 4.638e-06/4.168, allocations: 3.969 kB / 0.8242 GB, free: 70.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.01035/4.178, allocations: 0.9806 MB / 0.8251 GB, free: 70.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/4.178, allocations: 57.38 kB / 0.8252 GB, free: 70.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/4.179, allocations: 207.5 kB / 0.8254 GB, free: 70.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.876e-05/4.179, allocations: 28.88 kB / 0.8254 GB, free: 70.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/4.179, allocations: 164.8 kB / 0.8256 GB, free: 70.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/4.179, allocations: 93.97 kB / 0.8257 GB, free: 70.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/4.179, allocations: 0 / 0.8257 GB, free: 70.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/4.179, allocations: 335.8 kB / 0.826 GB, free: 69.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/4.179, allocations: 78.44 kB / 0.8261 GB, free: 69.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/4.18, allocations: 178.5 kB / 0.8262 GB, free: 69.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/4.18, allocations: 109.2 kB / 0.8263 GB, free: 69.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/4.18, allocations: 3.875 kB / 0.8263 GB, free: 69.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001475/4.182, allocations: 351.9 kB / 0.8267 GB, free: 69.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/4.182, allocations: 10.53 kB / 0.8267 GB, free: 69.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/4.182, allocations: 7.531 kB / 0.8267 GB, free: 69.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/4.182, allocations: 66.55 kB / 0.8268 GB, free: 69.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/4.183, allocations: 78.75 kB / 0.8268 GB, free: 69.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/4.185, allocations: 1.809 MB / 0.8286 GB, free: 67.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/4.186, allocations: 16.36 kB / 0.8286 GB, free: 67.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/4.186, allocations: 41.53 kB / 0.8287 GB, free: 67.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001744/4.186, allocations: 117.1 kB / 0.8288 GB, free: 67.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/4.186, allocations: 26.81 kB / 0.8288 GB, free: 67.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/4.188, allocations: 381.5 kB / 0.8292 GB, free: 67.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/4.188, allocations: 3.656 kB / 0.8292 GB, free: 67.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/4.188, allocations: 0 / 0.8292 GB, free: 67.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006701/4.189, allocations: 0.5466 MB / 0.8297 GB, free: 67.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/4.19, allocations: 0.6578 MB / 0.8303 GB, free: 66.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/4.19, allocations: 2.938 kB / 0.8303 GB, free: 66.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/4.191, allocations: 73.95 kB / 0.8304 GB, free: 66.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/4.191, allocations: 25.77 kB / 0.8304 GB, free: 66.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/4.191, allocations: 11.78 kB / 0.8304 GB, free: 66.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/4.192, allocations: 1.219 MB / 0.8316 GB, free: 65.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/4.192, allocations: 3.844 kB / 0.8316 GB, free: 65.77 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001096/4.193, allocations: 478.8 kB / 0.8321 GB, free: 65.57 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001509/4.195, allocations: 0.9575 MB / 0.833 GB, free: 64.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/4.195, allocations: 98.53 kB / 0.8331 GB, free: 64.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/4.195, allocations: 5.844 kB / 0.8331 GB, free: 64.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/4.196, allocations: 19.05 kB / 0.8331 GB, free: 64.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/4.196, allocations: 17 kB / 0.8332 GB, free: 64.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/4.196, allocations: 32.61 kB / 0.8332 GB, free: 64.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003732/4.197, allocations: 158.5 kB / 0.8333 GB, free: 64.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004398/4.201, allocations: 227 kB / 0.8336 GB, free: 64.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003152/4.204, allocations: 0.9096 MB / 0.8344 GB, free: 64.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/4.206, allocations: 333 kB / 0.8348 GB, free: 64.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/4.206, allocations: 0 / 0.8348 GB, free: 64.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005925/4.207, allocations: 221.5 kB / 0.835 GB, free: 64.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/4.209, allocations: 112.7 kB / 0.8351 GB, free: 64.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/4.211, allocations: 486.5 kB / 0.8355 GB, free: 64.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008928/4.212, allocations: 0.8635 MB / 0.8364 GB, free: 63.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/4.212, allocations: 3.938 kB / 0.8364 GB, free: 63.56 MB / 346.7 MB