Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous_InitialOutput",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 1.97/1.97, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2717/2.242, allocations: 51.03 MB / 267.3 MB, free: 5.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/2.359, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/2.713, allocations: 83.32 MB / 399.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/2.713, allocations: 73.39 kB / 399.4 MB, free: 9.465 MB / 330.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.1691/2.883, allocations: 29.79 MB / 429.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/2.883, allocations: 12 kB / 429.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/2.883, allocations: 86.97 kB / 429.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/2.886, allocations: 0.5538 MB / 429.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/2.886, allocations: 20 kB / 429.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/2.886, allocations: 31.91 kB / 429.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001157/2.887, allocations: 317.4 kB / 430.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/2.888, allocations: 429.9 kB / 430.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/2.888, allocations: 11.78 kB / 430.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-05/2.889, allocations: 4 kB / 430.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/2.889, allocations: 12 kB / 430.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00623/2.895, allocations: 1.822 MB / 432.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/2.896, allocations: 335.9 kB / 432.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/2.897, allocations: 190.6 kB / 432.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/2.897, allocations: 5.312 kB / 433 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.601e-05/2.898, allocations: 42.56 kB / 433 MB, free: 11.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 8.887e-06/2.898, allocations: 0 / 433 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002898/2.9, allocations: 0.7311 MB / 433.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/2.901, allocations: 114.8 kB / 433.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00097/2.902, allocations: 463.5 kB / 434.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/2.902, allocations: 29.64 kB / 434.3 MB, free: 9.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/2.902, allocations: 216.2 kB / 434.5 MB, free: 9.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/2.902, allocations: 161.6 kB / 434.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/2.902, allocations: 4 kB / 434.7 MB, free: 9.566 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002314/2.903, allocations: 386.7 kB / 435.1 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/2.903, allocations: 189.3 kB / 435.3 MB, free: 8.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/2.904, allocations: 283.8 kB / 435.5 MB, free: 8.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008567/2.905, allocations: 237 kB / 435.8 MB, free: 8.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/2.905, allocations: 0 / 435.8 MB, free: 8.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002356/2.907, allocations: 0.5791 MB / 436.3 MB, free: 7.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/2.907, allocations: 8.312 kB / 436.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/2.907, allocations: 4 kB / 436.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/2.907, allocations: 4 kB / 436.4 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/2.91, allocations: 199.8 kB / 436.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.861e-05/2.91, allocations: 8 kB / 436.6 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/2.912, allocations: 75.55 kB / 436.6 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/2.912, allocations: 23.98 kB / 436.7 MB, free: 7.547 MB / 362.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.0003514/2.913, allocations: 116.8 kB / 436.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005992/2.913, allocations: 71.19 kB / 436.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/2.914, allocations: 77.27 kB / 436.9 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/2.914, allocations: 4 kB / 436.9 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/2.914, allocations: 4 kB / 436.9 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/2.914, allocations: 3.984 kB / 436.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005079/2.919, allocations: 1.089 MB / 438 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/2.919, allocations: 0 / 438 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/2.922, allocations: 115.9 kB / 438.1 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/2.922, allocations: 0 / 438.1 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/2.922, allocations: 19.83 kB / 438.2 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/2.922, allocations: 4 kB / 438.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/2.922, allocations: 3.938 kB / 438.2 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002568/2.925, allocations: 0.9853 MB / 439.1 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003154/2.928, allocations: 1.618 MB / 440.8 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/2.928, allocations: 196 kB / 441 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/2.929, allocations: 11.98 kB / 441 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/2.93, allocations: 47.95 kB / 441 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/2.93, allocations: 39.94 kB / 441.1 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/2.93, allocations: 8 kB / 441.1 MB, free: 2.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0008466/2.931, allocations: 359.2 kB / 441.4 MB, free: 2.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001968/2.933, allocations: 127.9 kB / 441.5 MB, free: 2.496 MB / 362.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.0005491/2.933, allocations: 154.9 kB / 441.7 MB, free: 2.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/2.935, allocations: 451.8 kB / 442.1 MB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/2.935, allocations: 0.625 kB / 442.1 MB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/2.936, allocations: 228.6 kB / 442.4 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/2.938, allocations: 138.7 kB / 442.5 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/2.942, allocations: 1.133 MB / 443.6 MB, free: 372 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/2.944, allocations: 1.029 MB / 444.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/2.944, allocations: 0 / 444.6 MB, free: 15.3 MB / 378.7 MB