Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodies",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.901/1.901, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2429/2.143, allocations: 51.03 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/2.267, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/2.624, allocations: 92.05 MB / 408 MB, free: 1.027 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/2.625, allocations: 81.55 kB / 408.1 MB, free: 0.9844 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7433:35-7433:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7434:13-7434:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7456:35-7456:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7457:13-7457:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7478:35-7478:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7479:13-7479:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7506:35-7506:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7507:13-7507:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7518:35-7518:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7519:13-7519:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.8562/3.481, allocations: 145.5 MB / 0.5407 GB, free: 77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.671e-05/3.481, allocations: 9.375 kB / 0.5407 GB, free: 77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06391/3.545, allocations: 7.137 MB / 0.5477 GB, free: 75.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04633/3.591, allocations: 10.97 MB / 0.5584 GB, free: 69.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008844/3.592, allocations: 243.9 kB / 0.5586 GB, free: 69.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004908/3.597, allocations: 443.8 kB / 0.559 GB, free: 69.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03075/3.628, allocations: 10.46 MB / 0.5692 GB, free: 58.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05247/3.68, allocations: 15.54 MB / 0.5844 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005069/3.681, allocations: 99.06 kB / 0.5845 GB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003606/3.685, allocations: 48 kB / 0.5845 GB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004387/3.689, allocations: 1.717 MB / 0.5862 GB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3731/4.062, allocations: 79.78 MB / 0.6641 GB, free: 85.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/4.074, allocations: 4.632 MB / 0.6687 GB, free: 84.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008276/4.082, allocations: 3.667 MB / 0.6722 GB, free: 84.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03572/4.118, allocations: 10.88 MB / 0.6829 GB, free: 82.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/4.118, allocations: 66.91 kB / 0.6829 GB, free: 82.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=259): time 1.57e-05/4.118, allocations: 0 / 0.6829 GB, free: 82.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=287): time 0.1086/4.227, allocations: 22.11 MB / 0.7045 GB, free: 75.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/4.227, allocations: 239.3 kB / 0.7048 GB, free: 74.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01744/4.244, allocations: 5.21 MB / 0.7098 GB, free: 72.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009647/4.245, allocations: 27.92 kB / 0.7099 GB, free: 72.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004504/4.25, allocations: 4.76 MB / 0.7145 GB, free: 69.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002763/4.253, allocations: 1.151 MB / 0.7156 GB, free: 68.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/4.255, allocations: 0 / 0.7156 GB, free: 68.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001061/4.256, allocations: 0.7246 MB / 0.7163 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/4.267, allocations: 3.784 MB / 0.72 GB, free: 66.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01748/4.285, allocations: 9.648 MB / 0.7295 GB, free: 57.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/4.302, allocations: 6.131 MB / 0.7355 GB, free: 54.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003428/4.303, allocations: 60 kB / 0.7355 GB, free: 54.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.05763/4.361, allocations: 14.25 MB / 0.7494 GB, free: 42.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/4.361, allocations: 4 kB / 0.7494 GB, free: 42.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03216/4.393, allocations: 6.839 MB / 0.7561 GB, free: 37.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01768/4.41, allocations: 2.694 MB / 0.7587 GB, free: 35.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01677/4.427, allocations: 2.359 MB / 0.761 GB, free: 33.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/4.442, allocations: 10.73 MB / 0.7715 GB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01603/4.458, allocations: 0.5178 MB / 0.772 GB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003136/4.461, allocations: 0.607 MB / 0.7726 GB, free: 21.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1228): * Single equations (assignments): 1203 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * 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%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004331/4.466, allocations: 0.6355 MB / 0.7732 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/4.468, allocations: 0.5515 MB / 0.7738 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03756/4.505, allocations: 7.513 MB / 0.7811 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03074/4.536, allocations: 6.709 MB / 0.7877 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.645e-05/4.536, allocations: 8 kB / 0.7877 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/4.536, allocations: 13.5 kB / 0.7877 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/4.557, allocations: 6.16 MB / 0.7937 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.735e-05/4.557, allocations: 0 / 0.7937 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0114/4.568, allocations: 0.5739 MB / 0.7943 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01977/4.588, allocations: 2.952 MB / 0.7971 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/4.589, allocations: 67.81 kB / 0.7972 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2179/4.807, allocations: 13.4 MB / 0.8103 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007671/4.815, allocations: 5.636 MB / 0.8158 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05465/4.87, allocations: 11.77 MB / 0.8273 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06959/4.939, allocations: 15.91 MB / 0.8428 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006807/4.946, allocations: 1.096 MB / 0.8439 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002711/4.949, allocations: 37.06 kB / 0.8439 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007665/4.957, allocations: 215.7 kB / 0.8441 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/4.958, allocations: 140.3 kB / 0.8443 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006103/4.959, allocations: 95.77 kB / 0.8444 GB, free: 100.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01068/4.969, allocations: 3.514 MB / 0.8478 GB, free: 98.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0161/4.985, allocations: 1.859 MB / 0.8496 GB, free: 98.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,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: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001657/4.987, allocations: 211.9 kB / 0.8498 GB, free: 98.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0325/5.02, allocations: 10.5 MB / 0.8601 GB, free: 95.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/5.02, allocations: 3.938 kB / 0.8601 GB, free: 95.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01756/5.037, allocations: 5.044 MB / 0.865 GB, free: 92.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008333/5.046, allocations: 0.6766 MB / 0.8657 GB, free: 92.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05736/5.103, allocations: 16.48 MB / 0.8818 GB, free: 83.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02368/5.127, allocations: 6.028 MB / 0.8876 GB, free: 78.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.354e-06/5.127, allocations: 0 / 0.8876 GB, free: 78.84 MB / 426.7 MB