Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",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.587/1.587, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2145/1.802, allocations: 46.84 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/1.887, allocations: 44.5 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/2.173, allocations: 90.18 MB / 384 MB, free: 4.977 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/2.173, allocations: 80.98 kB / 384.1 MB, free: 4.965 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.2981/2.471, allocations: 72.71 MB / 456.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/2.471, allocations: 8 kB / 456.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/2.487, allocations: 1.688 MB / 458.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01615/2.503, allocations: 4.075 MB / 462.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/2.503, allocations: 112 kB / 462.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/2.505, allocations: 207.9 kB / 462.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01421/2.519, allocations: 5.188 MB / 468.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/2.539, allocations: 8.086 MB / 476.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/2.539, allocations: 55.47 kB / 476.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006755/2.54, allocations: 28 kB / 476.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/2.542, allocations: 0.9251 MB / 477.2 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2252/2.767, allocations: 41.61 MB / 0.5066 GB, free: 35.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004539/2.771, allocations: 2.542 MB / 0.5091 GB, free: 35.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/2.774, allocations: 1.53 MB / 0.5106 GB, free: 35.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/2.786, allocations: 5.149 MB / 0.5156 GB, free: 33.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/2.786, allocations: 48.22 kB / 0.5157 GB, free: 33.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 4.729e-06/2.786, allocations: 0 / 0.5157 GB, free: 33.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.03253/2.819, allocations: 10.63 MB / 0.5261 GB, free: 30.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/2.819, allocations: 139.3 kB / 0.5262 GB, free: 30.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/2.824, allocations: 2.836 MB / 0.529 GB, free: 30.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003166/2.825, allocations: 25.7 kB / 0.529 GB, free: 30.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001668/2.826, allocations: 2.614 MB / 0.5315 GB, free: 28.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006742/2.827, allocations: 0.4942 MB / 0.532 GB, free: 28.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/2.827, allocations: 0 / 0.532 GB, free: 28.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003411/2.828, allocations: 0.5366 MB / 0.5325 GB, free: 28.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/2.831, allocations: 1.62 MB / 0.5341 GB, free: 28.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/2.837, allocations: 5.127 MB / 0.5391 GB, free: 23.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006137/2.843, allocations: 2.891 MB / 0.542 GB, free: 23.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.756e-05/2.843, allocations: 36.81 kB / 0.542 GB, free: 23.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.01594/2.859, allocations: 6.015 MB / 0.5479 GB, free: 23.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/2.859, allocations: 3.875 kB / 0.5479 GB, free: 23.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/2.859, allocations: 128.7 kB / 0.548 GB, free: 23.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009741/2.86, allocations: 345.1 kB / 0.5483 GB, free: 23.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008083/2.868, allocations: 1.285 MB / 0.5496 GB, free: 23.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/2.871, allocations: 2.221 MB / 0.5517 GB, free: 21.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006008/2.877, allocations: 161.2 kB / 0.5519 GB, free: 21.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/2.879, allocations: 349 kB / 0.5522 GB, free: 21.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[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 (681): * Single equations (assignments): 677 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009999/2.88, allocations: 423.9 kB / 0.5526 GB, free: 21.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006771/2.88, allocations: 276.4 kB / 0.5529 GB, free: 21.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007555/2.888, allocations: 2.192 MB / 0.555 GB, free: 20.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/2.888, allocations: 15.5 kB / 0.5551 GB, free: 20.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/2.888, allocations: 3.844 kB / 0.5551 GB, free: 20.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/2.888, allocations: 3.422 kB / 0.5551 GB, free: 20.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/2.904, allocations: 5.187 MB / 0.5601 GB, free: 18.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/2.904, allocations: 3.875 kB / 0.5601 GB, free: 18.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/2.906, allocations: 154 kB / 0.5603 GB, free: 18.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003962/2.91, allocations: 0.6531 MB / 0.5609 GB, free: 18.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/2.91, allocations: 7.625 kB / 0.5609 GB, free: 18.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008403/2.918, allocations: 4.213 MB / 0.565 GB, free: 16.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/2.918, allocations: 3.906 kB / 0.565 GB, free: 16.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01072/2.929, allocations: 4.303 MB / 0.5692 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0132/2.942, allocations: 5.992 MB / 0.5751 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/2.944, allocations: 0.4915 MB / 0.5756 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006076/2.945, allocations: 6.609 kB / 0.5756 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/2.947, allocations: 29.48 kB / 0.5756 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/2.947, allocations: 59.16 kB / 0.5757 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/2.947, allocations: 39.64 kB / 0.5757 GB, free: 11.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003845/2.951, allocations: 1.884 MB / 0.5775 GB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006758/2.958, allocations: 0.6954 MB / 0.5782 GB, free: 10.67 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 (91): * Single equations (assignments): 87 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005145/2.958, allocations: 146.1 kB / 0.5784 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009053/2.967, allocations: 3.824 MB / 0.5821 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/2.967, allocations: 0 / 0.5821 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002331/2.97, allocations: 1.061 MB / 0.5831 GB, free: 8.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/2.972, allocations: 287.5 kB / 0.5834 GB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/2.99, allocations: 5.874 MB / 0.5891 GB, free: 6.582 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006728/2.997, allocations: 3.068 MB / 0.5921 GB, free: 4.301 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/2.997, allocations: 0 / 0.5921 GB, free: 4.301 MB / 394.7 MB