Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_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.368/2.368, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2077/2.576, allocations: 57.2 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/2.894, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.942/9.836, allocations: 2.583 GB / 2.928 GB, free: 109 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/9.837, allocations: 79.38 kB / 2.928 GB, free: 109 MB / 474.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.412/11.25, allocations: 208.8 MB / 3.132 GB, free: 74.65 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/11.25, allocations: 7.719 kB / 3.132 GB, free: 74.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/11.25, allocations: 196.4 kB / 3.133 GB, free: 74.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/11.25, allocations: 282.1 kB / 3.133 GB, free: 74.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/11.25, allocations: 7.031 kB / 3.133 GB, free: 74.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/11.25, allocations: 18.41 kB / 3.133 GB, free: 74.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001064/11.25, allocations: 474.4 kB / 3.133 GB, free: 74.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/11.25, allocations: 384.3 kB / 3.134 GB, free: 74.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/11.25, allocations: 0 / 3.134 GB, free: 74.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/11.25, allocations: 3.812 kB / 3.134 GB, free: 74.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/11.25, allocations: 7.344 kB / 3.134 GB, free: 74.27 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.474/12.73, allocations: 262.5 MB / 3.39 GB, free: 63.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/12.73, allocations: 80.06 kB / 3.39 GB, free: 63.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/12.73, allocations: 31.61 kB / 3.39 GB, free: 63.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2143/12.94, allocations: 46.28 MB / 3.435 GB, free: 20.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/12.94, allocations: 118.4 kB / 3.435 GB, free: 20.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 3.357e-06/12.94, allocations: 0 / 3.435 GB, free: 20.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.003582/12.95, allocations: 473 kB / 3.436 GB, free: 20.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/12.95, allocations: 80.94 kB / 3.436 GB, free: 20.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/12.95, allocations: 224.5 kB / 3.436 GB, free: 19.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/12.95, allocations: 31.2 kB / 3.436 GB, free: 19.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/12.95, allocations: 239.4 kB / 3.436 GB, free: 19.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/12.95, allocations: 48.14 kB / 3.437 GB, free: 19.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/12.95, allocations: 5.312 kB / 3.437 GB, free: 19.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/12.95, allocations: 330.6 kB / 3.437 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/12.95, allocations: 56.61 kB / 3.437 GB, free: 19.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/12.95, allocations: 321.5 kB / 3.437 GB, free: 18.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/12.95, allocations: 122 kB / 3.437 GB, free: 18.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/12.95, allocations: 4 kB / 3.437 GB, free: 18.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003417/12.95, allocations: 0.7874 MB / 3.438 GB, free: 18.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/12.95, allocations: 4 kB / 3.438 GB, free: 18.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/12.95, allocations: 15.8 kB / 3.438 GB, free: 18.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/12.95, allocations: 15.91 kB / 3.438 GB, free: 18.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/12.95, allocations: 136.2 kB / 3.438 GB, free: 18.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006593/12.95, allocations: 1.206 MB / 3.439 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/12.95, allocations: 13.83 kB / 3.439 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/12.95, allocations: 31.84 kB / 3.439 GB, free: 16.78 MB / 490.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.0002166/12.96, allocations: 139.7 kB / 3.44 GB, free: 16.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/12.96, allocations: 257.4 kB / 3.44 GB, free: 16.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/12.96, allocations: 0.824 MB / 3.441 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/12.96, allocations: 7.75 kB / 3.441 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/12.96, allocations: 0 / 3.441 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/12.96, allocations: 7.797 kB / 3.441 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/12.96, allocations: 406.4 kB / 3.441 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/12.96, allocations: 0 / 3.441 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/12.96, allocations: 25.81 kB / 3.441 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/12.96, allocations: 166.8 kB / 3.441 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/12.96, allocations: 3.906 kB / 3.441 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008454/12.96, allocations: 1.373 MB / 3.443 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/12.96, allocations: 0 / 3.443 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002134/12.96, allocations: 0.731 MB / 3.443 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002188/12.96, allocations: 1.188 MB / 3.444 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/12.96, allocations: 154.8 kB / 3.445 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/12.96, allocations: 7.844 kB / 3.445 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/12.97, allocations: 7.938 kB / 3.445 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/12.97, allocations: 11.75 kB / 3.445 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/12.97, allocations: 8 kB / 3.445 GB, free: 11.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003294/12.97, allocations: 220.2 kB / 3.445 GB, free: 11.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0108/12.98, allocations: 1.831 MB / 3.447 GB, free: 10.28 MB / 490.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.0182/12.99, allocations: 2.299 MB / 3.449 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/13, allocations: 381 kB / 3.449 GB, free: 8.047 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/13, allocations: 4 kB / 3.449 GB, free: 8.043 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004942/13, allocations: 265.9 kB / 3.45 GB, free: 7.801 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/13, allocations: 33.72 kB / 3.45 GB, free: 7.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5552/13.55, allocations: 81.97 MB / 3.53 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000915/13.55, allocations: 0.8501 MB / 3.53 GB, free: 125.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.464e-06/13.55, allocations: 5.422 kB / 3.53 GB, free: 125.6 MB / 490.7 MB