Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_Bodies",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.102/2.102, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2581/2.361, allocations: 51.04 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/2.501, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/2.868, allocations: 88.07 MB / 404 MB, free: 4.895 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004366/2.868, allocations: 82.09 kB / 404.1 MB, free: 4.852 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.793/3.661, allocations: 104.9 MB / 0.4971 GB, free: 83.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/3.661, allocations: 7.188 kB / 0.4971 GB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05691/3.718, allocations: 6.754 MB / 0.5037 GB, free: 83.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07806/3.796, allocations: 18.23 MB / 0.5215 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/3.797, allocations: 137.5 kB / 0.5217 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/3.8, allocations: 268.2 kB / 0.5219 GB, free: 82.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0194/3.819, allocations: 6.542 MB / 0.5283 GB, free: 82.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/3.855, allocations: 9.861 MB / 0.5379 GB, free: 77.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004639/3.855, allocations: 83.25 kB / 0.538 GB, free: 77.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002087/3.858, allocations: 32.44 kB / 0.538 GB, free: 77.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00379/3.861, allocations: 1.14 MB / 0.5392 GB, free: 77.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1034/3.965, allocations: 51.26 MB / 0.5892 GB, free: 35.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/3.977, allocations: 3.615 MB / 0.5927 GB, free: 32.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005271/3.982, allocations: 2.509 MB / 0.5952 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02355/4.006, allocations: 9.237 MB / 0.6042 GB, free: 20.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/4.006, allocations: 58.73 kB / 0.6043 GB, free: 19.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=182): time 5.971e-06/4.006, allocations: 4 kB / 0.6043 GB, free: 19.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.0894/4.095, allocations: 18.91 MB / 0.6227 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/4.095, allocations: 336.4 kB / 0.6231 GB, free: 296 kB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01557/4.111, allocations: 4.055 MB / 0.627 GB, free: 12.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009527/4.112, allocations: 33.69 kB / 0.6271 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00505/4.117, allocations: 3.113 MB / 0.6301 GB, free: 9.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00248/4.119, allocations: 0.8755 MB / 0.6309 GB, free: 8.145 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/4.121, allocations: 4 kB / 0.631 GB, free: 8.141 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007566/4.121, allocations: 0.6161 MB / 0.6316 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008621/4.13, allocations: 2.943 MB / 0.6344 GB, free: 4.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1831/4.313, allocations: 7.318 MB / 0.6416 GB, free: 128.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/4.325, allocations: 4.745 MB / 0.6462 GB, free: 128.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/4.325, allocations: 44.81 kB / 0.6463 GB, free: 128.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.0495/4.375, allocations: 11.98 MB / 0.6579 GB, free: 128.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/4.375, allocations: 8.406 kB / 0.658 GB, free: 128.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0366/4.412, allocations: 5.886 MB / 0.6637 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02928/4.441, allocations: 3.149 MB / 0.6668 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01288/4.454, allocations: 1.692 MB / 0.6684 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/4.47, allocations: 10.9 MB / 0.6791 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/4.484, allocations: 487.2 kB / 0.6795 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/4.486, allocations: 469.7 kB / 0.68 GB, free: 120.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (888): * Single equations (assignments): 863 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.003367/4.49, allocations: 0.4962 MB / 0.6805 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/4.491, allocations: 421.1 kB / 0.6809 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/4.494, allocations: 0.577 MB / 0.6814 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03145/4.526, allocations: 5.608 MB / 0.6869 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.378e-05/4.526, allocations: 7.344 kB / 0.6869 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.902e-05/4.526, allocations: 9.906 kB / 0.6869 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03375/4.559, allocations: 9.132 MB / 0.6959 GB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.085e-05/4.56, allocations: 5.828 kB / 0.6959 GB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005052/4.565, allocations: 387.9 kB / 0.6962 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02639/4.591, allocations: 3.272 MB / 0.6994 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009942/4.592, allocations: 64.89 kB / 0.6995 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/4.619, allocations: 14.42 MB / 0.7136 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004605/4.624, allocations: 5.483 MB / 0.7189 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04798/4.672, allocations: 10.34 MB / 0.729 GB, free: 94.58 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06429/4.736, allocations: 13.53 MB / 0.7422 GB, free: 82.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005658/4.742, allocations: 0.8727 MB / 0.7431 GB, free: 82.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002851/4.745, allocations: 45.66 kB / 0.7431 GB, free: 82.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007193/4.752, allocations: 189.1 kB / 0.7433 GB, free: 82.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009528/4.753, allocations: 118.1 kB / 0.7434 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003529/4.754, allocations: 73.95 kB / 0.7435 GB, free: 81.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00752/4.761, allocations: 2.769 MB / 0.7462 GB, free: 79.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0119/4.773, allocations: 1.497 MB / 0.7477 GB, free: 78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/4.775, allocations: 190.7 kB / 0.7478 GB, free: 77.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02802/4.803, allocations: 8.812 MB / 0.7564 GB, free: 69.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/4.803, allocations: 4.062 kB / 0.7565 GB, free: 69.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01557/4.818, allocations: 4.433 MB / 0.7608 GB, free: 65.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007794/4.826, allocations: 0.5213 MB / 0.7613 GB, free: 65.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0464/4.873, allocations: 12.25 MB / 0.7733 GB, free: 54.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01638/4.889, allocations: 4.252 MB / 0.7774 GB, free: 50 MB / 426.7 MB Notification: Performance of SimCode: time 2.475e-06/4.889, allocations: 0 / 0.7774 GB, free: 50 MB / 426.7 MB