Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_InverseModel",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.747/1.747, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.22/1.967, allocations: 46.81 MB / 249.4 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/2.058, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2877/2.346, allocations: 71.06 MB / 365 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/2.346, allocations: 59.52 kB / 365 MB, free: 7.121 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01025/2.357, allocations: 2.221 MB / 367.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/2.357, allocations: 7.531 kB / 367.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/2.357, allocations: 15.41 kB / 367.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/2.357, allocations: 201.2 kB / 367.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/2.357, allocations: 3.938 kB / 367.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/2.357, allocations: 10.34 kB / 367.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000133/2.357, allocations: 30.41 kB / 367.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/2.358, allocations: 62.11 kB / 367.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/2.358, allocations: 7.984 kB / 367.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/2.358, allocations: 3.875 kB / 367.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/2.358, allocations: 0 / 367.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/2.358, allocations: 384.4 kB / 367.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/2.359, allocations: 55.45 kB / 368 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/2.359, allocations: 26.64 kB / 368 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/2.359, allocations: 0 / 368 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/2.359, allocations: 30.56 kB / 368.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/2.359, allocations: 1.203 kB / 368.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002496/2.359, allocations: 70.42 kB / 368.1 MB, free: 5.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/2.359, allocations: 54.41 kB / 368.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/2.359, allocations: 128.4 kB / 368.3 MB, free: 5.785 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/2.359, allocations: 25.7 kB / 368.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/2.359, allocations: 96.69 kB / 368.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/2.359, allocations: 24.17 kB / 368.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/2.359, allocations: 0 / 368.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/2.359, allocations: 317.7 kB / 368.8 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/2.359, allocations: 18.56 kB / 368.8 MB, free: 21.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/2.359, allocations: 11.09 kB / 368.8 MB, free: 21.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/2.36, allocations: 22.94 kB / 368.8 MB, free: 21.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/2.36, allocations: 0 / 368.8 MB, free: 21.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001853/2.36, allocations: 72.83 kB / 368.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/2.36, allocations: 7.562 kB / 368.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/2.36, allocations: 64 / 368.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/2.36, allocations: 4 kB / 368.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/2.36, allocations: 42.72 kB / 368.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/2.36, allocations: 7.906 kB / 368.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/2.36, allocations: 5.344 kB / 368.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/2.36, allocations: 0 / 368.9 MB, free: 21.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.669e-05/2.361, allocations: 104.8 kB / 369 MB, free: 21.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/2.361, allocations: 7.781 kB / 369.1 MB, free: 21.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/2.361, allocations: 21.59 kB / 369.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/2.361, allocations: 0 / 369.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/2.361, allocations: 224 / 369.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/2.361, allocations: 4 kB / 369.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/2.361, allocations: 178.3 kB / 369.3 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/2.361, allocations: 0 / 369.3 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/2.361, allocations: 21.7 kB / 369.3 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/2.361, allocations: 3.875 kB / 369.3 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/2.361, allocations: 1.453 kB / 369.3 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/2.361, allocations: 7.844 kB / 369.3 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/2.361, allocations: 0 / 369.3 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003014/2.362, allocations: 184 kB / 369.5 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000476/2.362, allocations: 0.5727 MB / 370 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/2.362, allocations: 85.94 kB / 370.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/2.362, allocations: 0 / 370.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/2.363, allocations: 5.328 kB / 370.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/2.363, allocations: 5.562 kB / 370.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/2.363, allocations: 9.125 kB / 370.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001015/2.363, allocations: 104.8 kB / 370.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00133/2.364, allocations: 15.44 kB / 370.3 MB, free: 20.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001587/2.364, allocations: 103.8 kB / 370.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001681/2.364, allocations: 39.39 kB / 370.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.364, allocations: 0 / 370.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/2.364, allocations: 20.08 kB / 370.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/2.365, allocations: 19.55 kB / 370.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/2.366, allocations: 168.4 kB / 370.6 MB, free: 19.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/2.366, allocations: 0.7227 MB / 371.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of SimCode: time 9.81e-07/2.366, allocations: 0 / 371.3 MB, free: 19.26 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat