Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous_InitialOutput",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.415/2.415, allocations: 235 MB / 242 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1923/2.608, allocations: 57.19 MB / 299.2 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/2.887, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/3.061, allocations: 89.32 MB / 443.4 MB, free: 3.941 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/3.061, allocations: 63.98 kB / 443.5 MB, free: 3.879 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.3588/3.42, allocations: 28.04 MB / 471.5 MB, free: 73.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/3.42, allocations: 8 kB / 471.5 MB, free: 73.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006197/3.421, allocations: 94.89 kB / 471.6 MB, free: 73.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/3.424, allocations: 0.5434 MB / 472.1 MB, free: 73.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/3.424, allocations: 12 kB / 472.1 MB, free: 73.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/3.424, allocations: 35.91 kB / 472.2 MB, free: 73.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001759/3.426, allocations: 309.5 kB / 472.5 MB, free: 72.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/3.428, allocations: 425 kB / 472.9 MB, free: 72.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/3.428, allocations: 0 / 472.9 MB, free: 72.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/3.428, allocations: 4 kB / 472.9 MB, free: 72.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/3.428, allocations: 8 kB / 472.9 MB, free: 72.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008815/3.437, allocations: 1.832 MB / 474.7 MB, free: 70.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/3.439, allocations: 342.9 kB / 475.1 MB, free: 70.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/3.44, allocations: 194.5 kB / 475.3 MB, free: 69.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.458e-05/3.44, allocations: 5.531 kB / 475.3 MB, free: 69.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/3.44, allocations: 38.72 kB / 475.3 MB, free: 69.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 5.41e-06/3.44, allocations: 0 / 475.3 MB, free: 69.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.003523/3.443, allocations: 0.738 MB / 476.1 MB, free: 69.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/3.443, allocations: 106.8 kB / 476.2 MB, free: 68.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/3.445, allocations: 451.5 kB / 476.6 MB, free: 68.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002048/3.445, allocations: 25.7 kB / 476.6 MB, free: 68.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/3.445, allocations: 216.2 kB / 476.8 MB, free: 68.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/3.446, allocations: 173.6 kB / 477 MB, free: 68.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/3.446, allocations: 0 / 477 MB, free: 68.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/3.446, allocations: 386.7 kB / 477.4 MB, free: 67.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/3.446, allocations: 193.2 kB / 477.6 MB, free: 67.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/3.447, allocations: 295.7 kB / 477.9 MB, free: 67.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000802/3.448, allocations: 221.3 kB / 478.1 MB, free: 66.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/3.448, allocations: 8 kB / 478.1 MB, free: 66.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002455/3.45, allocations: 0.5752 MB / 478.7 MB, free: 66.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002747/3.451, allocations: 1.047 MB / 479.7 MB, free: 65.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/3.451, allocations: 7.984 kB / 479.7 MB, free: 65.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/3.451, allocations: 12 kB / 479.7 MB, free: 65.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/3.453, allocations: 195.8 kB / 479.9 MB, free: 65.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/3.453, allocations: 4 kB / 479.9 MB, free: 65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/3.455, allocations: 75.55 kB / 480 MB, free: 64.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/3.455, allocations: 23.98 kB / 480 MB, free: 64.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/3.455, allocations: 8 kB / 480 MB, free: 64.9 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001652/3.457, allocations: 496.2 kB / 480.5 MB, free: 64.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/3.457, allocations: 4 kB / 480.5 MB, free: 64.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/3.457, allocations: 8 kB / 480.5 MB, free: 64.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/3.459, allocations: 196 kB / 480.7 MB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/3.459, allocations: 15.98 kB / 480.7 MB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/3.46, allocations: 71.55 kB / 480.8 MB, free: 64.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/3.46, allocations: 20 kB / 480.8 MB, free: 64.11 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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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.0002052/3.461, allocations: 112.9 kB / 480.9 MB, free: 63.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/3.461, allocations: 67.16 kB / 481 MB, free: 63.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/3.461, allocations: 77.27 kB / 481.1 MB, free: 63.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/3.461, allocations: 4 kB / 481.1 MB, free: 63.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/3.461, allocations: 4 kB / 481.1 MB, free: 63.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/3.461, allocations: 3.984 kB / 481.1 MB, free: 63.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/3.464, allocations: 1.085 MB / 482.2 MB, free: 62.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/3.464, allocations: 0 / 482.2 MB, free: 62.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/3.466, allocations: 115.9 kB / 482.3 MB, free: 62.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/3.466, allocations: 4 kB / 482.3 MB, free: 62.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/3.466, allocations: 15.98 kB / 482.3 MB, free: 62.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/3.466, allocations: 4 kB / 482.3 MB, free: 62.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/3.466, allocations: 3.938 kB / 482.3 MB, free: 62.57 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002233/3.468, allocations: 0.9901 MB / 483.3 MB, free: 61.53 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002873/3.471, allocations: 1.604 MB / 484.9 MB, free: 59.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/3.472, allocations: 196 kB / 485.1 MB, free: 59.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/3.472, allocations: 11.98 kB / 485.1 MB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/3.473, allocations: 47.95 kB / 485.1 MB, free: 59.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/3.474, allocations: 47.84 kB / 485.2 MB, free: 59.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/3.474, allocations: 8 kB / 485.2 MB, free: 59.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006771/3.474, allocations: 351.2 kB / 485.5 MB, free: 59.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003626/3.478, allocations: 195.9 kB / 485.7 MB, free: 59.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.0005636/3.479, allocations: 156.6 kB / 485.9 MB, free: 58.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002539/3.481, allocations: 0.7458 MB / 486.6 MB, free: 58.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/3.481, allocations: 4 kB / 486.6 MB, free: 58.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/3.482, allocations: 225.6 kB / 486.9 MB, free: 57.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/3.484, allocations: 147.4 kB / 487 MB, free: 57.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/3.488, allocations: 1.15 MB / 488.2 MB, free: 56.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/3.489, allocations: 1.042 MB / 489.2 MB, free: 55.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/3.489, allocations: 0 / 489.2 MB, free: 55.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat