Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_1_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.846/1.846, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2007/2.047, allocations: 41.09 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/2.145, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2758/2.421, allocations: 66.07 MB / 324.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/2.421, allocations: 65.78 kB / 324.1 MB, free: 5.844 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01434/2.436, allocations: 2.241 MB / 326.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/2.436, allocations: 8 kB / 326.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/2.436, allocations: 15.81 kB / 326.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/2.436, allocations: 201.7 kB / 326.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/2.436, allocations: 4 kB / 326.6 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/2.436, allocations: 4 kB / 326.6 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001733/2.437, allocations: 35.31 kB / 326.6 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/2.437, allocations: 65.45 kB / 326.7 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/2.437, allocations: 3.984 kB / 326.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/2.437, allocations: 0 / 326.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/2.437, allocations: 0 / 326.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/2.438, allocations: 390.3 kB / 327.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/2.438, allocations: 50.34 kB / 327.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/2.438, allocations: 20.67 kB / 327.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/2.438, allocations: 7.938 kB / 327.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/2.438, allocations: 30.56 kB / 327.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.615e-06/2.439, allocations: 0 / 327.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003609/2.439, allocations: 72.98 kB / 327.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/2.439, allocations: 55.22 kB / 327.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/2.439, allocations: 117.8 kB / 327.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/2.439, allocations: 25.7 kB / 327.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/2.439, allocations: 103.8 kB / 327.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/2.439, allocations: 19.8 kB / 327.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/2.439, allocations: 0 / 327.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/2.44, allocations: 326.4 kB / 327.9 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/2.44, allocations: 16.03 kB / 327.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/2.44, allocations: 15.88 kB / 327.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/2.44, allocations: 19.62 kB / 328 MB, free: 2.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.44, allocations: 0 / 328 MB, free: 2.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002834/2.44, allocations: 73.36 kB / 328 MB, free: 2.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/2.44, allocations: 8 kB / 328 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/2.44, allocations: 4 kB / 328 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/2.44, allocations: 0 / 328 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/2.441, allocations: 39.66 kB / 328.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/2.441, allocations: 4 kB / 328.1 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/2.441, allocations: 11.83 kB / 328.1 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/2.441, allocations: 4 kB / 328.1 MB, free: 2.148 MB / 266.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.008782/2.45, allocations: 101 kB / 328.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/2.45, allocations: 11.91 kB / 328.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/2.45, allocations: 12.12 kB / 328.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/2.45, allocations: 0 / 328.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.45, allocations: 0 / 328.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/2.45, allocations: 3.906 kB / 328.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/2.451, allocations: 173.4 kB / 328.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/2.451, allocations: 4 kB / 328.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/2.451, allocations: 19.98 kB / 328.4 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/2.451, allocations: 0 / 328.4 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/2.451, allocations: 7.984 kB / 328.4 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/2.451, allocations: 8 kB / 328.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/2.451, allocations: 4 kB / 328.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004201/2.452, allocations: 178.7 kB / 328.6 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006083/2.452, allocations: 0.5726 MB / 329.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/2.452, allocations: 89.08 kB / 329.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/2.452, allocations: 3.984 kB / 329.3 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/2.453, allocations: 7.938 kB / 329.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/2.453, allocations: 3.938 kB / 329.3 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/2.453, allocations: 0 / 329.3 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001429/2.453, allocations: 108.1 kB / 329.4 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.005706/2.459, allocations: 19.91 kB / 329.4 MB, free: 0.8047 MB / 266.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.0002217/2.459, allocations: 103.2 kB / 329.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/2.459, allocations: 35.38 kB / 329.5 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/2.459, allocations: 0 / 329.5 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/2.459, allocations: 23.62 kB / 329.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/2.46, allocations: 19.67 kB / 329.6 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/2.461, allocations: 179.3 kB / 329.8 MB, free: 460 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/2.462, allocations: 0.7305 MB / 330.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/2.462, allocations: 0 / 330.5 MB, free: 15.7 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat