Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Sensors",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(Modelica): time 1.99/1.99, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2948/2.285, allocations: 46.82 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/2.41, allocations: 44.51 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/2.798, allocations: 71.99 MB / 365.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/2.799, allocations: 66.28 kB / 365.9 MB, free: 7.184 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.01408/2.813, allocations: 2.563 MB / 368.5 MB, free: 6.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/2.813, allocations: 11.47 kB / 368.5 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/2.813, allocations: 19.56 kB / 368.5 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/2.813, allocations: 197.4 kB / 368.7 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/2.813, allocations: 11.75 kB / 368.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/2.813, allocations: 16.98 kB / 368.7 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003523/2.814, allocations: 69.3 kB / 368.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/2.814, allocations: 110.2 kB / 368.9 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/2.814, allocations: 4 kB / 368.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/2.814, allocations: 0 / 368.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/2.814, allocations: 7.969 kB / 368.9 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/2.816, allocations: 0.4934 MB / 369.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/2.816, allocations: 53.95 kB / 369.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/2.816, allocations: 21.73 kB / 369.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/2.816, allocations: 192 / 369.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/2.816, allocations: 38.19 kB / 369.5 MB, free: 6.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/2.816, allocations: 7.844 kB / 369.5 MB, free: 6.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001263/2.817, allocations: 0.5163 MB / 370 MB, free: 5.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/2.817, allocations: 51.41 kB / 370.1 MB, free: 5.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/2.818, allocations: 118.8 kB / 370.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/2.818, allocations: 25.7 kB / 370.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/2.818, allocations: 137.4 kB / 370.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/2.818, allocations: 37.69 kB / 370.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/2.818, allocations: 0 / 370.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/2.818, allocations: 322.6 kB / 370.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/2.818, allocations: 22.75 kB / 370.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/2.818, allocations: 74 kB / 370.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/2.819, allocations: 43.31 kB / 370.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/2.819, allocations: 3.938 kB / 370.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004308/2.819, allocations: 130 kB / 371 MB, free: 20.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/2.819, allocations: 7.906 kB / 371 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/2.819, allocations: 3.875 kB / 371 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/2.819, allocations: 0 / 371 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/2.82, allocations: 44.38 kB / 371 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/2.82, allocations: 3.875 kB / 371 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/2.82, allocations: 5.562 kB / 371 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/2.82, allocations: 3.875 kB / 371 MB, free: 20.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001262/2.82, allocations: 116.6 kB / 371.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/2.82, allocations: 12.91 kB / 371.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/2.82, allocations: 12.61 kB / 371.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/2.82, allocations: 3.875 kB / 371.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/2.82, allocations: 0 / 371.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/2.82, allocations: 0 / 371.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/2.821, allocations: 391 kB / 371.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.821, allocations: 3.906 kB / 371.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/2.821, allocations: 27.36 kB / 371.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/2.822, allocations: 0 / 371.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/2.822, allocations: 5.469 kB / 371.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/2.822, allocations: 0 / 371.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/2.822, allocations: 0 / 371.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004574/2.822, allocations: 260.4 kB / 371.9 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007409/2.823, allocations: 0.6453 MB / 372.5 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/2.823, allocations: 81.02 kB / 372.6 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/2.823, allocations: 5.141 kB / 372.6 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/2.823, allocations: 5.516 kB / 372.6 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/2.823, allocations: 2.578 kB / 372.6 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/2.823, allocations: 3.875 kB / 372.6 MB, free: 19.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001133/2.823, allocations: 110.8 kB / 372.7 MB, free: 19.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002217/2.826, allocations: 31.19 kB / 372.7 MB, free: 19.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002161/2.826, allocations: 99.12 kB / 372.8 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003767/2.826, allocations: 74.7 kB / 372.9 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.826, allocations: 0 / 372.9 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/2.826, allocations: 31.28 kB / 372.9 MB, free: 19.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/2.827, allocations: 16.47 kB / 373 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/2.828, allocations: 285.8 kB / 373.2 MB, free: 19.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/2.829, allocations: 0.7339 MB / 374 MB, free: 18.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.183e-06/2.829, allocations: 0 / 374 MB, free: 18.39 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat