Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Damper",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.528/2.528, allocations: 235.1 MB / 242 MB, free: 13.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1961/2.724, allocations: 57.21 MB / 299.2 MB, free: 3.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/3.041, allocations: 54.85 MB / 354.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/3.562, allocations: 100.3 MB / 454.4 MB, free: 34.74 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/3.562, allocations: 82 kB / 454.5 MB, free: 34.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.7631/4.325, allocations: 146.1 MB / 0.5865 GB, free: 4.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/4.326, allocations: 8 kB / 0.5865 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03332/4.359, allocations: 3.051 MB / 0.5894 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03453/4.393, allocations: 7.726 MB / 0.597 GB, free: 9.758 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008035/4.394, allocations: 267.9 kB / 0.5972 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00501/4.399, allocations: 471.8 kB / 0.5977 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04164/4.441, allocations: 11.67 MB / 0.6091 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2606/4.702, allocations: 16.86 MB / 0.6256 GB, free: 112.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004849/4.702, allocations: 97.98 kB / 0.6257 GB, free: 112.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003608/4.706, allocations: 48.62 kB / 0.6257 GB, free: 112.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006601/4.713, allocations: 2.034 MB / 0.6277 GB, free: 112.9 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1489/4.861, allocations: 77.91 MB / 0.7038 GB, free: 67.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008032/4.87, allocations: 2.945 MB / 0.7066 GB, free: 66.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006327/4.876, allocations: 2.089 MB / 0.7087 GB, free: 66.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.029/4.905, allocations: 8.87 MB / 0.7173 GB, free: 63.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/4.905, allocations: 67.14 kB / 0.7174 GB, free: 63.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=279): time 8.005e-06/4.905, allocations: 0 / 0.7174 GB, free: 63.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=309): time 0.101/5.006, allocations: 17.95 MB / 0.7349 GB, free: 58.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/5.006, allocations: 163 kB / 0.7351 GB, free: 58.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/5.018, allocations: 4.484 MB / 0.7395 GB, free: 56.53 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007319/5.019, allocations: 28.89 kB / 0.7395 GB, free: 56.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004329/5.024, allocations: 4.956 MB / 0.7443 GB, free: 52.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001936/5.026, allocations: 1.148 MB / 0.7455 GB, free: 51.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/5.027, allocations: 0 / 0.7455 GB, free: 51.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0008708/5.028, allocations: 0.7184 MB / 0.7462 GB, free: 51.38 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008399/5.036, allocations: 2.546 MB / 0.7486 GB, free: 50.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/5.049, allocations: 8.414 MB / 0.7569 GB, free: 41.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/5.061, allocations: 4.608 MB / 0.7614 GB, free: 40.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002191/5.061, allocations: 65.73 kB / 0.7614 GB, free: 40.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=1285) (initialization): time 0.03087/5.092, allocations: 9.605 MB / 0.7708 GB, free: 36.97 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/5.092, allocations: 3.875 kB / 0.7708 GB, free: 36.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004183/5.093, allocations: 211.3 kB / 0.771 GB, free: 36.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/5.093, allocations: 306.8 kB / 0.7713 GB, free: 36.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01859/5.112, allocations: 2.425 MB / 0.7737 GB, free: 36.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003891/5.112, allocations: 416.7 kB / 0.7741 GB, free: 36.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/5.126, allocations: 411.8 kB / 0.7745 GB, free: 36.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002609/5.129, allocations: 0.5777 MB / 0.775 GB, free: 36.47 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1261): * Single equations (assignments): 1258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003684/5.132, allocations: 0.6256 MB / 0.7756 GB, free: 35.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/5.134, allocations: 493.4 kB / 0.7761 GB, free: 35.69 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/5.146, allocations: 2.923 MB / 0.779 GB, free: 34.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001381/5.146, allocations: 31.77 kB / 0.779 GB, free: 34.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/5.146, allocations: 1.594 kB / 0.779 GB, free: 34.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.789e-05/5.146, allocations: 16.67 kB / 0.779 GB, free: 34.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05356/5.199, allocations: 11.06 MB / 0.7898 GB, free: 29.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.662e-05/5.2, allocations: 28 kB / 0.7898 GB, free: 29.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008591/5.208, allocations: 0.5713 MB / 0.7904 GB, free: 29.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/5.208, allocations: 59.88 kB / 0.7905 GB, free: 29.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009037/5.209, allocations: 51.75 kB / 0.7905 GB, free: 29.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.25e-05/5.209, allocations: 67.53 kB / 0.7906 GB, free: 29.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.103e-05/5.21, allocations: 43.81 kB / 0.7906 GB, free: 29 MB / 478.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02049/5.23, allocations: 10.07 MB / 0.8004 GB, free: 18.18 MB / 478.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02725/5.257, allocations: 12.03 MB / 0.8122 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004655/5.262, allocations: 0.7569 MB / 0.8129 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002954/5.265, allocations: 47.73 kB / 0.813 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00621/5.271, allocations: 144.1 kB / 0.8131 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008912/5.272, allocations: 234.2 kB / 0.8133 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003602/5.273, allocations: 126.9 kB / 0.8135 GB, free: 4.391 MB / 478.1 MB Notification: Performance of sort global known variables: time 0.009022/5.282, allocations: 2.945 MB / 0.8163 GB, free: 1.836 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0154/5.297, allocations: 1.302 MB / 0.8176 GB, free: 0.5391 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 287 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/5.298, allocations: 209.8 kB / 0.8178 GB, free: 340 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2557/5.554, allocations: 6.046 MB / 0.8237 GB, free: 115.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.336e-05/5.554, allocations: 3.875 kB / 0.8237 GB, free: 115.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005338/5.56, allocations: 1.396 MB / 0.8251 GB, free: 115.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007497/5.567, allocations: 0.5036 MB / 0.8256 GB, free: 115.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06118/5.628, allocations: 12.68 MB / 0.838 GB, free: 112.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02445/5.653, allocations: 5.693 MB / 0.8435 GB, free: 111.4 MB / 478.1 MB Notification: Performance of SimCode: time 2.244e-06/5.653, allocations: 0 / 0.8435 GB, free: 111.4 MB / 478.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat