Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.488/2.488, allocations: 235 MB / 242 MB, free: 6.965 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3113/2.8, allocations: 57.18 MB / 299.2 MB, free: 15.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/2.938, allocations: 54.87 MB / 354.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/3.356, allocations: 98.53 MB / 452.6 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/3.356, allocations: 74.33 kB / 452.7 MB, free: 4.266 MB / 346.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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 1.057/4.413, allocations: 145.7 MB / 0.5843 GB, free: 131.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/4.413, allocations: 6.906 kB / 0.5844 GB, free: 131.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06424/4.478, allocations: 7.185 MB / 0.5914 GB, free: 130.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04695/4.525, allocations: 10.99 MB / 0.6021 GB, free: 130.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005272/4.525, allocations: 247.2 kB / 0.6023 GB, free: 130.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003927/4.529, allocations: 454.9 kB / 0.6028 GB, free: 130.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03859/4.568, allocations: 10.46 MB / 0.613 GB, free: 130.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05594/4.624, allocations: 15.54 MB / 0.6282 GB, free: 126.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006801/4.624, allocations: 103.1 kB / 0.6283 GB, free: 126.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003758/4.628, allocations: 46.47 kB / 0.6283 GB, free: 126.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004858/4.633, allocations: 1.718 MB / 0.63 GB, free: 126 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1599/4.793, allocations: 79.81 MB / 0.7079 GB, free: 71.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/4.804, allocations: 4.638 MB / 0.7125 GB, free: 67.01 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008684/4.813, allocations: 3.669 MB / 0.716 GB, free: 63.62 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0364/4.85, allocations: 10.91 MB / 0.7267 GB, free: 54.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/4.85, allocations: 58.5 kB / 0.7267 GB, free: 54.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 9.578e-06/4.85, allocations: 7.938 kB / 0.7267 GB, free: 54.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1176/4.967, allocations: 22.1 MB / 0.7483 GB, free: 35.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/4.967, allocations: 231.6 kB / 0.7486 GB, free: 35.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01686/4.984, allocations: 5.216 MB / 0.7536 GB, free: 30.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001296/4.986, allocations: 29.64 kB / 0.7537 GB, free: 30.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004616/4.99, allocations: 4.752 MB / 0.7583 GB, free: 26.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003159/4.994, allocations: 1.155 MB / 0.7594 GB, free: 25.28 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/4.995, allocations: 0 / 0.7594 GB, free: 25.28 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001/4.997, allocations: 0.7262 MB / 0.7602 GB, free: 24.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01573/5.012, allocations: 3.812 MB / 0.7639 GB, free: 21.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01798/5.03, allocations: 9.68 MB / 0.7733 GB, free: 9.211 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/5.048, allocations: 6.151 MB / 0.7793 GB, free: 3.852 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000212/5.049, allocations: 64 kB / 0.7794 GB, free: 3.789 MB / 474.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.2887/5.337, allocations: 14.97 MB / 0.794 GB, free: 114.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/5.337, allocations: 8.719 kB / 0.794 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04703/5.385, allocations: 7.51 MB / 0.8014 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03923/5.424, allocations: 3.446 MB / 0.8047 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0229/5.447, allocations: 2.314 MB / 0.807 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04209/5.489, allocations: 12.67 MB / 0.8194 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02743/5.516, allocations: 0.5242 MB / 0.8199 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004471/5.521, allocations: 0.6123 MB / 0.8205 GB, free: 106.7 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.00622/5.527, allocations: 0.631 MB / 0.8211 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003167/5.53, allocations: 0.5497 MB / 0.8216 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05296/5.583, allocations: 7.516 MB / 0.829 GB, free: 106.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04793/5.631, allocations: 6.702 MB / 0.8355 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.368e-05/5.632, allocations: 10.72 kB / 0.8355 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001386/5.632, allocations: 10.88 kB / 0.8355 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02924/5.661, allocations: 6.155 MB / 0.8415 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.062e-05/5.661, allocations: 0 / 0.8415 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01216/5.673, allocations: 0.571 MB / 0.8421 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0354/5.709, allocations: 2.959 MB / 0.845 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001595/5.71, allocations: 62.06 kB / 0.845 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04119/5.752, allocations: 13.41 MB / 0.8581 GB, free: 98.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007197/5.759, allocations: 5.642 MB / 0.8637 GB, free: 93.17 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05834/5.817, allocations: 11.78 MB / 0.8751 GB, free: 91.33 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0551/5.872, allocations: 15.9 MB / 0.8907 GB, free: 81.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003168/5.876, allocations: 0.5981 MB / 0.8913 GB, free: 80.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00385/5.88, allocations: 38.27 kB / 0.8913 GB, free: 80.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01152/5.891, allocations: 215 kB / 0.8915 GB, free: 80.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001709/5.893, allocations: 148.1 kB / 0.8916 GB, free: 80.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001221/5.894, allocations: 88.41 kB / 0.8917 GB, free: 80.49 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01484/5.909, allocations: 3.511 MB / 0.8952 GB, free: 77.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0247/5.934, allocations: 1.893 MB / 0.897 GB, free: 75.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.002078/5.936, allocations: 205.4 kB / 0.8972 GB, free: 75.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04515/5.981, allocations: 10.92 MB / 0.9079 GB, free: 65.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/5.981, allocations: 1.859 kB / 0.9079 GB, free: 65.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02448/6.006, allocations: 5.054 MB / 0.9128 GB, free: 60.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007904/6.014, allocations: 0.6772 MB / 0.9135 GB, free: 60.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05927/6.073, allocations: 16.5 MB / 0.9296 GB, free: 46.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01872/6.092, allocations: 6.022 MB / 0.9355 GB, free: 41.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.613e-06/6.092, allocations: 0 / 0.9355 GB, free: 41.54 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat