Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.528/2.528, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2058/2.734, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/3.024, allocations: 54.86 MB / 354.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/4.089, allocations: 369.1 MB / 0.7063 GB, free: 78.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/4.09, allocations: 76.53 kB / 0.7063 GB, free: 78.15 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.08249/4.172, allocations: 19.07 MB / 0.725 GB, free: 62.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/4.172, allocations: 8 kB / 0.725 GB, free: 62.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/4.173, allocations: 31.73 kB / 0.725 GB, free: 62.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/4.173, allocations: 225.2 kB / 0.7252 GB, free: 62.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/4.173, allocations: 119.3 kB / 0.7253 GB, free: 61.99 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/4.173, allocations: 16 kB / 0.7253 GB, free: 61.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001244/4.174, allocations: 0.7083 MB / 0.726 GB, free: 61.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/4.175, allocations: 283.9 kB / 0.7263 GB, free: 61.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/4.175, allocations: 0 / 0.7263 GB, free: 61.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/4.175, allocations: 0 / 0.7263 GB, free: 61.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/4.175, allocations: 11.91 kB / 0.7263 GB, free: 61.12 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/4.179, allocations: 3.505 MB / 0.7297 GB, free: 57.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/4.18, allocations: 57.83 kB / 0.7298 GB, free: 57.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/4.18, allocations: 16.8 kB / 0.7298 GB, free: 57.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008142/4.18, allocations: 443 kB / 0.7302 GB, free: 56.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/4.181, allocations: 30.56 kB / 0.7303 GB, free: 56.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/4.181, allocations: 3.938 kB / 0.7303 GB, free: 56.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002652/4.181, allocations: 65.7 kB / 0.7303 GB, free: 56.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/4.181, allocations: 55.31 kB / 0.7304 GB, free: 56.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/4.181, allocations: 213.8 kB / 0.7306 GB, free: 56.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/4.181, allocations: 25.7 kB / 0.7306 GB, free: 56.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/4.181, allocations: 247.5 kB / 0.7308 GB, free: 56.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/4.181, allocations: 11.47 kB / 0.7309 GB, free: 56.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/4.181, allocations: 0 / 0.7309 GB, free: 56.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/4.181, allocations: 330.2 kB / 0.7312 GB, free: 55.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/4.182, allocations: 35.28 kB / 0.7312 GB, free: 55.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/4.182, allocations: 337.7 kB / 0.7315 GB, free: 55.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/4.182, allocations: 121.8 kB / 0.7316 GB, free: 55.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/4.183, allocations: 4 kB / 0.7316 GB, free: 55.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001209/4.184, allocations: 335.1 kB / 0.732 GB, free: 54.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/4.184, allocations: 4 kB / 0.732 GB, free: 54.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/4.184, allocations: 12 kB / 0.732 GB, free: 54.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-05/4.184, allocations: 16 kB / 0.732 GB, free: 54.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/4.184, allocations: 94.7 kB / 0.7321 GB, free: 54.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/4.185, allocations: 27.83 kB / 0.7321 GB, free: 54.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/4.185, allocations: 59.72 kB / 0.7322 GB, free: 54.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/4.185, allocations: 31.92 kB / 0.7322 GB, free: 54.58 MB / 474.7 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 0.0001104/4.185, allocations: 124.5 kB / 0.7323 GB, free: 54.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/4.185, allocations: 19.81 kB / 0.7323 GB, free: 54.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/4.186, allocations: 15.8 kB / 0.7324 GB, free: 54.42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/4.186, allocations: 3.906 kB / 0.7324 GB, free: 54.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/4.186, allocations: 4 kB / 0.7324 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/4.186, allocations: 0 / 0.7324 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/4.186, allocations: 172.5 kB / 0.7325 GB, free: 54.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/4.186, allocations: 8 kB / 0.7325 GB, free: 54.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/4.186, allocations: 0 / 0.7325 GB, free: 54.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/4.186, allocations: 0 / 0.7325 GB, free: 54.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/4.186, allocations: 0 / 0.7325 GB, free: 54.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/4.186, allocations: 3.938 kB / 0.7325 GB, free: 54.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/4.186, allocations: 0 / 0.7325 GB, free: 54.21 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001903/4.186, allocations: 158.5 kB / 0.7327 GB, free: 54.04 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002671/4.186, allocations: 0.5336 MB / 0.7332 GB, free: 53.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/4.187, allocations: 108.3 kB / 0.7333 GB, free: 53.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/4.187, allocations: 0 / 0.7333 GB, free: 53.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/4.187, allocations: 3.984 kB / 0.7333 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/4.187, allocations: 7.906 kB / 0.7333 GB, free: 53.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/4.187, allocations: 0 / 0.7333 GB, free: 53.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001581/4.187, allocations: 142.9 kB / 0.7335 GB, free: 53.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00193/4.189, allocations: 106 kB / 0.7336 GB, free: 53.16 MB / 474.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: 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.00033/4.189, allocations: 147.2 kB / 0.7337 GB, free: 53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000389/4.19, allocations: 132.7 kB / 0.7338 GB, free: 52.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/4.19, allocations: 192 / 0.7338 GB, free: 52.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/4.19, allocations: 8 kB / 0.7338 GB, free: 52.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/4.19, allocations: 11.94 kB / 0.7338 GB, free: 52.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/4.21, allocations: 4.058 MB / 0.7378 GB, free: 49.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/4.21, allocations: 0.7587 MB / 0.7385 GB, free: 48.94 MB / 474.7 MB Notification: Performance of SimCode: time 1.804e-06/4.21, allocations: 0 / 0.7385 GB, free: 48.94 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat