Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.466/2.466, allocations: 235.1 MB / 242 MB, free: 9.656 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2193/2.686, allocations: 57.19 MB / 299.2 MB, free: 352 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/2.987, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.444/4.431, allocations: 492 MB / 0.8263 GB, free: 120.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/4.431, allocations: 71.28 kB / 0.8263 GB, free: 120.4 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.2929/4.724, allocations: 57.15 MB / 0.8821 GB, free: 82.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/4.724, allocations: 11.94 kB / 0.8821 GB, free: 82.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/4.741, allocations: 0.7017 MB / 0.8828 GB, free: 81.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/4.741, allocations: 262.6 kB / 0.8831 GB, free: 81.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/4.742, allocations: 123.3 kB / 0.8832 GB, free: 80.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/4.742, allocations: 12 kB / 0.8832 GB, free: 80.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001965/4.744, allocations: 0.5435 MB / 0.8837 GB, free: 80.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/4.744, allocations: 311.5 kB / 0.884 GB, free: 80.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/4.745, allocations: 0 / 0.884 GB, free: 80.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/4.745, allocations: 3.906 kB / 0.884 GB, free: 80.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/4.745, allocations: 11.98 kB / 0.884 GB, free: 80.04 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/4.749, allocations: 2.543 MB / 0.8865 GB, free: 77.19 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/4.752, allocations: 110.6 kB / 0.8866 GB, free: 77.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/4.752, allocations: 36.91 kB / 0.8867 GB, free: 77.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.214e-05/4.752, allocations: 24.64 kB / 0.8867 GB, free: 77.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/4.752, allocations: 38.69 kB / 0.8867 GB, free: 76.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 3.066e-06/4.752, allocations: 4 kB / 0.8867 GB, free: 76.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.007048/4.759, allocations: 0.4906 MB / 0.8872 GB, free: 76.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/4.759, allocations: 59.34 kB / 0.8873 GB, free: 76.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/4.759, allocations: 186.9 kB / 0.8874 GB, free: 76.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/4.76, allocations: 25.7 kB / 0.8875 GB, free: 76.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/4.76, allocations: 218.8 kB / 0.8877 GB, free: 75.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/4.76, allocations: 35.55 kB / 0.8877 GB, free: 75.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/4.76, allocations: 0 / 0.8877 GB, free: 75.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/4.76, allocations: 330.7 kB / 0.888 GB, free: 75.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/4.76, allocations: 56.86 kB / 0.8881 GB, free: 75.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/4.76, allocations: 262 kB / 0.8883 GB, free: 75.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/4.763, allocations: 303.5 kB / 0.8886 GB, free: 74.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/4.763, allocations: 0 / 0.8886 GB, free: 74.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00294/4.766, allocations: 0.5417 MB / 0.8892 GB, free: 74.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/4.766, allocations: 8.281 kB / 0.8892 GB, free: 74.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/4.766, allocations: 4 kB / 0.8892 GB, free: 74.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/4.766, allocations: 15.98 kB / 0.8892 GB, free: 74.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/4.767, allocations: 168.3 kB / 0.8893 GB, free: 74.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/4.767, allocations: 0.6171 MB / 0.8899 GB, free: 73.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/4.768, allocations: 8 kB / 0.89 GB, free: 73.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/4.768, allocations: 55.98 kB / 0.89 GB, free: 73.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001637/4.768, allocations: 120.8 kB / 0.8901 GB, free: 73.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.985e-05/4.768, allocations: 19.81 kB / 0.8901 GB, free: 73.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/4.77, allocations: 299.7 kB / 0.8904 GB, free: 72.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/4.77, allocations: 0 / 0.8904 GB, free: 72.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/4.77, allocations: 0 / 0.8904 GB, free: 72.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/4.77, allocations: 3.984 kB / 0.8904 GB, free: 72.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/4.771, allocations: 452.6 kB / 0.8909 GB, free: 72.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/4.771, allocations: 4.062 kB / 0.8909 GB, free: 72.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/4.772, allocations: 71.95 kB / 0.8909 GB, free: 72.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/4.772, allocations: 0 / 0.8909 GB, free: 72.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/4.772, allocations: 15.92 kB / 0.8909 GB, free: 72.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003587/4.772, allocations: 0.5938 MB / 0.8915 GB, free: 71.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/4.772, allocations: 96 / 0.8915 GB, free: 71.76 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004835/4.773, allocations: 276.3 kB / 0.8918 GB, free: 71.45 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006632/4.773, allocations: 0.6687 MB / 0.8924 GB, free: 70.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/4.774, allocations: 108.9 kB / 0.8925 GB, free: 70.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/4.774, allocations: 4 kB / 0.8926 GB, free: 70.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/4.774, allocations: 7.984 kB / 0.8926 GB, free: 70.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/4.774, allocations: 23.89 kB / 0.8926 GB, free: 70.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/4.775, allocations: 27.98 kB / 0.8926 GB, free: 70.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001727/4.775, allocations: 143.2 kB / 0.8927 GB, free: 70.42 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00287/4.778, allocations: 335.7 kB / 0.8931 GB, free: 70.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002539/4.78, allocations: 0.8786 MB / 0.8939 GB, free: 69.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/4.781, allocations: 221.1 kB / 0.8941 GB, free: 69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/4.781, allocations: 0 / 0.8941 GB, free: 69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/4.782, allocations: 84.34 kB / 0.8942 GB, free: 68.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/4.782, allocations: 28.42 kB / 0.8942 GB, free: 68.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2259/5.008, allocations: 30.12 MB / 0.9237 GB, free: 38.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/5.009, allocations: 0.8529 MB / 0.9245 GB, free: 37.72 MB / 474.7 MB Notification: Performance of SimCode: time 1.462e-06/5.009, allocations: 0 / 0.9245 GB, free: 37.72 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat