Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_Sensors",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.758/1.758, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.222/1.98, allocations: 46.81 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/2.074, allocations: 44.52 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/2.365, allocations: 71.99 MB / 365.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/2.365, allocations: 66.73 kB / 366 MB, free: 7.141 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.01108/2.376, allocations: 2.564 MB / 368.5 MB, free: 6.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/2.377, allocations: 11.59 kB / 368.5 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/2.377, allocations: 24.92 kB / 368.6 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/2.377, allocations: 203.6 kB / 368.8 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/2.377, allocations: 11.69 kB / 368.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/2.377, allocations: 7.656 kB / 368.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002649/2.377, allocations: 68.75 kB / 368.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/2.377, allocations: 117.7 kB / 369 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/2.378, allocations: 0 / 369 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/2.378, allocations: 0 / 369 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/2.378, allocations: 5.141 kB / 369 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/2.379, allocations: 0.4923 MB / 369.5 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/2.379, allocations: 50.72 kB / 369.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/2.379, allocations: 27.86 kB / 369.5 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/2.379, allocations: 0 / 369.5 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/2.379, allocations: 34.44 kB / 369.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/2.379, allocations: 0 / 369.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009239/2.38, allocations: 0.5227 MB / 370.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/2.38, allocations: 54.2 kB / 370.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/2.38, allocations: 118.8 kB / 370.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/2.38, allocations: 25.7 kB / 370.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/2.38, allocations: 137.8 kB / 370.4 MB, free: 21.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/2.38, allocations: 36 kB / 370.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/2.38, allocations: 4 kB / 370.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/2.38, allocations: 321.4 kB / 370.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/2.38, allocations: 26.19 kB / 370.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/2.381, allocations: 66.06 kB / 370.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/2.381, allocations: 45.52 kB / 370.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/2.381, allocations: 3.938 kB / 370.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003073/2.381, allocations: 128.3 kB / 371 MB, free: 20.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/2.381, allocations: 3.875 kB / 371 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/2.381, allocations: 3.75 kB / 371 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/2.381, allocations: 4.188 kB / 371.1 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/2.381, allocations: 43.33 kB / 371.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/2.381, allocations: 4.953 kB / 371.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/2.382, allocations: 5 kB / 371.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/2.382, allocations: 3.875 kB / 371.1 MB, free: 20.74 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 9.604e-05/2.382, allocations: 112.5 kB / 371.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/2.382, allocations: 13.09 kB / 371.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/2.382, allocations: 18.06 kB / 371.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/2.382, allocations: 1.453 kB / 371.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/2.382, allocations: 0 / 371.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/2.382, allocations: 0 / 371.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/2.383, allocations: 390.1 kB / 371.6 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/2.383, allocations: 7.844 kB / 371.6 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/2.383, allocations: 26.7 kB / 371.7 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/2.383, allocations: 1.172 kB / 371.7 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/2.383, allocations: 5.844 kB / 371.7 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/2.383, allocations: 0 / 371.7 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/2.383, allocations: 3.938 kB / 371.7 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003448/2.383, allocations: 253.9 kB / 371.9 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005231/2.384, allocations: 0.644 MB / 372.6 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/2.384, allocations: 86.31 kB / 372.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/2.384, allocations: 7.875 kB / 372.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/2.384, allocations: 2.062 kB / 372.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/2.384, allocations: 8.703 kB / 372.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/2.384, allocations: 5.422 kB / 372.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.996e-05/2.384, allocations: 103.1 kB / 372.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001467/2.386, allocations: 34.81 kB / 372.8 MB, free: 19.36 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.0001606/2.386, allocations: 100 kB / 372.9 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002305/2.386, allocations: 67.03 kB / 373 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.386, allocations: 3.875 kB / 373 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/2.386, allocations: 34.95 kB / 373 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/2.387, allocations: 5.703 kB / 373 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/2.388, allocations: 296.1 kB / 373.3 MB, free: 19.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/2.388, allocations: 0.7372 MB / 374 MB, free: 18.34 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/2.388, allocations: 0 / 374 MB, free: 18.34 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat