Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Cylindrical",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.16/2.16, allocations: 209.3 MB / 216.3 MB, free: 6.863 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2727/2.433, allocations: 51.03 MB / 267.3 MB, free: 5.227 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/2.551, allocations: 48.69 MB / 316 MB, free: 4.441 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/2.9, allocations: 91.64 MB / 407.6 MB, free: 1.32 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/2.901, allocations: 79.83 kB / 407.7 MB, free: 1.277 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.6429/3.543, allocations: 91.78 MB / 499.5 MB, free: 88.29 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/3.543, allocations: 12.25 kB / 499.5 MB, free: 88.29 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02741/3.571, allocations: 2.844 MB / 0.4906 GB, free: 88 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02292/3.594, allocations: 4.464 MB / 0.4949 GB, free: 87.47 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/3.594, allocations: 138.8 kB / 0.4951 GB, free: 87.47 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002964/3.597, allocations: 251.2 kB / 0.4953 GB, free: 87.47 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02776/3.625, allocations: 7.86 MB / 0.503 GB, free: 87.44 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03496/3.66, allocations: 10.2 MB / 0.5129 GB, free: 86.14 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002445/3.66, allocations: 33.81 kB / 0.513 GB, free: 86.14 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002341/3.663, allocations: 12.59 kB / 0.513 GB, free: 86.14 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002827/3.666, allocations: 1.321 MB / 0.5143 GB, free: 86.12 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08868/3.754, allocations: 35.57 MB / 0.549 GB, free: 67.1 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009106/3.764, allocations: 3.109 MB / 0.552 GB, free: 65.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006258/3.77, allocations: 2.471 MB / 0.5545 GB, free: 64.99 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0314/3.801, allocations: 9.705 MB / 0.5639 GB, free: 58.44 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/3.801, allocations: 55.88 kB / 0.564 GB, free: 58.37 MB / 410.8 MB Notification: Performance of pre-optimization done (n=211): time 6.662e-06/3.801, allocations: 0 / 0.564 GB, free: 58.37 MB / 410.8 MB Notification: Performance of matching and sorting (n=232): time 0.05531/3.857, allocations: 15.65 MB / 0.5793 GB, free: 44.83 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/3.857, allocations: 69.41 kB / 0.5793 GB, free: 44.75 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009109/3.866, allocations: 2.547 MB / 0.5818 GB, free: 42.5 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005449/3.867, allocations: 25.7 kB / 0.5819 GB, free: 42.47 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/3.869, allocations: 2.918 MB / 0.5847 GB, free: 39.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00134/3.87, allocations: 0.8288 MB / 0.5855 GB, free: 39.1 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/3.871, allocations: 0 / 0.5855 GB, free: 39.1 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0005985/3.872, allocations: 0.5636 MB / 0.5861 GB, free: 38.6 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006144/3.878, allocations: 2.383 MB / 0.5884 GB, free: 36.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009017/3.887, allocations: 5.561 MB / 0.5938 GB, free: 29.66 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00972/3.897, allocations: 3.719 MB / 0.5975 GB, free: 26.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/3.897, allocations: 33.41 kB / 0.5975 GB, free: 26.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02647/3.923, allocations: 8.068 MB / 0.6054 GB, free: 19.51 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/3.923, allocations: 4 kB / 0.6054 GB, free: 19.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002062/3.924, allocations: 113.5 kB / 0.6055 GB, free: 19.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005881/3.929, allocations: 0.9093 MB / 0.6064 GB, free: 18.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/3.941, allocations: 1.31 MB / 0.6076 GB, free: 17.37 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02663/3.968, allocations: 4.476 MB / 0.612 GB, free: 12.78 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0171/3.985, allocations: 175.8 kB / 0.6122 GB, free: 12.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/3.987, allocations: 347.9 kB / 0.6125 GB, free: 12.27 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 710 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006221/3.993, allocations: 385.7 kB / 0.6129 GB, free: 11.89 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009271/3.994, allocations: 280.3 kB / 0.6131 GB, free: 11.61 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0264/4.02, allocations: 4.752 MB / 0.6178 GB, free: 6.836 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001505/4.021, allocations: 35.98 kB / 0.6178 GB, free: 6.801 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/4.021, allocations: 4 kB / 0.6178 GB, free: 6.797 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.174e-05/4.021, allocations: 7.969 kB / 0.6178 GB, free: 6.789 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04419/4.065, allocations: 9.336 MB / 0.6269 GB, free: 13.39 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/4.065, allocations: 4.344 kB / 0.627 GB, free: 13.38 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006127/4.071, allocations: 331.5 kB / 0.6273 GB, free: 13.06 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007724/4.079, allocations: 0.6913 MB / 0.6279 GB, free: 12.36 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007709/4.08, allocations: 12 kB / 0.628 GB, free: 12.35 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/4.094, allocations: 3.811 MB / 0.6317 GB, free: 8.438 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.256e-05/4.094, allocations: 0 / 0.6317 GB, free: 8.438 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03237/4.126, allocations: 7.452 MB / 0.639 GB, free: 0.8047 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1991/4.326, allocations: 10.49 MB / 0.6492 GB, free: 136.9 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004263/4.33, allocations: 0.668 MB / 0.6499 GB, free: 136.8 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001861/4.332, allocations: 9.031 kB / 0.6499 GB, free: 136.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004636/4.337, allocations: 64.22 kB / 0.6499 GB, free: 136.8 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009632/4.338, allocations: 95.42 kB / 0.65 GB, free: 136.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005905/4.338, allocations: 63 kB / 0.6501 GB, free: 136.8 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.006531/4.345, allocations: 1.676 MB / 0.6517 GB, free: 136.6 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01178/4.357, allocations: 0.8972 MB / 0.6526 GB, free: 136.6 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009037/4.358, allocations: 155.3 kB / 0.6527 GB, free: 136.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01549/4.373, allocations: 5.591 MB / 0.6582 GB, free: 136.4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/4.373, allocations: 0 / 0.6582 GB, free: 136.4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007781/4.381, allocations: 2.029 MB / 0.6602 GB, free: 136.3 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/4.385, allocations: 222.9 kB / 0.6604 GB, free: 136.3 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04096/4.426, allocations: 8.329 MB / 0.6685 GB, free: 134.8 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00985/4.436, allocations: 3.785 MB / 0.6722 GB, free: 134 MB / 426.8 MB Notification: Performance of SimCode: time 1.442e-06/4.436, allocations: 3.656 kB / 0.6722 GB, free: 134 MB / 426.8 MB