Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_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.393/2.393, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1827/2.575, allocations: 57.22 MB / 299.1 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/2.858, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.842/9.7, allocations: 2.584 GB / 2.93 GB, free: 107.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/9.701, allocations: 77.02 kB / 2.93 GB, free: 107.8 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.435/11.14, allocations: 209.4 MB / 3.135 GB, free: 74.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/11.14, allocations: 9.25 kB / 3.135 GB, free: 74.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/11.14, allocations: 240.4 kB / 3.135 GB, free: 74.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/11.14, allocations: 280.5 kB / 3.135 GB, free: 74.56 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/11.14, allocations: 18.53 kB / 3.135 GB, free: 74.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/11.14, allocations: 21.86 kB / 3.135 GB, free: 74.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/11.14, allocations: 0.5134 MB / 3.136 GB, free: 74.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008231/11.14, allocations: 383.3 kB / 3.136 GB, free: 74.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/11.14, allocations: 1.375 kB / 3.136 GB, free: 74.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/11.14, allocations: 1.375 kB / 3.136 GB, free: 74.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/11.14, allocations: 7.531 kB / 3.136 GB, free: 74.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 2.852/13.99, allocations: 373.2 MB / 3.5 GB, free: 117 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/13.99, allocations: 37.19 kB / 3.5 GB, free: 117 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.816e-05/13.99, allocations: 21.48 kB / 3.5 GB, free: 117 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2974/14.29, allocations: 46.03 MB / 3.545 GB, free: 93.34 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/14.29, allocations: 110 kB / 3.546 GB, free: 93.26 MB / 490.9 MB Notification: Performance of pre-optimization done (n=10): time 4.518e-06/14.29, allocations: 6.719 kB / 3.546 GB, free: 93.25 MB / 490.9 MB Notification: Performance of matching and sorting (n=10): time 0.003428/14.3, allocations: 356.3 kB / 3.546 GB, free: 93.22 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/14.3, allocations: 135.5 kB / 3.546 GB, free: 93.07 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/14.3, allocations: 220 kB / 3.546 GB, free: 92.97 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/14.3, allocations: 27.48 kB / 3.546 GB, free: 92.94 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/14.3, allocations: 256.1 kB / 3.547 GB, free: 92.77 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/14.3, allocations: 42.91 kB / 3.547 GB, free: 92.75 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/14.3, allocations: 4.094 kB / 3.547 GB, free: 92.75 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.0001042/14.3, allocations: 335.6 kB / 3.547 GB, free: 92.43 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/14.3, allocations: 60.17 kB / 3.547 GB, free: 92.43 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/14.3, allocations: 308 kB / 3.547 GB, free: 92.1 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/14.3, allocations: 121.2 kB / 3.547 GB, free: 92.09 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/14.3, allocations: 3.969 kB / 3.547 GB, free: 92.09 MB / 490.9 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.006864/14.31, allocations: 0.823 MB / 3.548 GB, free: 92.04 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/14.31, allocations: 8.062 kB / 3.548 GB, free: 92.04 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/14.31, allocations: 10.06 kB / 3.548 GB, free: 92.04 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.816e-05/14.31, allocations: 13.84 kB / 3.548 GB, free: 92.04 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/14.31, allocations: 124.8 kB / 3.548 GB, free: 92.04 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-05/14.31, allocations: 23.77 kB / 3.548 GB, free: 92.04 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/14.31, allocations: 50.05 kB / 3.548 GB, free: 92.02 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/14.31, allocations: 36.45 kB / 3.548 GB, free: 92.02 MB / 490.9 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.0002212/14.31, allocations: 135.3 kB / 3.549 GB, free: 91.91 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00231/14.31, allocations: 275.3 kB / 3.549 GB, free: 91.9 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/14.31, allocations: 248.6 kB / 3.549 GB, free: 91.8 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/14.31, allocations: 0 / 3.549 GB, free: 91.8 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/14.31, allocations: 2.031 kB / 3.549 GB, free: 91.8 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/14.31, allocations: 3.906 kB / 3.549 GB, free: 91.8 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/14.31, allocations: 0.5905 MB / 3.55 GB, free: 91.4 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/14.31, allocations: 3.844 kB / 3.55 GB, free: 91.4 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/14.31, allocations: 14.2 kB / 3.55 GB, free: 91.4 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/14.31, allocations: 6.891 kB / 3.55 GB, free: 91.4 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/14.31, allocations: 3.844 kB / 3.55 GB, free: 91.4 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/14.31, allocations: 3.906 kB / 3.55 GB, free: 91.4 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/14.31, allocations: 3.938 kB / 3.55 GB, free: 91.4 MB / 490.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002807/14.32, allocations: 0.5323 MB / 3.55 GB, free: 91.1 MB / 490.9 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003257/14.32, allocations: 0.966 MB / 3.551 GB, free: 90.43 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/14.32, allocations: 180 kB / 3.551 GB, free: 90.32 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/14.32, allocations: 7.531 kB / 3.551 GB, free: 90.32 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/14.32, allocations: 14.02 kB / 3.551 GB, free: 90.32 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/14.32, allocations: 6.938 kB / 3.551 GB, free: 90.32 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/14.32, allocations: 10.67 kB / 3.551 GB, free: 90.32 MB / 490.9 MB Notification: Performance of sort global known variables: time 0.0006339/14.32, allocations: 260.7 kB / 3.552 GB, free: 90.22 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.01378/14.34, allocations: 1.691 MB / 3.553 GB, free: 90.22 MB / 490.9 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.02363/14.36, allocations: 2.145 MB / 3.555 GB, free: 89.84 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.0007757/14.36, allocations: 171.3 kB / 3.555 GB, free: 89.82 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/14.36, allocations: 0.9375 kB / 3.555 GB, free: 89.82 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/14.36, allocations: 31.33 kB / 3.556 GB, free: 89.81 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/14.36, allocations: 24.88 kB / 3.556 GB, free: 89.81 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5078/14.87, allocations: 97.74 MB / 3.651 GB, free: 29.12 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/14.87, allocations: 0.831 MB / 3.652 GB, free: 28.32 MB / 490.9 MB Notification: Performance of SimCode: time 1.383e-06/14.87, allocations: 0 / 3.652 GB, free: 28.32 MB / 490.9 MB