Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_2_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 2.197/2.197, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1737/2.371, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/2.653, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/3.05, allocations: 98.53 MB / 452.5 MB, free: 33.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/3.051, allocations: 72.02 kB / 452.6 MB, free: 33.12 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6721:35-6721: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.2/MultiBody.mo:6722:13-6722: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.2/MultiBody.mo:6743:35-6743: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.2/MultiBody.mo:6744:13-6744: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.2/MultiBody.mo:6765:35-6765: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.2/MultiBody.mo:6766:13-6766: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.2/MultiBody.mo:6793:35-6793: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.2/MultiBody.mo:6794:13-6794: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.2/MultiBody.mo:6805:35-6805: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.2/MultiBody.mo:6806:13-6806: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.7065/3.757, allocations: 145.7 MB / 0.5843 GB, free: 264 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/3.757, allocations: 8 kB / 0.5843 GB, free: 256 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06008/3.817, allocations: 7.197 MB / 0.5913 GB, free: 9.027 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0543/3.872, allocations: 11 MB / 0.602 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007267/3.873, allocations: 244 kB / 0.6023 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004567/3.877, allocations: 451.9 kB / 0.6027 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04289/3.92, allocations: 10.45 MB / 0.6129 GB, free: 2.809 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2581/4.178, allocations: 15.53 MB / 0.6281 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007299/4.179, allocations: 111.8 kB / 0.6282 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004321/4.183, allocations: 47.91 kB / 0.6282 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004079/4.187, allocations: 1.712 MB / 0.6299 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1517/4.339, allocations: 79.81 MB / 0.7078 GB, free: 60.71 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/4.355, allocations: 4.632 MB / 0.7124 GB, free: 59.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/4.367, allocations: 3.668 MB / 0.7159 GB, free: 58.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04713/4.414, allocations: 10.91 MB / 0.7266 GB, free: 53.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.964e-05/4.414, allocations: 63.81 kB / 0.7266 GB, free: 52.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 9.518e-06/4.414, allocations: 3.938 kB / 0.7266 GB, free: 52.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1423/4.556, allocations: 22.11 MB / 0.7482 GB, free: 44.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/4.556, allocations: 233.1 kB / 0.7485 GB, free: 44.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01581/4.572, allocations: 5.216 MB / 0.7536 GB, free: 42.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001259/4.574, allocations: 25.7 kB / 0.7536 GB, free: 42.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006367/4.58, allocations: 4.752 MB / 0.7582 GB, free: 38.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003087/4.583, allocations: 1.153 MB / 0.7593 GB, free: 38.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/4.585, allocations: 0 / 0.7593 GB, free: 38.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000806/4.585, allocations: 0.7295 MB / 0.7601 GB, free: 37.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/4.596, allocations: 3.805 MB / 0.7638 GB, free: 36.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01441/4.61, allocations: 9.683 MB / 0.7732 GB, free: 27.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/4.627, allocations: 6.158 MB / 0.7792 GB, free: 24.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003635/4.627, allocations: 60.28 kB / 0.7793 GB, free: 24.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.06668/4.694, allocations: 14.98 MB / 0.7939 GB, free: 15.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/4.694, allocations: 4 kB / 0.7939 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03865/4.733, allocations: 7.514 MB / 0.8013 GB, free: 9.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03766/4.771, allocations: 3.447 MB / 0.8046 GB, free: 6.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01977/4.79, allocations: 2.308 MB / 0.8069 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2563/5.047, allocations: 12.66 MB / 0.8193 GB, free: 92.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/5.062, allocations: 0.5226 MB / 0.8198 GB, free: 92.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00324/5.066, allocations: 0.6078 MB / 0.8204 GB, free: 92.89 MB / 474.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 (1219): * Single equations (assignments): 1194 * Array equations: 11 * 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%),(4,100.0%),(3,100.0%),(4,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: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0048/5.07, allocations: 0.6415 MB / 0.821 GB, free: 92.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/5.072, allocations: 0.5501 MB / 0.8215 GB, free: 92.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03213/5.105, allocations: 7.514 MB / 0.8289 GB, free: 92.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02954/5.134, allocations: 6.706 MB / 0.8354 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.078e-05/5.134, allocations: 7.625 kB / 0.8354 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001024/5.134, allocations: 15.66 kB / 0.8354 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/5.153, allocations: 6.164 MB / 0.8415 GB, free: 92.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.229e-05/5.153, allocations: 2.875 kB / 0.8415 GB, free: 92.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00726/5.16, allocations: 0.5701 MB / 0.842 GB, free: 92.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02173/5.182, allocations: 2.953 MB / 0.8449 GB, free: 91.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001561/5.184, allocations: 63.69 kB / 0.845 GB, free: 91.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/5.21, allocations: 13.4 MB / 0.858 GB, free: 84.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004904/5.215, allocations: 5.646 MB / 0.8636 GB, free: 79.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04085/5.256, allocations: 11.76 MB / 0.875 GB, free: 78.75 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06121/5.317, allocations: 15.91 MB / 0.8906 GB, free: 77.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003211/5.321, allocations: 0.5991 MB / 0.8912 GB, free: 77.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003812/5.324, allocations: 39.33 kB / 0.8912 GB, free: 77.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01171/5.336, allocations: 217.2 kB / 0.8914 GB, free: 77.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001719/5.338, allocations: 143.8 kB / 0.8915 GB, free: 77.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00154/5.34, allocations: 97.59 kB / 0.8916 GB, free: 77.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01507/5.355, allocations: 3.511 MB / 0.8951 GB, free: 76.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02284/5.378, allocations: 1.879 MB / 0.8969 GB, free: 76.55 MB / 474.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.001505/5.379, allocations: 216.7 kB / 0.8971 GB, free: 76.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03875/5.418, allocations: 10.92 MB / 0.9078 GB, free: 72.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/5.418, allocations: 3.219 kB / 0.9078 GB, free: 72.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01731/5.435, allocations: 5.051 MB / 0.9127 GB, free: 70.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007586/5.443, allocations: 0.6823 MB / 0.9134 GB, free: 69.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06114/5.504, allocations: 16.49 MB / 0.9295 GB, free: 63.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02142/5.526, allocations: 6.015 MB / 0.9354 GB, free: 60.3 MB / 474.7 MB Notification: Performance of SimCode: time 3.296e-06/5.526, allocations: 0 / 0.9354 GB, free: 60.3 MB / 474.7 MB