Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",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.1858/2.416, allocations: 57.2 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/2.702, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/3.139, allocations: 105 MB / 459 MB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/3.14, allocations: 74.83 kB / 459.1 MB, free: 35.16 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.7598/3.899, allocations: 138.1 MB / 0.5832 GB, free: 1.637 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/3.899, allocations: 8 kB / 0.5832 GB, free: 1.629 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08471/3.984, allocations: 6.983 MB / 0.59 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06/4.044, allocations: 9.845 MB / 0.5996 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007887/4.045, allocations: 212 kB / 0.5998 GB, free: 496 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00507/4.05, allocations: 403.6 kB / 0.6002 GB, free: 92 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04384/4.094, allocations: 10.08 MB / 0.6101 GB, free: 6.004 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3129/4.407, allocations: 14.61 MB / 0.6243 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000945/4.408, allocations: 99.67 kB / 0.6244 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004962/4.413, allocations: 45.44 kB / 0.6245 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004906/4.418, allocations: 1.696 MB / 0.6261 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1486/4.567, allocations: 75.92 MB / 0.7003 GB, free: 69.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/4.581, allocations: 5.339 MB / 0.7055 GB, free: 69.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009659/4.591, allocations: 4.349 MB / 0.7097 GB, free: 68.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03703/4.628, allocations: 14.32 MB / 0.7237 GB, free: 60.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.557e-05/4.628, allocations: 75.8 kB / 0.7238 GB, free: 60.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 6.863e-06/4.628, allocations: 224 / 0.7238 GB, free: 60.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=367): time 0.2309/4.859, allocations: 41.22 MB / 0.764 GB, free: 46.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/4.859, allocations: 267.1 kB / 0.7643 GB, free: 45.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01523/4.875, allocations: 4.736 MB / 0.7689 GB, free: 44.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001603/4.876, allocations: 29.12 kB / 0.7689 GB, free: 44.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00636/4.883, allocations: 4.312 MB / 0.7731 GB, free: 41.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00325/4.886, allocations: 1.306 MB / 0.7744 GB, free: 40.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/4.888, allocations: 0 / 0.7744 GB, free: 40.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009454/4.889, allocations: 0.7023 MB / 0.7751 GB, free: 39.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01435/4.903, allocations: 3.709 MB / 0.7787 GB, free: 36.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02032/4.923, allocations: 9.032 MB / 0.7875 GB, free: 25.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02363/4.947, allocations: 6.046 MB / 0.7935 GB, free: 20.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002388/4.947, allocations: 60 kB / 0.7935 GB, free: 20.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.06789/5.015, allocations: 15.71 MB / 0.8089 GB, free: 7.582 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/5.015, allocations: 15.64 kB / 0.8089 GB, free: 7.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003551/5.016, allocations: 192.1 kB / 0.8091 GB, free: 7.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02582/5.042, allocations: 3.85 MB / 0.8128 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01577/5.057, allocations: 2.075 MB / 0.8148 GB, free: 2.785 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3037/5.361, allocations: 21.13 MB / 0.8355 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01915/5.38, allocations: 334.5 kB / 0.8358 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002763/5.383, allocations: 0.558 MB / 0.8363 GB, free: 105.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1116): * Single equations (assignments): 1111 * 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 {(2,100.0%) 43,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004362/5.388, allocations: 0.5755 MB / 0.8369 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002133/5.39, allocations: 0.5403 MB / 0.8374 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04562/5.435, allocations: 9.759 MB / 0.847 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000134/5.436, allocations: 36.81 kB / 0.847 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.883e-05/5.436, allocations: 18.53 kB / 0.847 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-05/5.436, allocations: 17.39 kB / 0.847 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08104/5.517, allocations: 18.15 MB / 0.8648 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.505e-05/5.517, allocations: 0 / 0.8648 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007682/5.525, allocations: 495.1 kB / 0.8652 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.024/5.549, allocations: 3.41 MB / 0.8686 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001074/5.55, allocations: 18.47 kB / 0.8686 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06952/5.62, allocations: 18.39 MB / 0.8865 GB, free: 99.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/5.62, allocations: 3.375 kB / 0.8865 GB, free: 99.66 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06177/5.681, allocations: 14.48 MB / 0.9007 GB, free: 94.9 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07863/5.76, allocations: 19.27 MB / 0.9195 GB, free: 87.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005212/5.765, allocations: 1.083 MB / 0.9206 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002668/5.768, allocations: 2.219 kB / 0.9206 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007156/5.775, allocations: 120.2 kB / 0.9207 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/5.777, allocations: 172 kB / 0.9208 GB, free: 87.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005543/5.777, allocations: 97.58 kB / 0.9209 GB, free: 87.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00993/5.787, allocations: 3.206 MB / 0.9241 GB, free: 86.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01399/5.801, allocations: 1.583 MB / 0.9256 GB, free: 84.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 261 * 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 {(1,100.0%) 39,(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/5.803, allocations: 193.2 kB / 0.9258 GB, free: 84.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02387/5.827, allocations: 9.234 MB / 0.9348 GB, free: 76.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/5.827, allocations: 4 kB / 0.9348 GB, free: 76.44 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009904/5.837, allocations: 3.594 MB / 0.9383 GB, free: 73.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006486/5.843, allocations: 0.5713 MB / 0.9389 GB, free: 72.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05426/5.897, allocations: 13.39 MB / 0.952 GB, free: 60.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01484/5.912, allocations: 5.391 MB / 0.9572 GB, free: 56.94 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/5.912, allocations: 0 / 0.9572 GB, free: 56.94 MB / 474.7 MB