Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.Distance,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_Distance",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(ModelicaTest): time 2.168/2.168, allocations: 209.3 MB / 216.3 MB, free: 4.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1845/2.353, allocations: 51.03 MB / 267.3 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/2.632, allocations: 48.7 MB / 316 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/2.82, allocations: 91.36 MB / 407.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004534/2.82, allocations: 79.94 kB / 407.4 MB, free: 5.598 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1216 * Number of variables: 1216 Notification: Performance of Generate backend data structure: time 0.5399/3.36, allocations: 73.84 MB / 481.3 MB, free: 86.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/3.36, allocations: 8.906 kB / 481.3 MB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03069/3.391, allocations: 3.905 MB / 485.2 MB, free: 83.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02211/3.413, allocations: 4.247 MB / 489.4 MB, free: 79.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/3.413, allocations: 104 kB / 489.5 MB, free: 79.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002583/3.416, allocations: 195.9 kB / 489.7 MB, free: 78.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01843/3.435, allocations: 4.799 MB / 494.5 MB, free: 74.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02021/3.455, allocations: 7.704 MB / 0.4904 GB, free: 65.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002157/3.455, allocations: 55.47 kB / 0.4905 GB, free: 65.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001575/3.457, allocations: 28 kB / 0.4905 GB, free: 65.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/3.459, allocations: 0.8754 MB / 0.4914 GB, free: 64.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05636/3.515, allocations: 38.78 MB / 0.5293 GB, free: 24.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/3.52, allocations: 2.17 MB / 0.5314 GB, free: 22.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/3.522, allocations: 1.188 MB / 0.5325 GB, free: 21.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009864/3.532, allocations: 4.197 MB / 0.5366 GB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/3.532, allocations: 50.98 kB / 0.5367 GB, free: 16.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 5.46e-06/3.532, allocations: 0 / 0.5367 GB, free: 16.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.04196/3.574, allocations: 10.46 MB / 0.5469 GB, free: 6.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/3.574, allocations: 196.6 kB / 0.5471 GB, free: 5.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006666/3.581, allocations: 2.832 MB / 0.5498 GB, free: 3.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/3.581, allocations: 25.7 kB / 0.5499 GB, free: 3.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/3.584, allocations: 2.572 MB / 0.5524 GB, free: 428 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/3.585, allocations: 0.5442 MB / 0.5529 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007637/3.586, allocations: 0 / 0.5529 GB, free: 15.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007076/3.586, allocations: 0.5376 MB / 0.5534 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005176/3.592, allocations: 1.581 MB / 0.555 GB, free: 13.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008604/3.6, allocations: 5.113 MB / 0.56 GB, free: 6.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007932/3.608, allocations: 2.872 MB / 0.5628 GB, free: 3.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001355/3.608, allocations: 36 kB / 0.5628 GB, free: 3.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.02579/3.634, allocations: 5.983 MB / 0.5687 GB, free: 13.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/3.634, allocations: 4 kB / 0.5687 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000401/3.635, allocations: 128 kB / 0.5688 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/3.637, allocations: 353.5 kB / 0.5691 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/3.647, allocations: 1.275 MB / 0.5704 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005607/3.653, allocations: 2.566 MB / 0.5729 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008566/3.662, allocations: 175.5 kB / 0.573 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002137/3.664, allocations: 348 kB / 0.5734 GB, free: 8.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 24 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.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 (689): * Single equations (assignments): 685 * 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 prepare postOptimizeDAE: time 0.002978/3.667, allocations: 408.4 kB / 0.5738 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/3.668, allocations: 284.3 kB / 0.574 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007203/3.675, allocations: 1.679 MB / 0.5757 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001241/3.676, allocations: 12 kB / 0.5757 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/3.676, allocations: 0 / 0.5757 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/3.676, allocations: 11.97 kB / 0.5757 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/3.691, allocations: 4.515 MB / 0.5801 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/3.691, allocations: 0 / 0.5801 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/3.694, allocations: 203.8 kB / 0.5803 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009225/3.695, allocations: 160.6 kB / 0.5805 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/3.695, allocations: 7.984 kB / 0.5805 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/3.699, allocations: 2.027 MB / 0.5824 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/3.699, allocations: 0 / 0.5824 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009333/3.708, allocations: 3.733 MB / 0.5861 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0132/3.722, allocations: 5.373 MB / 0.5913 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/3.724, allocations: 0.4933 MB / 0.5918 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009423/3.725, allocations: 0 / 0.5918 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/3.727, allocations: 31.95 kB / 0.5918 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/3.728, allocations: 64.59 kB / 0.5919 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/3.728, allocations: 44.8 kB / 0.5919 GB, free: 5.605 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005546/3.733, allocations: 1.892 MB / 0.5938 GB, free: 3.719 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007754/3.741, allocations: 0.6719 MB / 0.5944 GB, free: 3.047 MB / 426.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 (110): * Single equations (assignments): 106 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000771/3.742, allocations: 139 kB / 0.5946 GB, free: 2.898 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1951/3.937, allocations: 3.774 MB / 0.5983 GB, free: 159.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/3.937, allocations: 0 / 0.5983 GB, free: 159.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003519/3.941, allocations: 1.031 MB / 0.5993 GB, free: 159.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/3.945, allocations: 276.4 kB / 0.5995 GB, free: 159.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/3.966, allocations: 5.929 MB / 0.6053 GB, free: 158.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007578/3.974, allocations: 3.073 MB / 0.6083 GB, free: 157.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.973e-06/3.974, allocations: 2.375 kB / 0.6083 GB, free: 157.9 MB / 426.7 MB