Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",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(Modelica): time 1.708/1.708, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.203/1.911, allocations: 41.11 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/2.005, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/2.3, allocations: 78.55 MB / 336.6 MB, free: 9.598 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/2.301, allocations: 81.52 kB / 336.7 MB, free: 9.559 MB / 282.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.284/2.585, allocations: 57.47 MB / 394.1 MB, free: 4.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/2.585, allocations: 12 kB / 394.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/2.601, allocations: 1.564 MB / 395.7 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01443/2.616, allocations: 3.31 MB / 399 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/2.616, allocations: 87.83 kB / 399.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/2.618, allocations: 135.9 kB / 399.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01261/2.63, allocations: 4.03 MB / 403.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/2.649, allocations: 6.308 MB / 409.6 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/2.649, allocations: 47.53 kB / 409.6 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006645/2.649, allocations: 24 kB / 409.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001772/2.651, allocations: 0.7498 MB / 410.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1876/2.839, allocations: 32.51 MB / 442.9 MB, free: 102.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005711/2.845, allocations: 2.145 MB / 445 MB, free: 102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/2.848, allocations: 1.132 MB / 446.2 MB, free: 101.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/2.862, allocations: 3.646 MB / 449.8 MB, free: 100.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/2.862, allocations: 40.69 kB / 449.9 MB, free: 100.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 7.013e-06/2.862, allocations: 0 / 449.9 MB, free: 100.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=101): time 0.04006/2.902, allocations: 8.132 MB / 458 MB, free: 98.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/2.902, allocations: 150 kB / 458.1 MB, free: 98.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007536/2.91, allocations: 2.18 MB / 460.3 MB, free: 98.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003585/2.91, allocations: 25.7 kB / 460.3 MB, free: 98.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002608/2.913, allocations: 2.035 MB / 462.4 MB, free: 96.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009566/2.914, allocations: 417.2 kB / 462.8 MB, free: 96.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006941/2.915, allocations: 0 / 462.8 MB, free: 96.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0007043/2.915, allocations: 0.5389 MB / 463.3 MB, free: 96.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005318/2.921, allocations: 1.336 MB / 464.7 MB, free: 95.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007654/2.929, allocations: 4.23 MB / 468.9 MB, free: 91.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/2.937, allocations: 2.383 MB / 471.3 MB, free: 90.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/2.937, allocations: 34.03 kB / 471.3 MB, free: 90.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.02932/2.966, allocations: 5.413 MB / 476.7 MB, free: 89.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/2.966, allocations: 7.188 kB / 476.7 MB, free: 89.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002422/2.966, allocations: 104.1 kB / 476.8 MB, free: 89.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004692/2.971, allocations: 0.7531 MB / 477.6 MB, free: 88.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006923/2.978, allocations: 1.018 MB / 478.6 MB, free: 88.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009454/2.988, allocations: 3.915 MB / 482.5 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005793/2.994, allocations: 176.9 kB / 482.7 MB, free: 86.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/2.995, allocations: 290.9 kB / 483 MB, free: 86.76 MB / 346.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.001513/2.996, allocations: 355 kB / 483.3 MB, free: 86.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/2.997, allocations: 212.3 kB / 483.5 MB, free: 86.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007356/3.005, allocations: 1.738 MB / 485.3 MB, free: 85.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.794e-05/3.005, allocations: 11.75 kB / 485.3 MB, free: 85.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/3.005, allocations: 7.281 kB / 485.3 MB, free: 85.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/3.005, allocations: 3.844 kB / 485.3 MB, free: 85.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/3.021, allocations: 3.989 MB / 489.3 MB, free: 81.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/3.021, allocations: 0 / 489.3 MB, free: 81.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/3.022, allocations: 126.2 kB / 489.4 MB, free: 81.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004626/3.027, allocations: 0.5817 MB / 490 MB, free: 81.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003585/3.028, allocations: 8 kB / 490 MB, free: 81.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/3.04, allocations: 3.47 MB / 493.5 MB, free: 78.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/3.04, allocations: 4 kB / 493.5 MB, free: 78.19 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01001/3.05, allocations: 3.603 MB / 497.1 MB, free: 75.05 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01267/3.062, allocations: 5.046 MB / 0.4903 GB, free: 70.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/3.064, allocations: 409.8 kB / 0.4907 GB, free: 70.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005198/3.064, allocations: 4 kB / 0.4907 GB, free: 70.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/3.066, allocations: 37.92 kB / 0.4908 GB, free: 70.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/3.067, allocations: 46.66 kB / 0.4908 GB, free: 70.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/3.067, allocations: 27.7 kB / 0.4908 GB, free: 70.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.006748/3.074, allocations: 1.443 MB / 0.4923 GB, free: 68.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01145/3.085, allocations: 0.5472 MB / 0.4928 GB, free: 68.3 MB / 346.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.0008283/3.086, allocations: 143.3 kB / 0.4929 GB, free: 68.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01184/3.098, allocations: 3.18 MB / 0.496 GB, free: 65.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/3.098, allocations: 0 / 0.496 GB, free: 65.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/3.101, allocations: 0.8822 MB / 0.4969 GB, free: 64.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/3.103, allocations: 197.2 kB / 0.4971 GB, free: 64.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/3.123, allocations: 4.395 MB / 0.5014 GB, free: 60.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007018/3.13, allocations: 2.413 MB / 0.5037 GB, free: 58.39 MB / 346.7 MB Notification: Performance of SimCode: time 2.154e-06/3.13, allocations: 0 / 0.5037 GB, free: 58.39 MB / 346.7 MB