Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",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(Modelica): time 3.04/3.04, allocations: 194.9 MB / 202.6 MB, free: 6.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3473/3.387, allocations: 46.83 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/3.527, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/4.041, allocations: 83.99 MB / 377.9 MB, free: 6.621 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005233/4.042, allocations: 84.27 kB / 378 MB, free: 6.609 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.498/4.54, allocations: 57.46 MB / 435.4 MB, free: 2.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.423e-05/4.54, allocations: 11.94 kB / 435.4 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02999/4.57, allocations: 1.584 MB / 437 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02605/4.596, allocations: 3.304 MB / 440.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/4.596, allocations: 76 kB / 440.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/4.599, allocations: 136 kB / 440.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02164/4.621, allocations: 4.03 MB / 444.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/4.651, allocations: 6.308 MB / 450.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/4.651, allocations: 39.62 kB / 450.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/4.653, allocations: 27.98 kB / 450.9 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003246/4.656, allocations: 0.7571 MB / 451.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09742/4.754, allocations: 32.53 MB / 484.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008582/4.762, allocations: 2.141 MB / 486.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005151/4.768, allocations: 1.143 MB / 487.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/4.787, allocations: 3.639 MB / 491.2 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.474e-05/4.787, allocations: 38.56 kB / 491.2 MB, free: 8.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 8.927e-06/4.787, allocations: 0 / 491.2 MB, free: 8.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=101): time 0.05847/4.846, allocations: 8.13 MB / 499.3 MB, free: 304 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/4.846, allocations: 144.9 kB / 499.5 MB, free: 128 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2164/5.063, allocations: 2.175 MB / 0.4899 GB, free: 143 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003667/5.063, allocations: 25.7 kB / 0.4899 GB, free: 143 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002752/5.066, allocations: 2.039 MB / 0.4919 GB, free: 142.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009821/5.067, allocations: 413 kB / 0.4923 GB, free: 142.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007038/5.068, allocations: 1.562 kB / 0.4923 GB, free: 142.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007773/5.068, allocations: 0.5372 MB / 0.4928 GB, free: 141.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006159/5.074, allocations: 1.334 MB / 0.4941 GB, free: 141.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009373/5.084, allocations: 4.233 MB / 0.4983 GB, free: 138 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/5.094, allocations: 2.381 MB / 0.5006 GB, free: 137.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/5.094, allocations: 29.53 kB / 0.5006 GB, free: 137.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.03156/5.126, allocations: 5.413 MB / 0.5059 GB, free: 137.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/5.126, allocations: 3.312 kB / 0.5059 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002972/5.126, allocations: 107 kB / 0.506 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008183/5.135, allocations: 0.748 MB / 0.5067 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01156/5.146, allocations: 1.019 MB / 0.5077 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/5.162, allocations: 3.921 MB / 0.5116 GB, free: 136.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/5.173, allocations: 184.4 kB / 0.5117 GB, free: 136.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/5.175, allocations: 281.8 kB / 0.512 GB, free: 136.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 543 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001867/5.177, allocations: 354.3 kB / 0.5123 GB, free: 135.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/5.178, allocations: 207.7 kB / 0.5125 GB, free: 135.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/5.191, allocations: 1.736 MB / 0.5142 GB, free: 135.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001294/5.191, allocations: 11.81 kB / 0.5142 GB, free: 135.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/5.191, allocations: 0 / 0.5142 GB, free: 135.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/5.191, allocations: 11.23 kB / 0.5143 GB, free: 135.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/5.217, allocations: 3.994 MB / 0.5182 GB, free: 135.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/5.217, allocations: 0 / 0.5182 GB, free: 135.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/5.22, allocations: 122.3 kB / 0.5183 GB, free: 135.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007368/5.227, allocations: 0.5845 MB / 0.5188 GB, free: 135.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003631/5.227, allocations: 7.156 kB / 0.5189 GB, free: 135.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/5.242, allocations: 3.484 MB / 0.5223 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/5.242, allocations: 0 / 0.5223 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01843/5.26, allocations: 3.604 MB / 0.5258 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0226/5.283, allocations: 5.035 MB / 0.5307 GB, free: 130.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002395/5.285, allocations: 415.5 kB / 0.5311 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/5.287, allocations: 3.969 kB / 0.5311 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003897/5.29, allocations: 37.94 kB / 0.5311 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005076/5.291, allocations: 42.88 kB / 0.5312 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002563/5.291, allocations: 30.88 kB / 0.5312 GB, free: 129.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.006468/5.298, allocations: 1.441 MB / 0.5326 GB, free: 129.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01246/5.31, allocations: 0.5485 MB / 0.5331 GB, free: 129.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009459/5.311, allocations: 141.4 kB / 0.5333 GB, free: 129.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01416/5.326, allocations: 3.186 MB / 0.5364 GB, free: 128.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/5.326, allocations: 5.234 kB / 0.5364 GB, free: 128.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004042/5.33, allocations: 0.8784 MB / 0.5373 GB, free: 127.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/5.333, allocations: 193.3 kB / 0.5374 GB, free: 127.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/5.359, allocations: 4.405 MB / 0.5417 GB, free: 125.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009854/5.369, allocations: 2.416 MB / 0.5441 GB, free: 123.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.575e-06/5.369, allocations: 0 / 0.5441 GB, free: 123.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat