Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestColorMapToSvg",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.34/2.34, allocations: 234.9 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1715/2.511, allocations: 57.2 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/2.768, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/2.944, allocations: 83.58 MB / 437.5 MB, free: 9.742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/2.944, allocations: 59.91 kB / 437.6 MB, free: 9.684 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.4/3.344, allocations: 38.49 MB / 476.1 MB, free: 69.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/3.344, allocations: 8 kB / 476.1 MB, free: 69.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/3.345, allocations: 3.906 kB / 476.1 MB, free: 69.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.761e-05/3.345, allocations: 159.1 kB / 476.3 MB, free: 69.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/3.345, allocations: 4 kB / 476.3 MB, free: 69.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/3.345, allocations: 0 / 476.3 MB, free: 69.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.911e-05/3.345, allocations: 4 kB / 476.3 MB, free: 69.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.47e-05/3.345, allocations: 37.69 kB / 476.3 MB, free: 69.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/3.345, allocations: 0 / 476.3 MB, free: 69.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/3.345, allocations: 0 / 476.3 MB, free: 69.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/3.345, allocations: 0 / 476.3 MB, free: 69.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/3.345, allocations: 130.2 kB / 476.4 MB, free: 69.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.434e-05/3.345, allocations: 18.52 kB / 476.5 MB, free: 69.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/3.345, allocations: 8.953 kB / 476.5 MB, free: 69.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/3.345, allocations: 4 kB / 476.5 MB, free: 69.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/3.345, allocations: 60.2 kB / 476.5 MB, free: 69.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/3.345, allocations: 0 / 476.5 MB, free: 69.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001609/3.345, allocations: 33.69 kB / 476.6 MB, free: 69.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/3.345, allocations: 77.11 kB / 476.6 MB, free: 69.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.395e-05/3.345, allocations: 89 kB / 476.7 MB, free: 68.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/3.345, allocations: 25.7 kB / 476.7 MB, free: 68.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.552e-05/3.345, allocations: 84.17 kB / 476.8 MB, free: 68.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/3.345, allocations: 4 kB / 476.8 MB, free: 68.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/3.345, allocations: 0 / 476.8 MB, free: 68.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.799e-05/3.345, allocations: 314.8 kB / 477.1 MB, free: 68.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/3.345, allocations: 3.938 kB / 477.1 MB, free: 68.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/3.345, allocations: 0 / 477.1 MB, free: 68.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/3.346, allocations: 4 kB / 477.2 MB, free: 68.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/3.346, allocations: 0 / 477.2 MB, free: 68.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.528e-05/3.346, allocations: 33.69 kB / 477.2 MB, free: 68.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/3.346, allocations: 8.094 kB / 477.2 MB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/3.346, allocations: 0 / 477.2 MB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/3.346, allocations: 0 / 477.2 MB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-06/3.346, allocations: 4 kB / 477.2 MB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/3.346, allocations: 3.938 kB / 477.2 MB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/3.346, allocations: 0 / 477.2 MB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/3.346, allocations: 0 / 477.2 MB, free: 68.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.121e-05/3.346, allocations: 130.6 kB / 477.3 MB, free: 68.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/3.346, allocations: 7.984 kB / 477.3 MB, free: 68.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/3.346, allocations: 11 kB / 477.3 MB, free: 68.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/3.346, allocations: 0 / 477.3 MB, free: 68.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/3.346, allocations: 0 / 477.3 MB, free: 68.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/3.346, allocations: 0 / 477.3 MB, free: 68.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.875e-05/3.346, allocations: 126.2 kB / 477.5 MB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/3.346, allocations: 0 / 477.5 MB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/3.346, allocations: 4 kB / 477.5 MB, free: 68.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/3.346, allocations: 3.938 kB / 477.5 MB, free: 68.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/3.346, allocations: 0 / 477.5 MB, free: 68.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/3.346, allocations: 3.984 kB / 477.5 MB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/3.346, allocations: 0 / 477.5 MB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.934e-05/3.346, allocations: 61.14 kB / 477.5 MB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001688/3.346, allocations: 445.4 kB / 478 MB, free: 67.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/3.346, allocations: 77.11 kB / 478 MB, free: 67.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/3.346, allocations: 0 / 478 MB, free: 67.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/3.346, allocations: 4.062 kB / 478.1 MB, free: 67.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/3.346, allocations: 0 / 478.1 MB, free: 67.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/3.346, allocations: 11.94 kB / 478.1 MB, free: 67.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.829e-05/3.347, allocations: 83.12 kB / 478.1 MB, free: 67.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001481/3.348, allocations: 71.91 kB / 478.2 MB, free: 67.3 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.004478/3.353, allocations: 0.7484 MB / 479 MB, free: 66.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/3.353, allocations: 29.7 kB / 479 MB, free: 66.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/3.353, allocations: 0 / 479 MB, free: 66.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/3.353, allocations: 33.64 kB / 479 MB, free: 66.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/3.353, allocations: 0 / 479 MB, free: 66.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001683/3.353, allocations: 47.92 kB / 479.1 MB, free: 66.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/3.353, allocations: 0.6802 MB / 479.8 MB, free: 65.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/3.353, allocations: 0 / 479.8 MB, free: 65.74 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat