Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_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.226/2.226, allocations: 209.3 MB / 216.3 MB, free: 8.625 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1867/2.413, allocations: 51.03 MB / 267.3 MB, free: 5.93 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/2.696, allocations: 48.69 MB / 316 MB, free: 15.56 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/2.905, allocations: 98.19 MB / 414.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/2.905, allocations: 71.97 kB / 414.2 MB, free: 2.848 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.8538/3.759, allocations: 138 MB / 0.5393 GB, free: 25.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/3.759, allocations: 12 kB / 0.5393 GB, free: 25.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06133/3.821, allocations: 6.986 MB / 0.5462 GB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03901/3.86, allocations: 9.837 MB / 0.5558 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007735/3.861, allocations: 208 kB / 0.556 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004967/3.866, allocations: 403.7 kB / 0.5564 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03463/3.9, allocations: 10.07 MB / 0.5662 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04546/3.946, allocations: 14.61 MB / 0.5805 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004593/3.946, allocations: 95.17 kB / 0.5805 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002743/3.949, allocations: 47.91 kB / 0.5806 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00443/3.954, allocations: 1.705 MB / 0.5823 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3288/4.282, allocations: 75.88 MB / 0.6564 GB, free: 64.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/4.296, allocations: 5.336 MB / 0.6616 GB, free: 64.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009777/4.306, allocations: 4.343 MB / 0.6658 GB, free: 64.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0524/4.358, allocations: 14.33 MB / 0.6798 GB, free: 56.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/4.358, allocations: 67.16 kB / 0.6799 GB, free: 56.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=286): time 7.854e-06/4.358, allocations: 1.312 kB / 0.6799 GB, free: 56.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=367): time 0.2131/4.571, allocations: 41.22 MB / 0.7201 GB, free: 38.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/4.572, allocations: 272.9 kB / 0.7204 GB, free: 37.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/4.586, allocations: 4.737 MB / 0.725 GB, free: 33.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001611/4.588, allocations: 25.7 kB / 0.725 GB, free: 33.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005949/4.594, allocations: 4.307 MB / 0.7292 GB, free: 29.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003618/4.597, allocations: 1.306 MB / 0.7305 GB, free: 28.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/4.599, allocations: 0 / 0.7305 GB, free: 28.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0007558/4.6, allocations: 0.7072 MB / 0.7312 GB, free: 28.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009983/4.61, allocations: 3.708 MB / 0.7348 GB, free: 24.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01417/4.624, allocations: 9.031 MB / 0.7436 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/4.641, allocations: 6.049 MB / 0.7496 GB, free: 8.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002008/4.641, allocations: 56 kB / 0.7496 GB, free: 8.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.2556/4.897, allocations: 15.84 MB / 0.7651 GB, free: 96.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/4.897, allocations: 3.25 kB / 0.7651 GB, free: 96.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005634/4.897, allocations: 190.3 kB / 0.7653 GB, free: 96.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02707/4.925, allocations: 3.857 MB / 0.769 GB, free: 96.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01485/4.939, allocations: 2.08 MB / 0.7711 GB, free: 96.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06349/5.003, allocations: 20.77 MB / 0.7913 GB, free: 94.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01337/5.016, allocations: 336 kB / 0.7917 GB, free: 94.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002918/5.019, allocations: 0.5547 MB / 0.7922 GB, free: 94.22 MB / 414.1 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.004117/5.024, allocations: 0.5756 MB / 0.7928 GB, free: 94.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/5.025, allocations: 0.5353 MB / 0.7933 GB, free: 94.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04853/5.074, allocations: 9.76 MB / 0.8028 GB, free: 93.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000192/5.074, allocations: 36.59 kB / 0.8029 GB, free: 93.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.394e-05/5.074, allocations: 19.5 kB / 0.8029 GB, free: 93.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/5.074, allocations: 17.2 kB / 0.8029 GB, free: 93.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1001/5.175, allocations: 18.15 MB / 0.8206 GB, free: 90.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.858e-05/5.175, allocations: 3.625 kB / 0.8206 GB, free: 90.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008612/5.183, allocations: 484.6 kB / 0.8211 GB, free: 90.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03633/5.22, allocations: 3.418 MB / 0.8244 GB, free: 89.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001513/5.221, allocations: 11.22 kB / 0.8244 GB, free: 89.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06548/5.287, allocations: 18.39 MB / 0.8424 GB, free: 82.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/5.287, allocations: 3.047 kB / 0.8424 GB, free: 82.18 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06273/5.35, allocations: 14.47 MB / 0.8565 GB, free: 70.14 MB / 414.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06545/5.415, allocations: 19.29 MB / 0.8754 GB, free: 53.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004752/5.42, allocations: 1.077 MB / 0.8764 GB, free: 52.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002171/5.422, allocations: 4.422 kB / 0.8764 GB, free: 52.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006658/5.429, allocations: 124.2 kB / 0.8765 GB, free: 52.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/5.43, allocations: 168.3 kB / 0.8767 GB, free: 52.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005878/5.431, allocations: 103.4 kB / 0.8768 GB, free: 52.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.008666/5.44, allocations: 3.197 MB / 0.8799 GB, free: 49.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01336/5.453, allocations: 1.58 MB / 0.8815 GB, free: 48.12 MB / 414.1 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.001512/5.455, allocations: 183.4 kB / 0.8816 GB, free: 47.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0273/5.482, allocations: 9.253 MB / 0.8907 GB, free: 39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/5.482, allocations: 0.5 kB / 0.8907 GB, free: 39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01386/5.496, allocations: 3.596 MB / 0.8942 GB, free: 35.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008638/5.505, allocations: 0.5581 MB / 0.8947 GB, free: 34.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2402/5.745, allocations: 13.39 MB / 0.9078 GB, free: 101.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01486/5.76, allocations: 5.387 MB / 0.9131 GB, free: 100.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/5.76, allocations: 0 / 0.9131 GB, free: 100.4 MB / 414.1 MB