Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialState",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.295/2.295, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.188/2.483, allocations: 57.2 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/2.792, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/2.958, allocations: 89.22 MB / 443.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/2.959, allocations: 71.89 kB / 443.3 MB, free: 4.023 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.4145/3.373, allocations: 26.66 MB / 469.9 MB, free: 75.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/3.373, allocations: 8 kB / 469.9 MB, free: 75.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005329/3.374, allocations: 86.97 kB / 470 MB, free: 75.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/3.376, allocations: 0.5205 MB / 470.5 MB, free: 74.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/3.376, allocations: 12 kB / 470.5 MB, free: 74.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/3.376, allocations: 39.91 kB / 470.6 MB, free: 74.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001434/3.378, allocations: 313.5 kB / 470.9 MB, free: 74.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/3.379, allocations: 433 kB / 471.3 MB, free: 73.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/3.379, allocations: 3.938 kB / 471.3 MB, free: 73.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/3.38, allocations: 0 / 471.3 MB, free: 73.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/3.38, allocations: 15.98 kB / 471.3 MB, free: 73.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005272/3.385, allocations: 1.838 MB / 473.2 MB, free: 71.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/3.387, allocations: 455.6 kB / 473.6 MB, free: 71.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007268/3.387, allocations: 182.6 kB / 473.8 MB, free: 71.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.543e-05/3.388, allocations: 8.188 kB / 473.8 MB, free: 71.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/3.388, allocations: 42.56 kB / 473.8 MB, free: 71.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.778e-06/3.388, allocations: 0 / 473.8 MB, free: 71.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003034/3.391, allocations: 0.7233 MB / 474.6 MB, free: 70.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/3.391, allocations: 136.6 kB / 474.7 MB, free: 70.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/3.392, allocations: 459.5 kB / 475.1 MB, free: 69.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/3.392, allocations: 33.64 kB / 475.2 MB, free: 69.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/3.392, allocations: 216.2 kB / 475.4 MB, free: 69.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/3.393, allocations: 165.6 kB / 475.6 MB, free: 69.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/3.393, allocations: 0 / 475.6 MB, free: 69.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/3.393, allocations: 378.8 kB / 475.9 MB, free: 69.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008026/3.394, allocations: 189.2 kB / 476.1 MB, free: 68.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008673/3.395, allocations: 304.7 kB / 476.4 MB, free: 68.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/3.396, allocations: 225.3 kB / 476.6 MB, free: 68.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/3.396, allocations: 0 / 476.6 MB, free: 68.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002296/3.398, allocations: 0.5765 MB / 477.2 MB, free: 67.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003301/3.398, allocations: 1.043 MB / 478.2 MB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/3.398, allocations: 0 / 478.2 MB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/3.398, allocations: 8 kB / 478.3 MB, free: 66.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/3.4, allocations: 155.8 kB / 478.4 MB, free: 66.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/3.4, allocations: 11.98 kB / 478.4 MB, free: 66.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/3.402, allocations: 79.58 kB / 478.5 MB, free: 66.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/3.402, allocations: 20 kB / 478.5 MB, free: 66.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/3.402, allocations: 5.562 kB / 478.5 MB, free: 66.38 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001821/3.404, allocations: 479.8 kB / 479 MB, free: 65.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/3.404, allocations: 7.984 kB / 479 MB, free: 65.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/3.404, allocations: 7.984 kB / 479 MB, free: 65.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/3.406, allocations: 144.1 kB / 479.1 MB, free: 65.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/3.406, allocations: 11.98 kB / 479.2 MB, free: 65.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/3.407, allocations: 71.64 kB / 479.2 MB, free: 65.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/3.408, allocations: 16 kB / 479.2 MB, free: 65.66 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.0002645/3.408, allocations: 120.8 kB / 479.4 MB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/3.408, allocations: 63.25 kB / 479.4 MB, free: 65.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/3.408, allocations: 81.2 kB / 479.5 MB, free: 65.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/3.409, allocations: 4 kB / 479.5 MB, free: 65.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/3.409, allocations: 3.906 kB / 479.5 MB, free: 65.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/3.409, allocations: 3.984 kB / 479.5 MB, free: 65.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/3.41, allocations: 0.7327 MB / 480.2 MB, free: 64.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/3.41, allocations: 0 / 480.2 MB, free: 64.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/3.412, allocations: 123.9 kB / 480.4 MB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/3.412, allocations: 4 kB / 480.4 MB, free: 64.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/3.412, allocations: 8 kB / 480.4 MB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/3.412, allocations: 7.984 kB / 480.4 MB, free: 64.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/3.412, allocations: 0 / 480.4 MB, free: 64.47 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002168/3.414, allocations: 0.954 MB / 481.3 MB, free: 63.49 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002702/3.417, allocations: 1.559 MB / 482.9 MB, free: 61.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/3.418, allocations: 196 kB / 483.1 MB, free: 61.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/3.418, allocations: 8 kB / 483.1 MB, free: 61.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/3.419, allocations: 59.94 kB / 483.2 MB, free: 61.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/3.42, allocations: 35.94 kB / 483.2 MB, free: 61.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/3.42, allocations: 19.84 kB / 483.2 MB, free: 61.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006972/3.42, allocations: 359.2 kB / 483.6 MB, free: 61.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003313/3.424, allocations: 160 kB / 483.7 MB, free: 61.06 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.0003283/3.424, allocations: 107.2 kB / 483.8 MB, free: 60.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002257/3.426, allocations: 0.7526 MB / 484.6 MB, free: 60.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/3.426, allocations: 0 / 484.6 MB, free: 60.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009449/3.427, allocations: 211.8 kB / 484.8 MB, free: 59.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/3.429, allocations: 137.5 kB / 484.9 MB, free: 59.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/3.434, allocations: 1.147 MB / 486.1 MB, free: 58.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/3.435, allocations: 1.034 MB / 487.1 MB, free: 57.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/3.435, allocations: 3.938 kB / 487.1 MB, free: 57.61 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat