Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestColorMapToSvg",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.734/2.734, allocations: 235.1 MB / 242 MB, free: 11.29 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3208/3.055, allocations: 57.18 MB / 299.2 MB, free: 6.02 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/3.191, allocations: 54.86 MB / 354.1 MB, free: 15.05 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/3.584, allocations: 83.58 MB / 437.6 MB, free: 3.363 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/3.584, allocations: 61.72 kB / 437.7 MB, free: 3.332 MB / 338.8 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.2344/3.818, allocations: 38.48 MB / 476.2 MB, free: 2.371 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/3.818, allocations: 8 kB / 476.2 MB, free: 2.363 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/3.818, allocations: 3.75 kB / 476.2 MB, free: 2.363 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/3.819, allocations: 163.1 kB / 476.4 MB, free: 2.164 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/3.819, allocations: 4 kB / 476.4 MB, free: 2.16 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/3.819, allocations: 3.938 kB / 476.4 MB, free: 2.156 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.947e-05/3.819, allocations: 0 / 476.4 MB, free: 2.156 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.238e-05/3.819, allocations: 33.64 kB / 476.4 MB, free: 2.117 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/3.819, allocations: 0 / 476.4 MB, free: 2.117 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/3.819, allocations: 0 / 476.4 MB, free: 2.117 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/3.819, allocations: 7.906 kB / 476.4 MB, free: 2.109 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/3.819, allocations: 126.2 kB / 476.5 MB, free: 1.949 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.718e-05/3.819, allocations: 18.52 kB / 476.6 MB, free: 1.922 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/3.819, allocations: 12.33 kB / 476.6 MB, free: 1.91 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-06/3.819, allocations: 0 / 476.6 MB, free: 1.91 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/3.819, allocations: 56.27 kB / 476.6 MB, free: 1.84 MB / 370.8 MB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/3.819, allocations: 0 / 476.6 MB, free: 1.84 MB / 370.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001987/3.819, allocations: 37.69 kB / 476.7 MB, free: 1.797 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/3.819, allocations: 81.05 kB / 476.7 MB, free: 1.699 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.493e-05/3.819, allocations: 85 kB / 476.8 MB, free: 1.609 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/3.82, allocations: 25.7 kB / 476.8 MB, free: 1.578 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/3.82, allocations: 84.14 kB / 476.9 MB, free: 1.492 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/3.82, allocations: 7.891 kB / 476.9 MB, free: 1.484 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/3.82, allocations: 0 / 476.9 MB, free: 1.484 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001568/3.82, allocations: 314.3 kB / 477.2 MB, free: 1.172 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/3.82, allocations: 4.031 kB / 477.2 MB, free: 1.168 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/3.82, allocations: 0 / 477.2 MB, free: 1.168 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/3.82, allocations: 4 kB / 477.2 MB, free: 1.164 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/3.82, allocations: 0 / 477.2 MB, free: 1.164 MB / 370.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.546e-05/3.82, allocations: 29.7 kB / 477.3 MB, free: 1.129 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/3.82, allocations: 7.281 kB / 477.3 MB, free: 1.125 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/3.82, allocations: 0 / 477.3 MB, free: 1.125 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/3.82, allocations: 0 / 477.3 MB, free: 1.125 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-06/3.82, allocations: 7.984 kB / 477.3 MB, free: 1.117 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/3.82, allocations: 4.078 kB / 477.3 MB, free: 1.113 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/3.82, allocations: 4 kB / 477.3 MB, free: 1.109 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/3.82, allocations: 0 / 477.3 MB, free: 1.109 MB / 370.8 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 0.0001523/3.82, allocations: 134.5 kB / 477.4 MB, free: 0.9648 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/3.82, allocations: 4 kB / 477.4 MB, free: 0.9609 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/3.82, allocations: 3 kB / 477.4 MB, free: 0.9609 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/3.82, allocations: 4 kB / 477.4 MB, free: 0.957 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/3.82, allocations: 3.938 kB / 477.4 MB, free: 0.9531 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/3.82, allocations: 0 / 477.4 MB, free: 0.9531 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/3.821, allocations: 134.1 kB / 477.6 MB, free: 0.7891 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/3.821, allocations: 4 kB / 477.6 MB, free: 0.7852 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/3.821, allocations: 4 kB / 477.6 MB, free: 0.7812 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/3.821, allocations: 0 / 477.6 MB, free: 0.7812 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/3.821, allocations: 0 / 477.6 MB, free: 0.7812 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/3.821, allocations: 0 / 477.6 MB, free: 0.7812 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/3.821, allocations: 0 / 477.6 MB, free: 0.7812 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001235/3.821, allocations: 57.12 kB / 477.6 MB, free: 0.707 MB / 370.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000283/3.821, allocations: 451.4 kB / 478.1 MB, free: 260 kB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/3.821, allocations: 77.11 kB / 478.2 MB, free: 164 kB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/3.821, allocations: 3.984 kB / 478.2 MB, free: 160 kB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.594e-05/3.821, allocations: 3.938 kB / 478.2 MB, free: 156 kB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/3.821, allocations: 0 / 478.2 MB, free: 156 kB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/3.821, allocations: 7.906 kB / 478.2 MB, free: 148 kB / 370.8 MB Notification: Performance of sort global known variables: time 3.347e-05/3.821, allocations: 82.94 kB / 478.3 MB, free: 68 kB / 370.8 MB Notification: Performance of remove unused functions: time 0.001657/3.823, allocations: 70.73 kB / 478.3 MB, free: 8 kB / 370.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: 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.005372/3.828, allocations: 0.7481 MB / 479.1 MB, free: 15.3 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0001333/3.829, allocations: 33.62 kB / 479.1 MB, free: 15.27 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/3.829, allocations: 0 / 479.1 MB, free: 15.27 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/3.829, allocations: 33.77 kB / 479.1 MB, free: 15.23 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/3.829, allocations: 0 / 479.1 MB, free: 15.23 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/3.829, allocations: 43.94 kB / 479.2 MB, free: 15.16 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/3.829, allocations: 0.6918 MB / 479.9 MB, free: 14.45 MB / 386.8 MB Notification: Performance of SimCode: time 1.002e-06/3.829, allocations: 0 / 479.9 MB, free: 14.45 MB / 386.8 MB