Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.271/2.271, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2077/2.479, allocations: 57.2 MB / 299.1 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/2.775, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4068/3.182, allocations: 98.44 MB / 452.4 MB, free: 32.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/3.182, allocations: 80.88 kB / 452.5 MB, free: 32.98 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.345/3.527, allocations: 80.92 MB / 0.5209 GB, free: 1.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/3.527, allocations: 8 kB / 0.5209 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02612/3.553, allocations: 2.74 MB / 0.5236 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009714/3.563, allocations: 2.344 MB / 0.5259 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/3.563, allocations: 128 kB / 0.526 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/3.566, allocations: 232 kB / 0.5262 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0207/3.587, allocations: 6.791 MB / 0.5329 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03345/3.62, allocations: 10.1 MB / 0.5427 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000231/3.621, allocations: 47.56 kB / 0.5428 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002635/3.623, allocations: 28 kB / 0.5428 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002591/3.626, allocations: 1.202 MB / 0.544 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09314/3.719, allocations: 46.03 MB / 0.5889 GB, free: 9.008 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006059/3.725, allocations: 2.771 MB / 0.5916 GB, free: 5.969 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/3.728, allocations: 1.053 MB / 0.5927 GB, free: 4.898 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/3.728, allocations: 16.78 kB / 0.5927 GB, free: 4.879 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/3.729, allocations: 51.28 kB / 0.5927 GB, free: 4.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=179): time 6.402e-06/3.729, allocations: 3.938 kB / 0.5927 GB, free: 4.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=179): time 0.009712/3.738, allocations: 2.491 MB / 0.5952 GB, free: 2.316 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/3.738, allocations: 167 kB / 0.5953 GB, free: 2.113 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009772/3.748, allocations: 3.143 MB / 0.5984 GB, free: 14.97 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003558/3.749, allocations: 25.7 kB / 0.5984 GB, free: 14.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00402/3.753, allocations: 3.264 MB / 0.6016 GB, free: 11.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001489/3.754, allocations: 0.6905 MB / 0.6023 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009776/3.755, allocations: 0 / 0.6023 GB, free: 10.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001261/3.757, allocations: 0.6708 MB / 0.6029 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006587/3.763, allocations: 1.958 MB / 0.6048 GB, free: 8.285 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1944/3.958, allocations: 6.481 MB / 0.6112 GB, free: 152.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008879/3.967, allocations: 3.685 MB / 0.6148 GB, free: 152.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/3.967, allocations: 49.91 kB / 0.6148 GB, free: 152.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.02171/3.989, allocations: 7.294 MB / 0.6219 GB, free: 151.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/3.989, allocations: 6.875 kB / 0.6219 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002608/3.989, allocations: 169.1 kB / 0.6221 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/3.989, allocations: 239.2 kB / 0.6223 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/4, allocations: 1.603 MB / 0.6239 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002765/4, allocations: 317.7 kB / 0.6242 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00819/4.008, allocations: 0.7968 MB / 0.625 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/4.01, allocations: 439.8 kB / 0.6254 GB, free: 151.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (877): * Single equations (assignments): 871 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001726/4.012, allocations: 486 kB / 0.6259 GB, free: 151.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008227/4.013, allocations: 306.1 kB / 0.6262 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005541/4.018, allocations: 1.94 MB / 0.628 GB, free: 151.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001566/4.018, allocations: 31.02 kB / 0.6281 GB, free: 151.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/4.019, allocations: 6.781 kB / 0.6281 GB, free: 151.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/4.019, allocations: 3.797 kB / 0.6281 GB, free: 151.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/4.036, allocations: 5.962 MB / 0.6339 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/4.036, allocations: 7.562 kB / 0.6339 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/4.038, allocations: 232.8 kB / 0.6341 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.684e-05/4.038, allocations: 17.53 kB / 0.6342 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/4.039, allocations: 18.2 kB / 0.6342 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-05/4.039, allocations: 21.78 kB / 0.6342 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/4.039, allocations: 11.53 kB / 0.6342 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006025/4.045, allocations: 3.671 MB / 0.6378 GB, free: 148.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006337/4.051, allocations: 4.089 MB / 0.6418 GB, free: 146 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009483/4.052, allocations: 374.1 kB / 0.6421 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008904/4.053, allocations: 13.94 kB / 0.6422 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/4.055, allocations: 35.59 kB / 0.6422 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/4.056, allocations: 88.11 kB / 0.6423 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/4.056, allocations: 51.44 kB / 0.6423 GB, free: 145.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005405/4.061, allocations: 2.066 MB / 0.6443 GB, free: 145.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00871/4.07, allocations: 1.021 MB / 0.6453 GB, free: 145.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007786/4.071, allocations: 140.5 kB / 0.6455 GB, free: 145.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01092/4.082, allocations: 4.517 MB / 0.6499 GB, free: 145 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/4.082, allocations: 0 / 0.6499 GB, free: 145 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/4.084, allocations: 1.08 MB / 0.6509 GB, free: 145 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/4.087, allocations: 258.5 kB / 0.6512 GB, free: 145 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/4.116, allocations: 7.461 MB / 0.6585 GB, free: 143.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0103/4.126, allocations: 3.648 MB / 0.662 GB, free: 142.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.204e-06/4.126, allocations: 1.969 kB / 0.662 GB, free: 142.6 MB / 474.7 MB