Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_SimpleAir",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.52/2.52, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1963/2.716, allocations: 57.2 MB / 299.2 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/3.015, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/4.131, allocations: 371.9 MB / 0.7089 GB, free: 74.99 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/4.131, allocations: 73.39 kB / 0.709 GB, free: 74.95 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.1268/4.258, allocations: 21.45 MB / 0.7299 GB, free: 57.29 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/4.258, allocations: 8 kB / 0.7299 GB, free: 57.28 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/4.258, allocations: 31.81 kB / 0.73 GB, free: 57.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/4.259, allocations: 233 kB / 0.7302 GB, free: 57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/4.259, allocations: 119.3 kB / 0.7303 GB, free: 56.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/4.259, allocations: 12 kB / 0.7303 GB, free: 56.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001269/4.26, allocations: 0.7135 MB / 0.731 GB, free: 56.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/4.261, allocations: 280.9 kB / 0.7313 GB, free: 56.01 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/4.261, allocations: 0 / 0.7313 GB, free: 56.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/4.261, allocations: 4 kB / 0.7313 GB, free: 56.01 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/4.261, allocations: 7.906 kB / 0.7313 GB, free: 56 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/4.265, allocations: 3.202 MB / 0.7344 GB, free: 52.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/4.265, allocations: 53.11 kB / 0.7345 GB, free: 52.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.945e-05/4.265, allocations: 35.78 kB / 0.7345 GB, free: 52.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/4.267, allocations: 0.5312 MB / 0.735 GB, free: 51.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/4.267, allocations: 30.84 kB / 0.735 GB, free: 51.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 3.487e-06/4.267, allocations: 3.938 kB / 0.7351 GB, free: 51.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009122/4.268, allocations: 151.3 kB / 0.7352 GB, free: 51.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/4.268, allocations: 51.41 kB / 0.7352 GB, free: 51.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/4.268, allocations: 199.7 kB / 0.7354 GB, free: 51.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/4.268, allocations: 25.7 kB / 0.7355 GB, free: 51.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/4.268, allocations: 231 kB / 0.7357 GB, free: 51.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/4.268, allocations: 34.48 kB / 0.7357 GB, free: 51.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/4.268, allocations: 0 / 0.7357 GB, free: 51.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.672e-05/4.268, allocations: 326 kB / 0.736 GB, free: 50.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/4.268, allocations: 43.86 kB / 0.7361 GB, free: 50.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/4.269, allocations: 313.1 kB / 0.7364 GB, free: 50.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/4.269, allocations: 106.1 kB / 0.7365 GB, free: 50.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/4.269, allocations: 4 kB / 0.7365 GB, free: 50.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001091/4.27, allocations: 317.6 kB / 0.7368 GB, free: 49.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/4.27, allocations: 4 kB / 0.7368 GB, free: 49.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/4.27, allocations: 12 kB / 0.7368 GB, free: 49.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.325e-05/4.271, allocations: 20.73 kB / 0.7368 GB, free: 49.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/4.271, allocations: 111.6 kB / 0.7369 GB, free: 49.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/4.271, allocations: 27.84 kB / 0.7369 GB, free: 49.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/4.272, allocations: 11.94 kB / 0.737 GB, free: 49.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/4.272, allocations: 31.42 kB / 0.737 GB, free: 49.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001341/4.272, allocations: 120.4 kB / 0.7371 GB, free: 49.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/4.272, allocations: 23.72 kB / 0.7371 GB, free: 49.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/4.273, allocations: 101.2 kB / 0.7372 GB, free: 49.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/4.273, allocations: 0 / 0.7372 GB, free: 49.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/4.273, allocations: 4 kB / 0.7372 GB, free: 49.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/4.273, allocations: 0 / 0.7372 GB, free: 49.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008779/4.274, allocations: 376.6 kB / 0.7376 GB, free: 49.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/4.274, allocations: 0 / 0.7376 GB, free: 49.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/4.274, allocations: 19.98 kB / 0.7376 GB, free: 49.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/4.274, allocations: 3.938 kB / 0.7376 GB, free: 49.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/4.274, allocations: 4 kB / 0.7376 GB, free: 49.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/4.274, allocations: 32 / 0.7376 GB, free: 49.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/4.274, allocations: 8.062 kB / 0.7376 GB, free: 49.03 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003473/4.274, allocations: 215.9 kB / 0.7378 GB, free: 48.81 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004156/4.275, allocations: 0.5891 MB / 0.7384 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/4.275, allocations: 108.5 kB / 0.7385 GB, free: 48.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/4.275, allocations: 0 / 0.7385 GB, free: 48.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/4.276, allocations: 7.984 kB / 0.7385 GB, free: 48.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/4.276, allocations: 11.22 kB / 0.7385 GB, free: 48.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/4.276, allocations: 7.984 kB / 0.7385 GB, free: 48.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001674/4.276, allocations: 137.9 kB / 0.7387 GB, free: 47.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002064/4.278, allocations: 94.75 kB / 0.7387 GB, free: 47.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0004926/4.279, allocations: 174.8 kB / 0.7389 GB, free: 47.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005561/4.279, allocations: 150.9 kB / 0.7391 GB, free: 47.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/4.279, allocations: 4 kB / 0.7391 GB, free: 47.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/4.279, allocations: 27.42 kB / 0.7391 GB, free: 47.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/4.28, allocations: 31.8 kB / 0.7391 GB, free: 47.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/4.28, allocations: 179.1 kB / 0.7393 GB, free: 47.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/4.281, allocations: 0.7616 MB / 0.74 GB, free: 46.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/4.281, allocations: 4 kB / 0.74 GB, free: 46.54 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat