Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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 2.007/2.007, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2282/2.236, allocations: 51.03 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/2.352, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.278/8.63, allocations: 2.472 GB / 2.781 GB, free: 97.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/8.631, allocations: 83.02 kB / 2.781 GB, free: 97.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 1.165/9.796, allocations: 205.3 MB / 2.981 GB, free: 59.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/9.796, allocations: 10.69 kB / 2.981 GB, free: 59.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/9.798, allocations: 202.1 kB / 2.981 GB, free: 59.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/9.799, allocations: 268.5 kB / 2.982 GB, free: 59.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/9.799, allocations: 10.75 kB / 2.982 GB, free: 59.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/9.799, allocations: 19.41 kB / 2.982 GB, free: 59.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001089/9.8, allocations: 473.1 kB / 2.982 GB, free: 59.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/9.801, allocations: 379.3 kB / 2.983 GB, free: 59.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/9.801, allocations: 3 kB / 2.983 GB, free: 59.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/9.801, allocations: 3.375 kB / 2.983 GB, free: 59.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/9.801, allocations: 7.75 kB / 2.983 GB, free: 59.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.452/11.25, allocations: 255.5 MB / 3.232 GB, free: 57.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/11.25, allocations: 80.77 kB / 3.232 GB, free: 57.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/11.25, allocations: 28.95 kB / 3.232 GB, free: 57.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2369/11.49, allocations: 46.28 MB / 3.277 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/11.49, allocations: 108.7 kB / 3.278 GB, free: 14.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 2.544e-06/11.49, allocations: 1.5 kB / 3.278 GB, free: 14.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.002706/11.49, allocations: 473.4 kB / 3.278 GB, free: 14.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/11.49, allocations: 80.41 kB / 3.278 GB, free: 14.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/11.49, allocations: 222.7 kB / 3.278 GB, free: 14.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/11.49, allocations: 25.7 kB / 3.278 GB, free: 14.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/11.49, allocations: 252 kB / 3.279 GB, free: 14.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/11.49, allocations: 47.39 kB / 3.279 GB, free: 14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/11.49, allocations: 0 / 3.279 GB, free: 14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/11.49, allocations: 329.8 kB / 3.279 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/11.49, allocations: 59.39 kB / 3.279 GB, free: 13.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/11.49, allocations: 322.2 kB / 3.279 GB, free: 13.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/11.5, allocations: 122.7 kB / 3.279 GB, free: 13.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/11.5, allocations: 5.75 kB / 3.279 GB, free: 13.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003753/11.5, allocations: 0.7841 MB / 3.28 GB, free: 12.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/11.5, allocations: 4.844 kB / 3.28 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/11.5, allocations: 12 kB / 3.28 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/11.5, allocations: 12.78 kB / 3.28 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/11.5, allocations: 140.2 kB / 3.28 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007386/11.5, allocations: 1.206 MB / 3.282 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/11.5, allocations: 12 kB / 3.282 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/11.5, allocations: 31.84 kB / 3.282 GB, free: 11.14 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002437/11.5, allocations: 130.1 kB / 3.282 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/11.5, allocations: 259.8 kB / 3.282 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/11.51, allocations: 0.827 MB / 3.283 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/11.51, allocations: 13.3 kB / 3.283 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/11.51, allocations: 4.656 kB / 3.283 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/11.51, allocations: 0.6094 kB / 3.283 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/11.51, allocations: 404.2 kB / 3.283 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/11.51, allocations: 0.5625 kB / 3.283 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/11.51, allocations: 29.44 kB / 3.283 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/11.51, allocations: 160.8 kB / 3.283 GB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/11.51, allocations: 0.6094 kB / 3.283 GB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009646/11.51, allocations: 1.377 MB / 3.285 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/11.51, allocations: 0 / 3.285 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002027/11.51, allocations: 0.7301 MB / 3.285 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002271/11.51, allocations: 1.179 MB / 3.287 GB, free: 6.398 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/11.51, allocations: 164.1 kB / 3.287 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/11.51, allocations: 0 / 3.287 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/11.51, allocations: 9.688 kB / 3.287 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/11.51, allocations: 9.109 kB / 3.287 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/11.51, allocations: 4 kB / 3.287 GB, free: 6.203 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003257/11.51, allocations: 220.6 kB / 3.287 GB, free: 5.984 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01039/11.52, allocations: 1.82 MB / 3.289 GB, free: 4.445 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02303/11.55, allocations: 2.297 MB / 3.291 GB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/11.55, allocations: 391.6 kB / 3.291 GB, free: 1.965 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/11.55, allocations: 0.8125 kB / 3.291 GB, free: 1.965 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/11.55, allocations: 264.5 kB / 3.292 GB, free: 1.711 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/11.55, allocations: 29.2 kB / 3.292 GB, free: 1.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5055/12.06, allocations: 79.1 MB / 3.369 GB, free: 116.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/12.06, allocations: 0.8535 MB / 3.37 GB, free: 115.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.703e-06/12.06, allocations: 0 / 3.37 GB, free: 115.7 MB / 442.7 MB