Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_2_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.589/1.589, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2256/1.814, allocations: 46.84 MB / 249.3 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/1.906, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/2.201, allocations: 83.98 MB / 377.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/2.202, allocations: 84.39 kB / 377.9 MB, free: 6.598 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.2622/2.464, allocations: 57.45 MB / 435.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/2.464, allocations: 15.94 kB / 435.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/2.479, allocations: 1.572 MB / 437 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/2.494, allocations: 3.316 MB / 440.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/2.494, allocations: 76 kB / 440.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/2.496, allocations: 136 kB / 440.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01204/2.508, allocations: 4.034 MB / 444.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/2.526, allocations: 6.3 MB / 450.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/2.526, allocations: 47.61 kB / 450.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001146/2.527, allocations: 20 kB / 450.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/2.529, allocations: 0.7576 MB / 451.6 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05305/2.582, allocations: 32.53 MB / 484.2 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004719/2.587, allocations: 2.145 MB / 486.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002796/2.59, allocations: 1.139 MB / 487.4 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/2.6, allocations: 3.632 MB / 491.1 MB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/2.601, allocations: 42.5 kB / 491.1 MB, free: 8.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 4.95e-06/2.601, allocations: 0 / 491.1 MB, free: 8.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=101): time 0.03052/2.631, allocations: 8.136 MB / 499.3 MB, free: 480 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/2.631, allocations: 144.9 kB / 499.4 MB, free: 304 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1335/2.765, allocations: 2.18 MB / 0.4898 GB, free: 142.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002775/2.765, allocations: 29.64 kB / 0.4899 GB, free: 142.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/2.767, allocations: 2.033 MB / 0.4918 GB, free: 141.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006934/2.768, allocations: 411 kB / 0.4922 GB, free: 141.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/2.768, allocations: 0 / 0.4922 GB, free: 141.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000455/2.769, allocations: 0.5451 MB / 0.4928 GB, free: 141.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/2.772, allocations: 1.33 MB / 0.4941 GB, free: 141.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005519/2.778, allocations: 4.234 MB / 0.4982 GB, free: 137.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005721/2.784, allocations: 2.381 MB / 0.5005 GB, free: 137.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/2.784, allocations: 31.97 kB / 0.5006 GB, free: 137.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01694/2.801, allocations: 5.403 MB / 0.5058 GB, free: 136.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/2.801, allocations: 9 kB / 0.5058 GB, free: 136.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/2.801, allocations: 108.3 kB / 0.5059 GB, free: 136.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/2.805, allocations: 0.7488 MB / 0.5067 GB, free: 136.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006439/2.812, allocations: 1.022 MB / 0.5077 GB, free: 136.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008591/2.82, allocations: 3.916 MB / 0.5115 GB, free: 135.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00569/2.826, allocations: 185.7 kB / 0.5117 GB, free: 135.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/2.827, allocations: 281.7 kB / 0.5119 GB, free: 135.4 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.001445/2.829, allocations: 348.4 kB / 0.5123 GB, free: 135.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005636/2.829, allocations: 211.8 kB / 0.5125 GB, free: 135.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007025/2.837, allocations: 1.74 MB / 0.5142 GB, free: 135 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.032e-05/2.837, allocations: 7.812 kB / 0.5142 GB, free: 135 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/2.837, allocations: 3.969 kB / 0.5142 GB, free: 135 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/2.837, allocations: 11.22 kB / 0.5142 GB, free: 135 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/2.851, allocations: 3.987 MB / 0.5181 GB, free: 134.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/2.851, allocations: 2.844 kB / 0.5181 GB, free: 134.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/2.852, allocations: 126 kB / 0.5182 GB, free: 134.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003878/2.856, allocations: 0.5786 MB / 0.5188 GB, free: 134.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/2.856, allocations: 6.953 kB / 0.5188 GB, free: 134.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00765/2.864, allocations: 3.487 MB / 0.5222 GB, free: 133.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/2.864, allocations: 4.031 kB / 0.5222 GB, free: 133.3 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01014/2.874, allocations: 3.601 MB / 0.5257 GB, free: 132.1 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01233/2.887, allocations: 5.037 MB / 0.5306 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/2.888, allocations: 412.8 kB / 0.531 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000663/2.889, allocations: 3.625 kB / 0.531 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/2.891, allocations: 37.45 kB / 0.5311 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/2.891, allocations: 46.44 kB / 0.5311 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/2.891, allocations: 31 kB / 0.5311 GB, free: 129.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003738/2.895, allocations: 1.445 MB / 0.5325 GB, free: 129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006305/2.902, allocations: 0.5472 MB / 0.5331 GB, free: 129 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.0006158/2.902, allocations: 131.9 kB / 0.5332 GB, free: 128.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00788/2.91, allocations: 3.188 MB / 0.5363 GB, free: 127.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/2.91, allocations: 3.609 kB / 0.5363 GB, free: 127.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002285/2.912, allocations: 0.877 MB / 0.5372 GB, free: 127.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/2.915, allocations: 188.5 kB / 0.5374 GB, free: 127.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/2.93, allocations: 4.405 MB / 0.5417 GB, free: 125.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005567/2.935, allocations: 2.413 MB / 0.544 GB, free: 123.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.244e-06/2.935, allocations: 0 / 0.544 GB, free: 123.7 MB / 394.7 MB