Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force",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 1.955/1.955, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2788/2.234, allocations: 51.03 MB / 267.3 MB, free: 5.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/2.386, allocations: 48.69 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3604/2.747, allocations: 94.1 MB / 410.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/2.747, allocations: 76.19 kB / 410.2 MB, free: 14.81 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: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.8446/3.592, allocations: 130.9 MB / 0.5284 GB, free: 78.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/3.592, allocations: 10.22 kB / 0.5284 GB, free: 78.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05788/3.649, allocations: 6.736 MB / 0.535 GB, free: 78.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04132/3.691, allocations: 7.452 MB / 0.5423 GB, free: 75.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005054/3.691, allocations: 209.9 kB / 0.5425 GB, free: 75.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004054/3.696, allocations: 386.4 kB / 0.5428 GB, free: 75.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03831/3.734, allocations: 9.429 MB / 0.552 GB, free: 72.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/3.78, allocations: 14.36 MB / 0.5661 GB, free: 60.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003763/3.78, allocations: 91.12 kB / 0.5661 GB, free: 60.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002778/3.783, allocations: 44 kB / 0.5662 GB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005106/3.788, allocations: 1.642 MB / 0.5678 GB, free: 58.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1463/3.935, allocations: 70.35 MB / 0.6365 GB, free: 3.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1955/4.13, allocations: 5.678 MB / 0.642 GB, free: 135.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01214/4.143, allocations: 3.958 MB / 0.6459 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04104/4.184, allocations: 10.58 MB / 0.6562 GB, free: 133.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/4.184, allocations: 67.84 kB / 0.6563 GB, free: 133.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=258): time 1.43e-05/4.184, allocations: 0 / 0.6563 GB, free: 133.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=300): time 0.128/4.312, allocations: 26.3 MB / 0.682 GB, free: 126.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/4.312, allocations: 237 kB / 0.6822 GB, free: 126.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/4.328, allocations: 4.776 MB / 0.6869 GB, free: 124.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001203/4.329, allocations: 25.7 kB / 0.6869 GB, free: 124.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004312/4.333, allocations: 4.367 MB / 0.6912 GB, free: 121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002423/4.336, allocations: 1.112 MB / 0.6922 GB, free: 120.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/4.338, allocations: 2.781 kB / 0.6922 GB, free: 120.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001324/4.339, allocations: 0.6895 MB / 0.6929 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01076/4.35, allocations: 3.457 MB / 0.6963 GB, free: 118.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01731/4.367, allocations: 8.715 MB / 0.7048 GB, free: 110.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01823/4.386, allocations: 5.469 MB / 0.7101 GB, free: 108.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005679/4.386, allocations: 54.16 kB / 0.7102 GB, free: 108.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.05442/4.441, allocations: 12.32 MB / 0.7222 GB, free: 99.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/4.441, allocations: 4 kB / 0.7222 GB, free: 99.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003969/4.441, allocations: 191.9 kB / 0.7224 GB, free: 99.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008006/4.449, allocations: 1.601 MB / 0.724 GB, free: 98.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/4.466, allocations: 2.111 MB / 0.726 GB, free: 96.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0261/4.492, allocations: 10.14 MB / 0.7359 GB, free: 87.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/4.504, allocations: 310.7 kB / 0.7362 GB, free: 86.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002699/4.507, allocations: 0.5408 MB / 0.7368 GB, free: 86.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1114): * Single equations (assignments): 1109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004341/4.512, allocations: 0.5742 MB / 0.7373 GB, free: 85.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/4.513, allocations: 0.4975 MB / 0.7378 GB, free: 85.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02941/4.543, allocations: 6.365 MB / 0.744 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001669/4.543, allocations: 28 kB / 0.7441 GB, free: 80.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.012e-05/4.543, allocations: 12 kB / 0.7441 GB, free: 80.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/4.543, allocations: 15.14 kB / 0.7441 GB, free: 80.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05887/4.602, allocations: 13.24 MB / 0.757 GB, free: 69.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.47e-05/4.602, allocations: 0 / 0.757 GB, free: 69.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006218/4.608, allocations: 0.4902 MB / 0.7575 GB, free: 69.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007147/4.616, allocations: 1.297 MB / 0.7588 GB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009847/4.617, allocations: 23.22 kB / 0.7588 GB, free: 68.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/4.64, allocations: 9.481 MB / 0.768 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/4.64, allocations: 4.562 kB / 0.768 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03238/4.672, allocations: 10.74 MB / 0.7785 GB, free: 49.64 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04295/4.715, allocations: 14.95 MB / 0.7931 GB, free: 34.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004053/4.72, allocations: 1.021 MB / 0.7941 GB, free: 33.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002182/4.722, allocations: 4 kB / 0.7941 GB, free: 33.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006222/4.728, allocations: 111.8 kB / 0.7942 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/4.729, allocations: 134.1 kB / 0.7944 GB, free: 33.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008135/4.73, allocations: 74.34 kB / 0.7944 GB, free: 33.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01088/4.741, allocations: 3.233 MB / 0.7976 GB, free: 30.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.02187/4.763, allocations: 1.382 MB / 0.7989 GB, free: 28.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 240 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/4.765, allocations: 152.2 kB / 0.7991 GB, free: 28.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2132/4.978, allocations: 8.457 MB / 0.8073 GB, free: 129.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/4.978, allocations: 1.812 kB / 0.8074 GB, free: 129.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01122/4.989, allocations: 3.209 MB / 0.8105 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005784/4.995, allocations: 0.519 MB / 0.811 GB, free: 129.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05362/5.049, allocations: 12.83 MB / 0.8235 GB, free: 127.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02449/5.073, allocations: 5.331 MB / 0.8287 GB, free: 126.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/5.073, allocations: 3.844 kB / 0.8287 GB, free: 126.3 MB / 426.7 MB