Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.Distance,fileNamePrefix="ModelicaTest_3_2_2_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.23/2.23, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1729/2.403, allocations: 57.2 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/2.697, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/3.147, allocations: 98.18 MB / 452.2 MB, free: 32.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/3.147, allocations: 78.25 kB / 452.2 MB, free: 32.68 MB / 378.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.3719/3.519, allocations: 73.83 MB / 0.5137 GB, free: 8.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/3.519, allocations: 8 kB / 0.5137 GB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0438/3.563, allocations: 3.902 MB / 0.5176 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0233/3.586, allocations: 4.26 MB / 0.5217 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/3.587, allocations: 104 kB / 0.5218 GB, free: 444 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/3.589, allocations: 195.9 kB / 0.522 GB, free: 248 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01983/3.609, allocations: 4.803 MB / 0.5267 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/3.639, allocations: 7.704 MB / 0.5342 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003455/3.64, allocations: 59.45 kB / 0.5343 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002301/3.642, allocations: 28 kB / 0.5343 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002776/3.645, allocations: 0.8677 MB / 0.5351 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0947/3.74, allocations: 38.77 MB / 0.573 GB, free: 9.801 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007899/3.748, allocations: 2.166 MB / 0.5751 GB, free: 7.488 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/3.752, allocations: 1.193 MB / 0.5763 GB, free: 6.285 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01823/3.771, allocations: 4.202 MB / 0.5804 GB, free: 1.875 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.548e-05/3.771, allocations: 47 kB / 0.5804 GB, free: 1.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 8.787e-06/3.771, allocations: 0 / 0.5804 GB, free: 1.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.06041/3.831, allocations: 10.46 MB / 0.5907 GB, free: 7.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/3.831, allocations: 192.7 kB / 0.5908 GB, free: 7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008591/3.84, allocations: 2.836 MB / 0.5936 GB, free: 4.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004305/3.841, allocations: 29.64 kB / 0.5936 GB, free: 4.125 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003575/3.844, allocations: 2.573 MB / 0.5961 GB, free: 1.512 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001194/3.845, allocations: 0.5439 MB / 0.5967 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007928/3.846, allocations: 0 / 0.5967 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005911/3.847, allocations: 0.5414 MB / 0.5972 GB, free: 424 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005205/3.852, allocations: 1.577 MB / 0.5987 GB, free: 14.83 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009409/3.862, allocations: 5.112 MB / 0.6037 GB, free: 7.906 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/3.874, allocations: 2.864 MB / 0.6065 GB, free: 5.039 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002172/3.875, allocations: 40 kB / 0.6066 GB, free: 5 MB / 474.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.1862/4.061, allocations: 5.98 MB / 0.6124 GB, free: 153.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/4.061, allocations: 7.156 kB / 0.6124 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/4.061, allocations: 125.7 kB / 0.6125 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/4.062, allocations: 354.5 kB / 0.6129 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008375/4.071, allocations: 1.277 MB / 0.6141 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/4.075, allocations: 2.564 MB / 0.6166 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006401/4.082, allocations: 168.3 kB / 0.6168 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/4.083, allocations: 349.7 kB / 0.6171 GB, free: 151.9 MB / 474.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.002079/4.086, allocations: 414.3 kB / 0.6175 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008267/4.086, allocations: 279.1 kB / 0.6178 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005706/4.092, allocations: 1.683 MB / 0.6194 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.741e-05/4.092, allocations: 11.84 kB / 0.6194 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/4.092, allocations: 4.812 kB / 0.6194 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/4.092, allocations: 5.578 kB / 0.6195 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/4.107, allocations: 4.494 MB / 0.6238 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/4.107, allocations: 3.656 kB / 0.6238 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/4.109, allocations: 216.1 kB / 0.624 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009212/4.11, allocations: 150.2 kB / 0.6242 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000293/4.111, allocations: 9.391 kB / 0.6242 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/4.114, allocations: 2.032 MB / 0.6262 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/4.114, allocations: 3.688 kB / 0.6262 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00806/4.122, allocations: 3.731 MB / 0.6298 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01652/4.139, allocations: 5.364 MB / 0.6351 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/4.141, allocations: 0.4963 MB / 0.6356 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002602/4.144, allocations: 2.297 kB / 0.6356 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/4.147, allocations: 34.22 kB / 0.6356 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003793/4.147, allocations: 59.62 kB / 0.6356 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/4.147, allocations: 39.77 kB / 0.6357 GB, free: 148.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005157/4.152, allocations: 1.891 MB / 0.6375 GB, free: 148.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007679/4.16, allocations: 0.6783 MB / 0.6382 GB, free: 148.2 MB / 474.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.0006694/4.161, allocations: 137.8 kB / 0.6383 GB, free: 148.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009131/4.17, allocations: 3.782 MB / 0.642 GB, free: 148 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/4.17, allocations: 0 / 0.642 GB, free: 148 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/4.173, allocations: 1.033 MB / 0.643 GB, free: 147.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/4.176, allocations: 279.2 kB / 0.6433 GB, free: 147.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/4.206, allocations: 5.937 MB / 0.6491 GB, free: 146.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01001/4.216, allocations: 3.056 MB / 0.6521 GB, free: 146 MB / 474.7 MB Notification: Performance of SimCode: time 2.725e-06/4.216, allocations: 0 / 0.6521 GB, free: 146 MB / 474.7 MB