Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.055/2.055, allocations: 209.3 MB / 216.3 MB, free: 6.863 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2445/2.299, allocations: 51.03 MB / 267.3 MB, free: 5.219 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/2.437, allocations: 48.68 MB / 316 MB, free: 4.441 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/3.541, allocations: 363 MB / 0.6631 GB, free: 125 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/3.542, allocations: 73.34 kB / 0.6631 GB, free: 125 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0775/3.619, allocations: 19.06 MB / 0.6817 GB, free: 121.7 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/3.619, allocations: 7.719 kB / 0.6817 GB, free: 121.7 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/3.62, allocations: 27.44 kB / 0.6818 GB, free: 121.7 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/3.62, allocations: 233.2 kB / 0.682 GB, free: 121.5 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/3.62, allocations: 119 kB / 0.6821 GB, free: 121.4 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/3.62, allocations: 11.72 kB / 0.6821 GB, free: 121.4 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/3.621, allocations: 0.7156 MB / 0.6828 GB, free: 121.2 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/3.622, allocations: 287.4 kB / 0.6831 GB, free: 121 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/3.622, allocations: 0 / 0.6831 GB, free: 121 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/3.622, allocations: 5.453 kB / 0.6831 GB, free: 121 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/3.622, allocations: 7 kB / 0.6831 GB, free: 121 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00387/3.626, allocations: 3.511 MB / 0.6865 GB, free: 117.4 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/3.626, allocations: 37.58 kB / 0.6866 GB, free: 117.3 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/3.626, allocations: 25.2 kB / 0.6866 GB, free: 117.3 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/3.627, allocations: 447.2 kB / 0.687 GB, free: 116.9 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/3.627, allocations: 31.78 kB / 0.687 GB, free: 116.9 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1): time 2.394e-06/3.627, allocations: 0 / 0.687 GB, free: 116.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=1): time 0.0002264/3.627, allocations: 56.48 kB / 0.6871 GB, free: 116.8 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/3.627, allocations: 52.47 kB / 0.6872 GB, free: 116.8 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/3.627, allocations: 218.1 kB / 0.6874 GB, free: 116.6 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/3.627, allocations: 25.7 kB / 0.6874 GB, free: 116.6 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/3.628, allocations: 248.5 kB / 0.6876 GB, free: 116.4 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/3.628, allocations: 11.5 kB / 0.6876 GB, free: 116.4 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/3.628, allocations: 3.938 kB / 0.6876 GB, free: 116.4 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/3.628, allocations: 329.6 kB / 0.688 GB, free: 116.1 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/3.628, allocations: 31.25 kB / 0.688 GB, free: 116.1 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/3.628, allocations: 342.8 kB / 0.6883 GB, free: 115.6 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/3.629, allocations: 122.1 kB / 0.6884 GB, free: 115.6 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/3.629, allocations: 4.344 kB / 0.6884 GB, free: 115.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001003/3.63, allocations: 331.9 kB / 0.6887 GB, free: 115.4 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/3.63, allocations: 4.719 kB / 0.6887 GB, free: 115.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/3.63, allocations: 16.12 kB / 0.6888 GB, free: 115.4 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.946e-05/3.63, allocations: 14.94 kB / 0.6888 GB, free: 115.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/3.63, allocations: 101.4 kB / 0.6889 GB, free: 115.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.522e-05/3.63, allocations: 26.53 kB / 0.6889 GB, free: 115.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/3.631, allocations: 50.81 kB / 0.6889 GB, free: 115.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/3.631, allocations: 29.75 kB / 0.689 GB, free: 115.4 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.208e-05/3.631, allocations: 134.2 kB / 0.6891 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/3.631, allocations: 20.66 kB / 0.6891 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/3.631, allocations: 17.52 kB / 0.6891 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/3.631, allocations: 1.031 kB / 0.6891 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/3.631, allocations: 0 / 0.6891 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/3.631, allocations: 1.094 kB / 0.6891 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/3.631, allocations: 175.8 kB / 0.6893 GB, free: 115.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/3.631, allocations: 0 / 0.6893 GB, free: 115.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/3.631, allocations: 1.438 kB / 0.6893 GB, free: 115.1 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/3.631, allocations: 4 kB / 0.6893 GB, free: 115 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/3.631, allocations: 3.938 kB / 0.6893 GB, free: 115 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/3.631, allocations: 5.188 kB / 0.6893 GB, free: 115 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/3.631, allocations: 0 / 0.6893 GB, free: 115 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001619/3.632, allocations: 144.6 kB / 0.6895 GB, free: 114.9 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002562/3.632, allocations: 0.5422 MB / 0.69 GB, free: 114.4 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/3.632, allocations: 106.8 kB / 0.6901 GB, free: 114.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/3.632, allocations: 9.344 kB / 0.6901 GB, free: 114.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/3.632, allocations: 5.453 kB / 0.6901 GB, free: 114.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/3.632, allocations: 1.406 kB / 0.6901 GB, free: 114.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/3.632, allocations: 1.469 kB / 0.6901 GB, free: 114.2 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.0001511/3.633, allocations: 144.4 kB / 0.6902 GB, free: 114.2 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00165/3.634, allocations: 100 kB / 0.6903 GB, free: 114.1 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003126/3.635, allocations: 151.8 kB / 0.6905 GB, free: 114 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004288/3.635, allocations: 130.8 kB / 0.6906 GB, free: 114 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/3.635, allocations: 1.375 kB / 0.6906 GB, free: 114 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/3.635, allocations: 7.188 kB / 0.6906 GB, free: 114 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/3.635, allocations: 24.77 kB / 0.6906 GB, free: 114 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/3.65, allocations: 4.062 MB / 0.6946 GB, free: 112.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/3.65, allocations: 0.7577 MB / 0.6954 GB, free: 111.8 MB / 426.8 MB Notification: Performance of SimCode: time 1.012e-06/3.65, allocations: 0 / 0.6954 GB, free: 111.8 MB / 426.8 MB