Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous_InitialState",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(ModelicaTest): time 2.624/2.624, allocations: 235 MB / 242 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1884/2.812, allocations: 57.19 MB / 299.2 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/3.101, allocations: 54.85 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/3.331, allocations: 89.23 MB / 443.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/3.332, allocations: 71.91 kB / 443.4 MB, free: 3.98 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.3658/3.698, allocations: 26.67 MB / 470 MB, free: 56.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/3.698, allocations: 8 kB / 470 MB, free: 56.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/3.698, allocations: 86.97 kB / 470.1 MB, free: 56.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/3.7, allocations: 0.5213 MB / 470.6 MB, free: 55.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/3.7, allocations: 16 kB / 470.7 MB, free: 55.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/3.7, allocations: 35.84 kB / 470.7 MB, free: 55.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/3.701, allocations: 312.2 kB / 471 MB, free: 55.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/3.702, allocations: 426.9 kB / 471.4 MB, free: 55.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/3.702, allocations: 0 / 471.4 MB, free: 55.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/3.703, allocations: 4 kB / 471.4 MB, free: 55.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/3.703, allocations: 11.98 kB / 471.4 MB, free: 55.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/3.709, allocations: 1.849 MB / 473.3 MB, free: 53.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/3.711, allocations: 449.7 kB / 473.7 MB, free: 53.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/3.712, allocations: 186.1 kB / 473.9 MB, free: 52.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.316e-05/3.712, allocations: 7.906 kB / 473.9 MB, free: 52.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/3.712, allocations: 49.72 kB / 474 MB, free: 52.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 6.031e-06/3.712, allocations: 0 / 474 MB, free: 52.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003748/3.716, allocations: 0.7188 MB / 474.7 MB, free: 52.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/3.716, allocations: 136.5 kB / 474.8 MB, free: 52.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/3.717, allocations: 454.4 kB / 475.3 MB, free: 51.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/3.717, allocations: 33.78 kB / 475.3 MB, free: 51.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/3.718, allocations: 218.3 kB / 475.5 MB, free: 51.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/3.718, allocations: 164.6 kB / 475.7 MB, free: 51.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/3.718, allocations: 0 / 475.7 MB, free: 51.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/3.718, allocations: 378.2 kB / 476 MB, free: 51.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009034/3.719, allocations: 194.8 kB / 476.2 MB, free: 50.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009559/3.72, allocations: 303.2 kB / 476.5 MB, free: 50.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/3.721, allocations: 222 kB / 476.7 MB, free: 50.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/3.721, allocations: 0 / 476.7 MB, free: 50.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001722/3.723, allocations: 0.5692 MB / 477.3 MB, free: 50.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002309/3.723, allocations: 1.056 MB / 478.4 MB, free: 48.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/3.723, allocations: 0 / 478.4 MB, free: 48.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/3.723, allocations: 8 kB / 478.4 MB, free: 48.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/3.725, allocations: 151.6 kB / 478.5 MB, free: 48.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/3.725, allocations: 4 kB / 478.5 MB, free: 48.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/3.726, allocations: 83.62 kB / 478.6 MB, free: 48.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/3.726, allocations: 21.94 kB / 478.6 MB, free: 48.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/3.726, allocations: 4 kB / 478.6 MB, free: 48.72 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/3.727, allocations: 481.6 kB / 479.1 MB, free: 48.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/3.727, allocations: 8.062 kB / 479.1 MB, free: 48.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/3.727, allocations: 8 kB / 479.1 MB, free: 48.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/3.729, allocations: 146.9 kB / 479.3 MB, free: 48.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/3.729, allocations: 8 kB / 479.3 MB, free: 48.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/3.73, allocations: 75.62 kB / 479.3 MB, free: 48.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/3.73, allocations: 15.69 kB / 479.3 MB, free: 48.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0001926/3.73, allocations: 120.7 kB / 479.5 MB, free: 48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/3.73, allocations: 67.25 kB / 479.5 MB, free: 47.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/3.731, allocations: 72.33 kB / 479.6 MB, free: 47.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/3.731, allocations: 8 kB / 479.6 MB, free: 47.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/3.731, allocations: 3.906 kB / 479.6 MB, free: 47.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/3.731, allocations: 3.984 kB / 479.6 MB, free: 47.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/3.732, allocations: 0.7268 MB / 480.3 MB, free: 47.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/3.732, allocations: 4 kB / 480.3 MB, free: 47.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/3.734, allocations: 118.4 kB / 480.5 MB, free: 47.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/3.734, allocations: 7.938 kB / 480.5 MB, free: 47.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/3.734, allocations: 7.5 kB / 480.5 MB, free: 47.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/3.734, allocations: 4 kB / 480.5 MB, free: 47.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/3.734, allocations: 0 / 480.5 MB, free: 47.14 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001872/3.736, allocations: 0.947 MB / 481.4 MB, free: 46.37 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003281/3.739, allocations: 1.566 MB / 483 MB, free: 45.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/3.74, allocations: 197.5 kB / 483.2 MB, free: 44.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/3.74, allocations: 11.5 kB / 483.2 MB, free: 44.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/3.741, allocations: 59.94 kB / 483.3 MB, free: 44.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/3.741, allocations: 31.38 kB / 483.3 MB, free: 44.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/3.741, allocations: 15.09 kB / 483.3 MB, free: 44.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006245/3.742, allocations: 352.2 kB / 483.6 MB, free: 44.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003069/3.745, allocations: 167.8 kB / 483.8 MB, free: 44.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0002436/3.745, allocations: 118.2 kB / 483.9 MB, free: 44.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002082/3.747, allocations: 0.7439 MB / 484.7 MB, free: 43.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/3.748, allocations: 320 / 484.7 MB, free: 43.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006178/3.748, allocations: 222.2 kB / 484.9 MB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/3.75, allocations: 140.6 kB / 485 MB, free: 43.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/3.755, allocations: 1.143 MB / 486.2 MB, free: 42.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/3.756, allocations: 1.029 MB / 487.2 MB, free: 41.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.854e-06/3.756, allocations: 0 / 487.2 MB, free: 41.34 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat