Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_WhyArrows",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(Modelica): time 1.699/1.699, allocations: 194.9 MB / 202.6 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2211/1.92, allocations: 46.83 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/2.013, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2813/2.295, allocations: 70.48 MB / 364.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/2.295, allocations: 62.08 kB / 364.4 MB, free: 7.172 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.01439/2.31, allocations: 3.479 MB / 367.9 MB, free: 6.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/2.31, allocations: 11.78 kB / 367.9 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/2.31, allocations: 31.38 kB / 368 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/2.31, allocations: 188 kB / 368.1 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/2.31, allocations: 7.719 kB / 368.2 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/2.31, allocations: 11.62 kB / 368.2 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000405/2.31, allocations: 111.5 kB / 368.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/2.311, allocations: 194.3 kB / 368.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/2.311, allocations: 3.938 kB / 368.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/2.311, allocations: 7.906 kB / 368.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/2.311, allocations: 7.656 kB / 368.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/2.313, allocations: 0.8172 MB / 369.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/2.313, allocations: 125.7 kB / 369.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/2.313, allocations: 58.92 kB / 369.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/2.313, allocations: 3.875 kB / 369.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/2.313, allocations: 39.42 kB / 369.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 3.697e-06/2.313, allocations: 0 / 369.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004467/2.314, allocations: 117 kB / 369.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/2.314, allocations: 102.8 kB / 369.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/2.314, allocations: 148.8 kB / 369.9 MB, free: 5.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/2.314, allocations: 29.61 kB / 369.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/2.314, allocations: 158.3 kB / 370.1 MB, free: 5.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/2.314, allocations: 63.72 kB / 370.1 MB, free: 5.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/2.314, allocations: 1.203 kB / 370.1 MB, free: 5.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/2.314, allocations: 327 kB / 370.4 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/2.314, allocations: 39.38 kB / 370.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/2.315, allocations: 151.9 kB / 370.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/2.315, allocations: 65.31 kB / 370.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/2.315, allocations: 3.938 kB / 370.7 MB, free: 20.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005495/2.315, allocations: 203.5 kB / 370.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/2.315, allocations: 3.969 kB / 370.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/2.315, allocations: 3.844 kB / 370.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/2.315, allocations: 7.875 kB / 370.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/2.316, allocations: 60.64 kB / 371 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/2.316, allocations: 7.016 kB / 371 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/2.316, allocations: 23.44 kB / 371 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/2.316, allocations: 8.031 kB / 371 MB, free: 20.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/2.316, allocations: 132.2 kB / 371.1 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/2.317, allocations: 17.08 kB / 371.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.969e-05/2.317, allocations: 17.31 kB / 371.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/2.317, allocations: 3.656 kB / 371.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.317, allocations: 0 / 371.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/2.317, allocations: 5.016 kB / 371.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007965/2.318, allocations: 377.5 kB / 371.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/2.318, allocations: 3.906 kB / 371.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/2.318, allocations: 35.86 kB / 371.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/2.318, allocations: 7.859 kB / 371.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/2.318, allocations: 0 / 371.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/2.318, allocations: 11.75 kB / 371.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/2.318, allocations: 0 / 371.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005659/2.319, allocations: 409.2 kB / 372 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007078/2.319, allocations: 0.8209 MB / 372.8 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/2.32, allocations: 94.45 kB / 372.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/2.32, allocations: 4 kB / 372.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/2.32, allocations: 3.875 kB / 372.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/2.32, allocations: 7.859 kB / 372.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/2.32, allocations: 7.625 kB / 372.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001465/2.32, allocations: 118.9 kB / 373.1 MB, free: 18.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001479/2.322, allocations: 46.25 kB / 373.1 MB, free: 18.9 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002169/2.322, allocations: 111.4 kB / 373.2 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004038/2.322, allocations: 114.1 kB / 373.3 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.322, allocations: 0 / 373.3 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/2.322, allocations: 50.59 kB / 373.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/2.323, allocations: 19.59 kB / 373.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/2.324, allocations: 486 kB / 373.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/2.325, allocations: 0.762 MB / 374.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.293e-06/2.325, allocations: 0 / 374.6 MB, free: 17.75 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat