Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_1_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.925/1.925, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.248/2.173, allocations: 41.1 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/2.285, allocations: 38.76 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3031/2.588, allocations: 67.01 MB / 325 MB, free: 4.98 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/2.588, allocations: 67.59 kB / 325.1 MB, free: 4.945 MB / 266.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.01184/2.6, allocations: 2.587 MB / 327.7 MB, free: 2.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/2.6, allocations: 12 kB / 327.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/2.6, allocations: 15.81 kB / 327.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/2.6, allocations: 199.5 kB / 327.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/2.6, allocations: 4 kB / 327.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.678e-05/2.601, allocations: 11.91 kB / 327.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002734/2.601, allocations: 71.05 kB / 328 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/2.601, allocations: 106.1 kB / 328.1 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/2.601, allocations: 3.938 kB / 328.1 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/2.601, allocations: 0 / 328.1 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/2.601, allocations: 4 kB / 328.1 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/2.602, allocations: 0.5128 MB / 328.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/2.603, allocations: 50.55 kB / 328.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/2.603, allocations: 27.59 kB / 328.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/2.603, allocations: 0 / 328.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/2.603, allocations: 34.56 kB / 328.7 MB, free: 1.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/2.603, allocations: 0 / 328.7 MB, free: 1.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.00133/2.604, allocations: 0.5245 MB / 329.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/2.604, allocations: 51.41 kB / 329.3 MB, free: 1.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/2.604, allocations: 115.9 kB / 329.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/2.604, allocations: 25.7 kB / 329.4 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/2.605, allocations: 139 kB / 329.6 MB, free: 0.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/2.605, allocations: 42.58 kB / 329.6 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/2.605, allocations: 0 / 329.6 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/2.605, allocations: 321.8 kB / 329.9 MB, free: 448 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/2.605, allocations: 22 kB / 329.9 MB, free: 432 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/2.605, allocations: 67.88 kB / 330 MB, free: 352 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/2.605, allocations: 42.61 kB / 330 MB, free: 320 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.605, allocations: 0 / 330 MB, free: 320 kB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003412/2.606, allocations: 129.6 kB / 330.2 MB, free: 204 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/2.606, allocations: 4 kB / 330.2 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/2.606, allocations: 8.188 kB / 330.2 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/2.606, allocations: 4 kB / 330.2 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/2.606, allocations: 35.92 kB / 330.2 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/2.606, allocations: 7.906 kB / 330.2 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/2.606, allocations: 4 kB / 330.2 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/2.606, allocations: 15.73 kB / 330.2 MB, free: 128 kB / 266.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.0001099/2.606, allocations: 108.9 kB / 330.4 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/2.606, allocations: 11.91 kB / 330.4 MB, free: 0 / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/2.607, allocations: 7.875 kB / 330.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/2.607, allocations: 4 kB / 330.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/2.607, allocations: 3.906 kB / 330.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/2.607, allocations: 0 / 330.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/2.607, allocations: 391.2 kB / 330.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/2.607, allocations: 8.031 kB / 330.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/2.608, allocations: 23.98 kB / 330.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/2.608, allocations: 0 / 330.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/2.608, allocations: 7.906 kB / 330.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/2.608, allocations: 3.938 kB / 330.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.608, allocations: 3.938 kB / 330.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005173/2.608, allocations: 254.6 kB / 331.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006255/2.609, allocations: 0.6448 MB / 331.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/2.609, allocations: 89 kB / 331.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/2.609, allocations: 4 kB / 331.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/2.609, allocations: 4.047 kB / 331.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/2.609, allocations: 11.59 kB / 331.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/2.61, allocations: 4 kB / 331.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001184/2.61, allocations: 99.28 kB / 331.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0013/2.611, allocations: 32.08 kB / 331.9 MB, free: 14.4 MB / 282.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.000184/2.611, allocations: 95.25 kB / 332 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/2.611, allocations: 71.38 kB / 332.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/2.611, allocations: 0 / 332.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/2.612, allocations: 35.61 kB / 332.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/2.612, allocations: 8.125 kB / 332.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000917/2.613, allocations: 286.7 kB / 332.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/2.613, allocations: 0.7426 MB / 333.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/2.613, allocations: 0 / 333.2 MB, free: 13.14 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat