Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_InverseModel",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.931/1.931, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.317/2.248, allocations: 46.83 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/2.357, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/2.751, allocations: 71.05 MB / 364.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/2.751, allocations: 64 kB / 365 MB, free: 7.152 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.01206/2.763, allocations: 2.217 MB / 367.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/2.763, allocations: 7.531 kB / 367.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/2.763, allocations: 20.56 kB / 367.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/2.764, allocations: 209.9 kB / 367.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/2.764, allocations: 3.938 kB / 367.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/2.764, allocations: 7.844 kB / 367.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001595/2.764, allocations: 25.56 kB / 367.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/2.764, allocations: 61.56 kB / 367.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/2.764, allocations: 0 / 367.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/2.764, allocations: 3.875 kB / 367.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/2.764, allocations: 0.875 kB / 367.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/2.765, allocations: 382.2 kB / 367.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/2.765, allocations: 57.53 kB / 367.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/2.765, allocations: 30.39 kB / 368 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/2.765, allocations: 0 / 368 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/2.765, allocations: 32.09 kB / 368 MB, free: 6.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.933e-06/2.765, allocations: 0 / 368 MB, free: 6.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003094/2.766, allocations: 71.95 kB / 368.1 MB, free: 5.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/2.766, allocations: 51.41 kB / 368.1 MB, free: 5.906 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/2.766, allocations: 124 kB / 368.2 MB, free: 5.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/2.766, allocations: 25.7 kB / 368.3 MB, free: 5.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/2.766, allocations: 103.1 kB / 368.4 MB, free: 5.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/2.766, allocations: 25.23 kB / 368.4 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/2.766, allocations: 0 / 368.4 MB, free: 5.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/2.766, allocations: 317.4 kB / 368.7 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/2.766, allocations: 10.94 kB / 368.7 MB, free: 21.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/2.766, allocations: 13.09 kB / 368.7 MB, free: 21.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/2.767, allocations: 19.47 kB / 368.7 MB, free: 21.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/2.767, allocations: 0 / 368.7 MB, free: 21.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002412/2.767, allocations: 77.28 kB / 368.8 MB, free: 21.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/2.767, allocations: 11.56 kB / 368.8 MB, free: 21.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/2.767, allocations: 1.406 kB / 368.8 MB, free: 21.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/2.767, allocations: 0 / 368.8 MB, free: 21.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/2.767, allocations: 39.39 kB / 368.9 MB, free: 21.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/2.767, allocations: 3.906 kB / 368.9 MB, free: 21.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/2.768, allocations: 5.578 kB / 368.9 MB, free: 21.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/2.768, allocations: 0 / 368.9 MB, free: 21.32 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 0.0001186/2.768, allocations: 112.2 kB / 369 MB, free: 21.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/2.768, allocations: 7.781 kB / 369 MB, free: 21.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/2.768, allocations: 24.53 kB / 369 MB, free: 21.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/2.768, allocations: 224 / 369 MB, free: 21.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/2.768, allocations: 0 / 369 MB, free: 21.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/2.768, allocations: 5.484 kB / 369 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/2.768, allocations: 171 kB / 369.2 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/2.768, allocations: 3.938 kB / 369.2 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/2.769, allocations: 21.09 kB / 369.2 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/2.769, allocations: 7.875 kB / 369.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/2.769, allocations: 0 / 369.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/2.769, allocations: 3.906 kB / 369.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.769, allocations: 0 / 369.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003865/2.769, allocations: 181.9 kB / 369.4 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006382/2.77, allocations: 0.5754 MB / 370 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/2.77, allocations: 88.33 kB / 370.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/2.77, allocations: 1.781 kB / 370.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/2.77, allocations: 7.969 kB / 370.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/2.77, allocations: 3.047 kB / 370.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/2.77, allocations: 3.906 kB / 370.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001343/2.771, allocations: 106.4 kB / 370.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002394/2.773, allocations: 15.44 kB / 370.2 MB, free: 20.19 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.0002247/2.773, allocations: 99.81 kB / 370.3 MB, free: 20.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/2.773, allocations: 42.56 kB / 370.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/2.773, allocations: 0 / 370.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/2.774, allocations: 16.69 kB / 370.4 MB, free: 20.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/2.774, allocations: 15.27 kB / 370.4 MB, free: 20.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/2.775, allocations: 173.1 kB / 370.5 MB, free: 20 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/2.776, allocations: 0.7197 MB / 371.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/2.776, allocations: 0 / 371.3 MB, free: 19.29 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat