Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Universal",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.425/2.425, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.194/2.619, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/2.922, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/3.361, allocations: 96.17 MB / 450.2 MB, free: 31.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/3.361, allocations: 75.7 kB / 450.2 MB, free: 31.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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.5133/3.875, allocations: 95.7 MB / 0.5331 GB, free: 4.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/3.875, allocations: 12 kB / 0.5331 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03307/3.908, allocations: 2.899 MB / 0.536 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02944/3.937, allocations: 4.513 MB / 0.5404 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006079/3.938, allocations: 144 kB / 0.5405 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00436/3.943, allocations: 263.9 kB / 0.5408 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0371/3.98, allocations: 8.355 MB / 0.5489 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05158/4.031, allocations: 10.9 MB / 0.5596 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004332/4.032, allocations: 39.64 kB / 0.5596 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003679/4.036, allocations: 16 kB / 0.5596 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004678/4.04, allocations: 1.403 MB / 0.561 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1474/4.188, allocations: 39.18 MB / 0.5993 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0173/4.205, allocations: 5.223 MB / 0.6044 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01113/4.216, allocations: 3.088 MB / 0.6074 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2675/4.484, allocations: 11.65 MB / 0.6188 GB, free: 149.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.557e-05/4.484, allocations: 53.38 kB / 0.6188 GB, free: 149.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=219): time 1.069e-05/4.484, allocations: 0 / 0.6188 GB, free: 149.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.08028/4.564, allocations: 16.12 MB / 0.6346 GB, free: 149 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/4.565, allocations: 74.16 kB / 0.6346 GB, free: 149 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/4.575, allocations: 2.683 MB / 0.6372 GB, free: 148.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007401/4.576, allocations: 28.77 kB / 0.6373 GB, free: 148.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002471/4.578, allocations: 3.078 MB / 0.6403 GB, free: 146.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001596/4.58, allocations: 0.89 MB / 0.6411 GB, free: 146.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008933/4.581, allocations: 0 / 0.6411 GB, free: 146.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005557/4.582, allocations: 0.5784 MB / 0.6417 GB, free: 146.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007197/4.589, allocations: 2.818 MB / 0.6445 GB, free: 146.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00992/4.599, allocations: 6.192 MB / 0.6505 GB, free: 141.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/4.609, allocations: 4.229 MB / 0.6546 GB, free: 141.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/4.609, allocations: 34.72 kB / 0.6547 GB, free: 141.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.03068/4.64, allocations: 9.477 MB / 0.6639 GB, free: 140.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/4.64, allocations: 6.75 kB / 0.6639 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/4.64, allocations: 116.8 kB / 0.664 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007184/4.647, allocations: 1.282 MB / 0.6653 GB, free: 140.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/4.658, allocations: 1.434 MB / 0.6667 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/4.674, allocations: 6.789 MB / 0.6733 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008108/4.682, allocations: 238.3 kB / 0.6736 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/4.684, allocations: 365.5 kB / 0.6739 GB, free: 137 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (758): * Single equations (assignments): 751 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001651/4.686, allocations: 409 kB / 0.6743 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000793/4.686, allocations: 298.3 kB / 0.6746 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/4.706, allocations: 5.984 MB / 0.6804 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001367/4.706, allocations: 42.23 kB / 0.6805 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/4.706, allocations: 3.844 kB / 0.6805 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-05/4.706, allocations: 10.55 kB / 0.6805 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04682/4.753, allocations: 11.31 MB / 0.6915 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.602e-05/4.753, allocations: 10.94 kB / 0.6915 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006873/4.76, allocations: 357 kB / 0.6919 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/4.77, allocations: 1.1 MB / 0.6929 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009668/4.771, allocations: 18.53 kB / 0.693 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/4.788, allocations: 5.904 MB / 0.6987 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/4.789, allocations: 0 / 0.6987 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02456/4.813, allocations: 9.089 MB / 0.7076 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03756/4.851, allocations: 12.86 MB / 0.7202 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003185/4.854, allocations: 0.7777 MB / 0.7209 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/4.855, allocations: 0 / 0.7209 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003915/4.859, allocations: 108.5 kB / 0.721 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009213/4.86, allocations: 91.03 kB / 0.7211 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003565/4.861, allocations: 63.8 kB / 0.7212 GB, free: 106.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005031/4.866, allocations: 1.768 MB / 0.7229 GB, free: 104.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008802/4.875, allocations: 0.9987 MB / 0.7239 GB, free: 103.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/4.876, allocations: 139.8 kB / 0.724 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01563/4.891, allocations: 6.605 MB / 0.7305 GB, free: 97.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/4.891, allocations: 0 / 0.7305 GB, free: 97.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007048/4.898, allocations: 2.606 MB / 0.733 GB, free: 95.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/4.901, allocations: 226.5 kB / 0.7332 GB, free: 95.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/4.939, allocations: 9.228 MB / 0.7422 GB, free: 87.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01247/4.951, allocations: 3.951 MB / 0.7461 GB, free: 84.02 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/4.951, allocations: 0 / 0.7461 GB, free: 84.02 MB / 474.7 MB