Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_PrismaticInit",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.591/2.591, allocations: 235 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2138/2.805, allocations: 57.2 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/3.126, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/3.548, allocations: 96.4 MB / 450.5 MB, free: 32.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/3.549, allocations: 76.91 kB / 450.6 MB, free: 32.19 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.192/3.741, allocations: 33.38 MB / 483.9 MB, free: 28.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/3.741, allocations: 7.812 kB / 483.9 MB, free: 28.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/3.745, allocations: 322.1 kB / 484.3 MB, free: 28.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/3.761, allocations: 2.957 MB / 487.2 MB, free: 27.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.485e-05/3.761, allocations: 46.59 kB / 487.3 MB, free: 27.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/3.762, allocations: 85.28 kB / 487.3 MB, free: 27.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005331/3.767, allocations: 1.799 MB / 489.1 MB, free: 27.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00668/3.774, allocations: 2.509 MB / 491.7 MB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.114e-05/3.774, allocations: 15.66 kB / 491.7 MB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/3.774, allocations: 7.812 kB / 491.7 MB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009771/3.775, allocations: 289.8 kB / 492 MB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/3.804, allocations: 11.9 MB / 0.492 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/3.805, allocations: 422.9 kB / 0.4925 GB, free: 18.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/3.806, allocations: 365.6 kB / 0.4928 GB, free: 18.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005076/3.811, allocations: 1.967 MB / 0.4947 GB, free: 16.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/3.811, allocations: 37.34 kB / 0.4948 GB, free: 16.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 4.258e-06/3.811, allocations: 0 / 0.4948 GB, free: 16.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.01628/3.827, allocations: 2.736 MB / 0.4974 GB, free: 15.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/3.828, allocations: 81.36 kB / 0.4975 GB, free: 15.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/3.83, allocations: 0.939 MB / 0.4984 GB, free: 15.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/3.83, allocations: 31.42 kB / 0.4985 GB, free: 15.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000598/3.831, allocations: 0.821 MB / 0.4993 GB, free: 14.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/3.831, allocations: 190.5 kB / 0.4994 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/3.831, allocations: 1.594 kB / 0.4994 GB, free: 14.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/3.831, allocations: 417.1 kB / 0.4998 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/3.832, allocations: 356.9 kB / 0.5002 GB, free: 14.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/3.834, allocations: 1.172 MB / 0.5013 GB, free: 12.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/3.835, allocations: 0.6203 MB / 0.5019 GB, free: 12.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-05/3.835, allocations: 8.469 kB / 0.5019 GB, free: 12.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004343/3.84, allocations: 1.431 MB / 0.5033 GB, free: 12.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/3.84, allocations: 5.094 kB / 0.5033 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.646e-05/3.84, allocations: 29.56 kB / 0.5034 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/3.84, allocations: 92.23 kB / 0.5035 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/3.843, allocations: 350.1 kB / 0.5038 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/3.845, allocations: 1.614 MB / 0.5054 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/3.848, allocations: 36.72 kB / 0.5054 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/3.848, allocations: 88.39 kB / 0.5055 GB, free: 10.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000394/3.848, allocations: 181.4 kB / 0.5057 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/3.849, allocations: 102.4 kB / 0.5058 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/3.851, allocations: 0.6274 MB / 0.5064 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/3.851, allocations: 5.375 kB / 0.5064 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/3.851, allocations: 1.125 kB / 0.5064 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/3.851, allocations: 3.984 kB / 0.5064 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/3.857, allocations: 1.777 MB / 0.5081 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/3.857, allocations: 4.125 kB / 0.5081 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009487/3.858, allocations: 88.14 kB / 0.5082 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/3.858, allocations: 70.83 kB / 0.5083 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/3.858, allocations: 5.5 kB / 0.5083 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/3.86, allocations: 1.637 MB / 0.5099 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/3.86, allocations: 4 kB / 0.5099 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002548/3.863, allocations: 1.15 MB / 0.511 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003401/3.866, allocations: 1.81 MB / 0.5128 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/3.867, allocations: 205.6 kB / 0.513 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/3.867, allocations: 4.656 kB / 0.513 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/3.868, allocations: 15.05 kB / 0.513 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/3.868, allocations: 40.75 kB / 0.513 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/3.868, allocations: 21.48 kB / 0.513 GB, free: 6.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001852/3.87, allocations: 0.6468 MB / 0.5137 GB, free: 6.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005077/3.875, allocations: 256.6 kB / 0.5139 GB, free: 6.148 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006606/3.876, allocations: 129.2 kB / 0.514 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004478/3.881, allocations: 0.9398 MB / 0.515 GB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/3.881, allocations: 0 / 0.515 GB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/3.882, allocations: 360.2 kB / 0.5153 GB, free: 5.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/3.884, allocations: 132.3 kB / 0.5154 GB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/3.895, allocations: 2.087 MB / 0.5175 GB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003565/3.899, allocations: 1.539 MB / 0.519 GB, free: 17.26 MB / 394.7 MB Notification: Performance of SimCode: time 3.787e-06/3.899, allocations: 0 / 0.519 GB, free: 17.26 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat