Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",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.01/3.01, allocations: 194.9 MB / 202.6 MB, free: 14.27 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2545/3.265, allocations: 46.84 MB / 249.4 MB, free: 14.18 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/3.374, allocations: 44.5 MB / 293.9 MB, free: 1.598 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/3.813, allocations: 90.18 MB / 384.1 MB, free: 0.9141 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005178/3.813, allocations: 81.33 kB / 384.2 MB, free: 0.875 MB / 290.8 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.5086/4.322, allocations: 72.71 MB / 456.9 MB, free: 14.98 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/4.322, allocations: 12 kB / 456.9 MB, free: 14.97 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02084/4.343, allocations: 1.692 MB / 458.6 MB, free: 13.27 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/4.366, allocations: 4.076 MB / 462.7 MB, free: 9.133 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/4.366, allocations: 108 kB / 462.8 MB, free: 9.027 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/4.368, allocations: 199.9 kB / 463 MB, free: 8.832 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01979/4.388, allocations: 5.186 MB / 468.1 MB, free: 3.641 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/4.417, allocations: 8.087 MB / 476.2 MB, free: 10.57 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003167/4.417, allocations: 55.47 kB / 476.3 MB, free: 10.52 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/4.42, allocations: 31.98 kB / 476.3 MB, free: 10.48 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004149/4.424, allocations: 0.9263 MB / 477.2 MB, free: 9.559 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3611/4.785, allocations: 41.6 MB / 0.5067 GB, free: 111.1 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007804/4.793, allocations: 2.545 MB / 0.5092 GB, free: 110.4 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005261/4.798, allocations: 1.534 MB / 0.5107 GB, free: 110.4 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02159/4.82, allocations: 5.144 MB / 0.5157 GB, free: 108.7 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.837e-05/4.82, allocations: 49.03 kB / 0.5157 GB, free: 108.7 MB / 402.8 MB Notification: Performance of pre-optimization done (n=114): time 8.907e-06/4.82, allocations: 3.281 kB / 0.5157 GB, free: 108.7 MB / 402.8 MB Notification: Performance of matching and sorting (n=123): time 0.06393/4.884, allocations: 10.63 MB / 0.5261 GB, free: 106.2 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/4.884, allocations: 141.6 kB / 0.5263 GB, free: 106.1 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/4.896, allocations: 2.831 MB / 0.529 GB, free: 105.8 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004517/4.896, allocations: 29.17 kB / 0.529 GB, free: 105.7 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003537/4.9, allocations: 2.619 MB / 0.5316 GB, free: 104.2 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/4.901, allocations: 0.4897 MB / 0.5321 GB, free: 103.9 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/4.902, allocations: 0 / 0.5321 GB, free: 103.9 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0008901/4.903, allocations: 0.5344 MB / 0.5326 GB, free: 103.6 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007268/4.911, allocations: 1.621 MB / 0.5342 GB, free: 103.6 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/4.921, allocations: 5.13 MB / 0.5392 GB, free: 99.01 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/4.933, allocations: 2.888 MB / 0.542 GB, free: 99 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001969/4.933, allocations: 36.19 kB / 0.542 GB, free: 99 MB / 402.8 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.02968/4.963, allocations: 6.017 MB / 0.5479 GB, free: 97.77 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/4.963, allocations: 3.562 kB / 0.5479 GB, free: 97.77 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003828/4.963, allocations: 127.9 kB / 0.548 GB, free: 97.77 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/4.965, allocations: 342 kB / 0.5484 GB, free: 97.73 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/4.98, allocations: 1.289 MB / 0.5496 GB, free: 97.57 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/4.986, allocations: 2.22 MB / 0.5518 GB, free: 95.97 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/4.998, allocations: 168.3 kB / 0.552 GB, free: 95.95 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002119/5, allocations: 346.9 kB / 0.5523 GB, free: 95.91 MB / 402.8 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.002851/5.003, allocations: 410.3 kB / 0.5527 GB, free: 95.56 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/5.004, allocations: 283.9 kB / 0.553 GB, free: 95.41 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/5.02, allocations: 2.189 MB / 0.5551 GB, free: 94.69 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001311/5.02, allocations: 13.31 kB / 0.5551 GB, free: 94.69 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/5.02, allocations: 2.969 kB / 0.5551 GB, free: 94.69 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/5.02, allocations: 12.75 kB / 0.5551 GB, free: 94.69 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.033/5.053, allocations: 5.187 MB / 0.5602 GB, free: 92.87 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/5.053, allocations: 3.906 kB / 0.5602 GB, free: 92.87 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003217/5.056, allocations: 156.3 kB / 0.5603 GB, free: 92.86 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007944/5.064, allocations: 0.644 MB / 0.561 GB, free: 92.74 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005459/5.065, allocations: 7.516 kB / 0.561 GB, free: 92.74 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/5.082, allocations: 4.214 MB / 0.5651 GB, free: 90.38 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/5.083, allocations: 1.375 kB / 0.5651 GB, free: 90.38 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02031/5.103, allocations: 4.297 MB / 0.5693 GB, free: 86.7 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02461/5.128, allocations: 5.999 MB / 0.5751 GB, free: 81.36 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/5.13, allocations: 0.4972 MB / 0.5756 GB, free: 80.88 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/5.132, allocations: 0 / 0.5756 GB, free: 80.88 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004395/5.136, allocations: 30.83 kB / 0.5757 GB, free: 80.86 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006503/5.137, allocations: 53.66 kB / 0.5757 GB, free: 80.83 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000307/5.138, allocations: 35.84 kB / 0.5757 GB, free: 80.8 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.007818/5.145, allocations: 1.888 MB / 0.5776 GB, free: 79.15 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0135/5.159, allocations: 0.6963 MB / 0.5783 GB, free: 78.46 MB / 402.8 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.001033/5.16, allocations: 147.9 kB / 0.5784 GB, free: 78.32 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0147/5.175, allocations: 3.829 MB / 0.5822 GB, free: 74.84 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/5.175, allocations: 0 / 0.5822 GB, free: 74.84 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004082/5.179, allocations: 1.046 MB / 0.5832 GB, free: 73.89 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004615/5.184, allocations: 290.7 kB / 0.5834 GB, free: 73.64 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/5.214, allocations: 5.88 MB / 0.5892 GB, free: 68.35 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01251/5.227, allocations: 3.07 MB / 0.5922 GB, free: 65.95 MB / 402.8 MB Notification: Performance of SimCode: time 2.716e-06/5.227, allocations: 0 / 0.5922 GB, free: 65.95 MB / 402.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat does not exist to compare? outputFormat=mat