Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses2",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.986/1.986, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2259/2.212, allocations: 51.03 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/2.318, allocations: 48.7 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/2.669, allocations: 98.31 MB / 414.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/2.669, allocations: 81.78 kB / 414.4 MB, free: 10.65 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: 2291 * Number of variables: 2291 Notification: Performance of Generate backend data structure: time 0.8454/3.514, allocations: 138 MB / 0.5395 GB, free: 79.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/3.514, allocations: 8.906 kB / 0.5395 GB, free: 79.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06459/3.579, allocations: 6.984 MB / 0.5463 GB, free: 77.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04036/3.619, allocations: 9.837 MB / 0.5559 GB, free: 72.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005538/3.62, allocations: 212.7 kB / 0.5561 GB, free: 72.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004156/3.624, allocations: 395.1 kB / 0.5565 GB, free: 72.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02725/3.652, allocations: 10.04 MB / 0.5663 GB, free: 62.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04899/3.701, allocations: 14.57 MB / 0.5805 GB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004614/3.701, allocations: 103 kB / 0.5806 GB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002921/3.704, allocations: 48 kB / 0.5807 GB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003865/3.708, allocations: 1.692 MB / 0.5823 GB, free: 44.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3282/4.036, allocations: 75.8 MB / 0.6563 GB, free: 91.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/4.048, allocations: 5.317 MB / 0.6615 GB, free: 90.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009848/4.058, allocations: 4.28 MB / 0.6657 GB, free: 90.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04855/4.107, allocations: 14.28 MB / 0.6797 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/4.107, allocations: 63.88 kB / 0.6797 GB, free: 86.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=280): time 1.236e-05/4.107, allocations: 0 / 0.6797 GB, free: 86.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=360): time 0.2075/4.314, allocations: 39.21 MB / 0.718 GB, free: 74.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/4.315, allocations: 274.9 kB / 0.7183 GB, free: 73.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01414/4.329, allocations: 4.732 MB / 0.7229 GB, free: 71.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001105/4.33, allocations: 25.7 kB / 0.7229 GB, free: 71.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003922/4.334, allocations: 4.312 MB / 0.7271 GB, free: 67.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002553/4.336, allocations: 1.284 MB / 0.7284 GB, free: 66.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/4.338, allocations: 0 / 0.7284 GB, free: 66.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008743/4.339, allocations: 0.7062 MB / 0.7291 GB, free: 65.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01005/4.349, allocations: 3.679 MB / 0.7327 GB, free: 62.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01395/4.363, allocations: 8.999 MB / 0.7414 GB, free: 51.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/4.379, allocations: 6.003 MB / 0.7473 GB, free: 46.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001883/4.379, allocations: 56 kB / 0.7474 GB, free: 46.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.07379/4.453, allocations: 15.69 MB / 0.7627 GB, free: 34.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/4.453, allocations: 8 kB / 0.7627 GB, free: 34.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004455/4.453, allocations: 191.9 kB / 0.7629 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0357/4.489, allocations: 3.905 MB / 0.7667 GB, free: 31.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01477/4.504, allocations: 2.065 MB / 0.7687 GB, free: 29.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07589/4.58, allocations: 20.79 MB / 0.789 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01276/4.593, allocations: 339.4 kB / 0.7893 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/4.595, allocations: 0.5585 MB / 0.7899 GB, free: 9.84 MB / 426.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 (1109): * Single equations (assignments): 1104 * 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.004067/4.6, allocations: 0.5655 MB / 0.7904 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/4.602, allocations: 0.54 MB / 0.791 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2518/4.853, allocations: 9.728 MB / 0.8005 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001655/4.854, allocations: 36.19 kB / 0.8005 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.246e-05/4.854, allocations: 15.47 kB / 0.8005 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/4.854, allocations: 27.39 kB / 0.8005 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09564/4.95, allocations: 18.06 MB / 0.8182 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.884e-05/4.95, allocations: 6.375 kB / 0.8182 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007691/4.957, allocations: 478.9 kB / 0.8186 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06398/5.021, allocations: 3.466 MB / 0.822 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/5.023, allocations: 11.95 kB / 0.822 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06322/5.086, allocations: 18.4 MB / 0.84 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/5.086, allocations: 14 kB / 0.84 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05525/5.141, allocations: 14.38 MB / 0.8541 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08924/5.23, allocations: 19.16 MB / 0.8728 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006762/5.237, allocations: 1.08 MB / 0.8738 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003496/5.241, allocations: 6.75 kB / 0.8738 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/5.251, allocations: 135.8 kB / 0.874 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001782/5.253, allocations: 166.8 kB / 0.8741 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001284/5.254, allocations: 104.4 kB / 0.8742 GB, free: 101.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01286/5.267, allocations: 3.205 MB / 0.8773 GB, free: 98.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.02221/5.29, allocations: 1.575 MB / 0.8789 GB, free: 97.09 MB / 426.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 (259): * Single equations (assignments): 254 * 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.002216/5.292, allocations: 179.5 kB / 0.8791 GB, free: 96.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02349/5.315, allocations: 9.16 MB / 0.888 GB, free: 89.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/5.315, allocations: 5.625 kB / 0.888 GB, free: 89.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009799/5.325, allocations: 3.553 MB / 0.8915 GB, free: 85.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/5.331, allocations: 0.5583 MB / 0.892 GB, free: 85.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04777/5.379, allocations: 13.32 MB / 0.905 GB, free: 73.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02353/5.403, allocations: 5.379 MB / 0.9103 GB, free: 69.64 MB / 426.7 MB Notification: Performance of SimCode: time 2.806e-06/5.403, allocations: 0 / 0.9103 GB, free: 69.64 MB / 426.7 MB