Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",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.093/2.093, allocations: 209.3 MB / 216.3 MB, free: 5.438 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1511/2.244, allocations: 51.04 MB / 267.3 MB, free: 2.309 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/2.514, allocations: 48.69 MB / 316 MB, free: 4.977 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.951/8.465, allocations: 2.474 GB / 2.782 GB, free: 107.2 MB / 434.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/8.466, allocations: 75.98 kB / 2.782 GB, free: 107.2 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 1.331/9.797, allocations: 205.8 MB / 2.983 GB, free: 70.7 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/9.797, allocations: 8.875 kB / 2.983 GB, free: 70.7 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/9.802, allocations: 243.3 kB / 2.983 GB, free: 70.68 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008957/9.802, allocations: 274.1 kB / 2.984 GB, free: 70.47 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/9.803, allocations: 10.75 kB / 2.984 GB, free: 70.47 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/9.803, allocations: 17.5 kB / 2.984 GB, free: 70.47 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002493/9.805, allocations: 0.5272 MB / 2.984 GB, free: 70.46 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/9.807, allocations: 380.3 kB / 2.985 GB, free: 70.32 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/9.807, allocations: 1.062 kB / 2.985 GB, free: 70.32 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/9.807, allocations: 5.781 kB / 2.985 GB, free: 70.32 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/9.807, allocations: 7.969 kB / 2.985 GB, free: 70.32 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.48/12.29, allocations: 365 MB / 3.341 GB, free: 102.6 MB / 450.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/12.29, allocations: 41.33 kB / 3.341 GB, free: 102.6 MB / 450.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/12.29, allocations: 21.55 kB / 3.341 GB, free: 102.6 MB / 450.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2277/12.52, allocations: 46.02 MB / 3.386 GB, free: 78.58 MB / 450.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/12.52, allocations: 117.6 kB / 3.386 GB, free: 78.5 MB / 450.8 MB Notification: Performance of pre-optimization done (n=10): time 3.236e-06/12.52, allocations: 3.875 kB / 3.386 GB, free: 78.5 MB / 450.8 MB Notification: Performance of matching and sorting (n=10): time 0.002062/12.52, allocations: 366.7 kB / 3.387 GB, free: 78.46 MB / 450.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/12.52, allocations: 129.6 kB / 3.387 GB, free: 78.31 MB / 450.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/12.52, allocations: 226.3 kB / 3.387 GB, free: 78.21 MB / 450.8 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/12.52, allocations: 28.86 kB / 3.387 GB, free: 78.18 MB / 450.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/12.52, allocations: 251.1 kB / 3.387 GB, free: 78.01 MB / 450.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/12.52, allocations: 34.86 kB / 3.387 GB, free: 78 MB / 450.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/12.52, allocations: 3.344 kB / 3.387 GB, free: 78 MB / 450.8 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/12.52, allocations: 333 kB / 3.388 GB, free: 77.68 MB / 450.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/12.52, allocations: 59.5 kB / 3.388 GB, free: 77.68 MB / 450.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/12.52, allocations: 314.1 kB / 3.388 GB, free: 77.35 MB / 450.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/12.52, allocations: 119.9 kB / 3.388 GB, free: 77.34 MB / 450.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/12.52, allocations: 7.094 kB / 3.388 GB, free: 77.34 MB / 450.8 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003677/12.52, allocations: 0.8169 MB / 3.389 GB, free: 77.29 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/12.52, allocations: 7.875 kB / 3.389 GB, free: 77.29 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/12.52, allocations: 5.812 kB / 3.389 GB, free: 77.29 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.953e-05/12.52, allocations: 24.06 kB / 3.389 GB, free: 77.29 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/12.53, allocations: 124 kB / 3.389 GB, free: 77.29 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/12.53, allocations: 14 kB / 3.389 GB, free: 77.29 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007423/12.53, allocations: 63.73 kB / 3.389 GB, free: 77.27 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/12.53, allocations: 31.84 kB / 3.389 GB, free: 77.27 MB / 450.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state_h_is.phase,state.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 (58): * Single equations (assignments): 58 * 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.0001548/12.53, allocations: 125.8 kB / 3.389 GB, free: 77.16 MB / 450.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/12.53, allocations: 281 kB / 3.389 GB, free: 77.14 MB / 450.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/12.53, allocations: 247.4 kB / 3.39 GB, free: 77.05 MB / 450.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/12.53, allocations: 0.75 kB / 3.39 GB, free: 77.05 MB / 450.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/12.53, allocations: 0 / 3.39 GB, free: 77.05 MB / 450.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.446e-05/12.53, allocations: 0 / 3.39 GB, free: 77.05 MB / 450.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008506/12.53, allocations: 0.605 MB / 3.39 GB, free: 76.64 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/12.53, allocations: 0 / 3.39 GB, free: 76.64 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/12.53, allocations: 14.89 kB / 3.39 GB, free: 76.64 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/12.53, allocations: 3.906 kB / 3.39 GB, free: 76.64 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/12.53, allocations: 0 / 3.39 GB, free: 76.64 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/12.53, allocations: 7.562 kB / 3.39 GB, free: 76.64 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/12.53, allocations: 0 / 3.39 GB, free: 76.64 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002346/12.53, allocations: 0.5402 MB / 3.391 GB, free: 76.34 MB / 450.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002743/12.53, allocations: 0.9678 MB / 3.392 GB, free: 75.68 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/12.53, allocations: 178.2 kB / 3.392 GB, free: 75.57 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/12.54, allocations: 3.906 kB / 3.392 GB, free: 75.57 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/12.54, allocations: 14.86 kB / 3.392 GB, free: 75.56 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/12.54, allocations: 10.44 kB / 3.392 GB, free: 75.56 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/12.54, allocations: 10.61 kB / 3.392 GB, free: 75.56 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.0006138/12.54, allocations: 252.6 kB / 3.392 GB, free: 75.47 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.01283/12.55, allocations: 1.678 MB / 3.394 GB, free: 75.47 MB / 450.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.01795/12.57, allocations: 2.134 MB / 3.396 GB, free: 75.05 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.0005962/12.57, allocations: 168.6 kB / 3.396 GB, free: 75.03 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/12.57, allocations: 2.688 kB / 3.396 GB, free: 75.03 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/12.57, allocations: 21.09 kB / 3.396 GB, free: 75.02 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/12.57, allocations: 24.47 kB / 3.396 GB, free: 75.02 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5923/13.16, allocations: 94.95 MB / 3.489 GB, free: 109.5 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/13.16, allocations: 0.8316 MB / 3.49 GB, free: 108.8 MB / 450.8 MB Notification: Performance of SimCode: time 1.283e-06/13.16, allocations: 0 / 3.49 GB, free: 108.8 MB / 450.8 MB