Running command: "" <> buildModelFMU(ModelicaTest.Blocks.UnitDeduction,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_UnitDeduction",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(ModelicaTest): time 2.16/2.16, allocations: 234.9 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1826/2.343, allocations: 57.2 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/2.598, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/2.796, allocations: 87.67 MB / 441.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/2.796, allocations: 75.89 kB / 441.7 MB, free: 5.562 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.247/3.043, allocations: 13.69 MB / 455.4 MB, free: 85.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/3.043, allocations: 13.34 kB / 455.4 MB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/3.044, allocations: 82.56 kB / 455.5 MB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/3.045, allocations: 464 kB / 455.9 MB, free: 84.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/3.045, allocations: 15.94 kB / 456 MB, free: 84.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/3.045, allocations: 35.53 kB / 456 MB, free: 84.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008997/3.046, allocations: 272.1 kB / 456.3 MB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/3.047, allocations: 382.4 kB / 456.6 MB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/3.047, allocations: 0 / 456.6 MB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/3.047, allocations: 2.094 kB / 456.6 MB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/3.047, allocations: 11.06 kB / 456.6 MB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005988/3.053, allocations: 1.662 MB / 458.3 MB, free: 83.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/3.054, allocations: 331.2 kB / 458.6 MB, free: 83.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/3.055, allocations: 134.9 kB / 458.8 MB, free: 83.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/3.055, allocations: 8.812 kB / 458.8 MB, free: 83.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/3.055, allocations: 37.31 kB / 458.8 MB, free: 83.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.317e-06/3.055, allocations: 0 / 458.8 MB, free: 83.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.001062/3.056, allocations: 315 kB / 459.1 MB, free: 83.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/3.056, allocations: 111.5 kB / 459.2 MB, free: 83.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/3.057, allocations: 367.4 kB / 459.6 MB, free: 82.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/3.057, allocations: 29.7 kB / 459.6 MB, free: 82.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/3.057, allocations: 236.9 kB / 459.8 MB, free: 82.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/3.057, allocations: 141.6 kB / 460 MB, free: 82.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/3.057, allocations: 1.312 kB / 460 MB, free: 82.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/3.057, allocations: 362.8 kB / 460.3 MB, free: 82.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/3.058, allocations: 122.2 kB / 460.5 MB, free: 82.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/3.058, allocations: 241.7 kB / 460.7 MB, free: 81.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/3.059, allocations: 149.5 kB / 460.8 MB, free: 81.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/3.059, allocations: 1.094 kB / 460.8 MB, free: 81.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001263/3.06, allocations: 446.2 kB / 461.3 MB, free: 81.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002966/3.06, allocations: 1.395 MB / 462.7 MB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/3.06, allocations: 3.688 kB / 462.7 MB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/3.06, allocations: 10.64 kB / 462.7 MB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/3.061, allocations: 125.4 kB / 462.8 MB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/3.062, allocations: 10.58 kB / 462.8 MB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/3.063, allocations: 57.48 kB / 462.9 MB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/3.063, allocations: 18.91 kB / 462.9 MB, free: 80.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/3.063, allocations: 3.562 kB / 462.9 MB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001711/3.064, allocations: 344.4 kB / 463.2 MB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/3.065, allocations: 2.844 kB / 463.2 MB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/3.065, allocations: 6.812 kB / 463.2 MB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/3.066, allocations: 121.8 kB / 463.4 MB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.45e-05/3.066, allocations: 10.59 kB / 463.4 MB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/3.068, allocations: 43.23 kB / 463.4 MB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/3.068, allocations: 19.44 kB / 463.4 MB, free: 79.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0002655/3.068, allocations: 118 kB / 463.6 MB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/3.068, allocations: 53.62 kB / 463.6 MB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/3.069, allocations: 62.83 kB / 463.7 MB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/3.069, allocations: 11.72 kB / 463.7 MB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/3.069, allocations: 1.031 kB / 463.7 MB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/3.069, allocations: 4.953 kB / 463.7 MB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/3.071, allocations: 474.2 kB / 464.1 MB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/3.071, allocations: 5.156 kB / 464.1 MB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/3.072, allocations: 100.8 kB / 464.2 MB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/3.072, allocations: 2.062 kB / 464.2 MB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/3.072, allocations: 7.344 kB / 464.3 MB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/3.073, allocations: 5.031 kB / 464.3 MB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/3.073, allocations: 0.875 kB / 464.3 MB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002331/3.075, allocations: 0.654 MB / 464.9 MB, free: 78.81 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002821/3.078, allocations: 1.18 MB / 466.1 MB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/3.078, allocations: 167.2 kB / 466.3 MB, free: 77.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/3.079, allocations: 6.188 kB / 466.3 MB, free: 77.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/3.08, allocations: 29.3 kB / 466.3 MB, free: 77.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/3.08, allocations: 27.09 kB / 466.3 MB, free: 77.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/3.08, allocations: 19.27 kB / 466.3 MB, free: 77.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000873/3.081, allocations: 284.5 kB / 466.6 MB, free: 77.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004808/3.086, allocations: 201.4 kB / 466.8 MB, free: 77.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x,Wsec.y,Vsec.y,Asec.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0002911/3.086, allocations: 109.4 kB / 466.9 MB, free: 77.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002362/3.089, allocations: 0.5295 MB / 467.5 MB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/3.089, allocations: 4.125 kB / 467.5 MB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005581/3.089, allocations: 147.9 kB / 467.6 MB, free: 76.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/3.091, allocations: 133.1 kB / 467.7 MB, free: 76.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/3.096, allocations: 0.9758 MB / 468.7 MB, free: 75.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/3.097, allocations: 0.9672 MB / 469.7 MB, free: 74.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/3.097, allocations: 0 / 469.7 MB, free: 74.79 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction_res.mat does not exist to compare? outputFormat=mat