Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_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 2.553/2.553, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1774/2.73, allocations: 57.19 MB / 299.1 MB, free: 500 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/3.031, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/3.227, allocations: 89.33 MB / 443.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003851/3.227, allocations: 55.98 kB / 443.4 MB, free: 3.926 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.3927/3.62, allocations: 28.05 MB / 471.4 MB, free: 74.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/3.62, allocations: 8 kB / 471.4 MB, free: 74.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/3.62, allocations: 82.97 kB / 471.5 MB, free: 74.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/3.623, allocations: 0.5421 MB / 472 MB, free: 73.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/3.623, allocations: 20 kB / 472 MB, free: 73.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/3.623, allocations: 35.89 kB / 472.1 MB, free: 73.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001102/3.624, allocations: 313.4 kB / 472.4 MB, free: 73.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009975/3.625, allocations: 421.1 kB / 472.8 MB, free: 73.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/3.625, allocations: 3.938 kB / 472.8 MB, free: 73.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/3.625, allocations: 4 kB / 472.8 MB, free: 73.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/3.625, allocations: 12 kB / 472.8 MB, free: 73.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005436/3.631, allocations: 1.826 MB / 474.6 MB, free: 71.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/3.632, allocations: 344 kB / 475 MB, free: 70.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/3.632, allocations: 190.6 kB / 475.2 MB, free: 70.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-05/3.632, allocations: 8.422 kB / 475.2 MB, free: 70.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/3.632, allocations: 42.72 kB / 475.2 MB, free: 70.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.367e-06/3.632, allocations: 0 / 475.2 MB, free: 70.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.003435/3.636, allocations: 0.7301 MB / 475.9 MB, free: 69.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/3.636, allocations: 110.8 kB / 476.1 MB, free: 69.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/3.637, allocations: 451.6 kB / 476.5 MB, free: 69.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/3.637, allocations: 25.7 kB / 476.5 MB, free: 69.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/3.637, allocations: 220.2 kB / 476.7 MB, free: 68.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/3.638, allocations: 169.5 kB / 476.9 MB, free: 68.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/3.638, allocations: 0 / 476.9 MB, free: 68.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/3.638, allocations: 382.7 kB / 477.3 MB, free: 68.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/3.639, allocations: 197.2 kB / 477.5 MB, free: 68.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/3.639, allocations: 287.8 kB / 477.8 MB, free: 67.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/3.64, allocations: 233.1 kB / 478 MB, free: 67.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/3.64, allocations: 0 / 478 MB, free: 67.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001745/3.642, allocations: 0.5791 MB / 478.6 MB, free: 67.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003405/3.642, allocations: 1.051 MB / 479.6 MB, free: 65.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/3.642, allocations: 4 kB / 479.6 MB, free: 65.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/3.642, allocations: 4 kB / 479.6 MB, free: 65.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/3.646, allocations: 199.8 kB / 479.8 MB, free: 65.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.127e-05/3.646, allocations: 11.94 kB / 479.8 MB, free: 65.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/3.648, allocations: 75.55 kB / 479.9 MB, free: 65.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/3.648, allocations: 28.03 kB / 479.9 MB, free: 65.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/3.648, allocations: 4 kB / 479.9 MB, free: 65.62 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002783/3.651, allocations: 492.2 kB / 480.4 MB, free: 65.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/3.651, allocations: 4.312 kB / 480.4 MB, free: 65.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/3.651, allocations: 8 kB / 480.4 MB, free: 65.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/3.654, allocations: 195.8 kB / 480.6 MB, free: 64.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/3.654, allocations: 7.984 kB / 480.6 MB, free: 64.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/3.656, allocations: 71.55 kB / 480.7 MB, free: 64.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/3.656, allocations: 24 kB / 480.7 MB, free: 64.84 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.0002899/3.656, allocations: 108.9 kB / 480.8 MB, free: 64.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/3.657, allocations: 71.16 kB / 480.9 MB, free: 64.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/3.657, allocations: 77.27 kB / 481 MB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/3.657, allocations: 4 kB / 481 MB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/3.657, allocations: 4 kB / 481 MB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/3.657, allocations: 7.922 kB / 481 MB, free: 64.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/3.662, allocations: 1.085 MB / 482.1 MB, free: 63.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/3.662, allocations: 4 kB / 482.1 MB, free: 63.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/3.664, allocations: 111.9 kB / 482.2 MB, free: 63.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.401e-05/3.664, allocations: 4 kB / 482.2 MB, free: 63.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/3.664, allocations: 15.98 kB / 482.2 MB, free: 63.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/3.664, allocations: 3.938 kB / 482.2 MB, free: 63.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/3.664, allocations: 7.938 kB / 482.2 MB, free: 63.28 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002706/3.667, allocations: 0.9899 MB / 483.2 MB, free: 62.24 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004334/3.671, allocations: 1.611 MB / 484.8 MB, free: 60.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/3.672, allocations: 192.1 kB / 485 MB, free: 60.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/3.672, allocations: 11.98 kB / 485 MB, free: 60.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/3.673, allocations: 47.95 kB / 485.1 MB, free: 60.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/3.674, allocations: 43.84 kB / 485.1 MB, free: 60.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/3.674, allocations: 8 kB / 485.1 MB, free: 60.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000783/3.674, allocations: 355.2 kB / 485.5 MB, free: 59.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003567/3.678, allocations: 195.9 kB / 485.6 MB, free: 59.73 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.000526/3.679, allocations: 147.9 kB / 485.8 MB, free: 59.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/3.681, allocations: 0.7458 MB / 486.5 MB, free: 58.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/3.681, allocations: 1.25 kB / 486.5 MB, free: 58.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000597/3.682, allocations: 223.6 kB / 486.8 MB, free: 58.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/3.683, allocations: 146.4 kB / 486.9 MB, free: 58.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/3.688, allocations: 1.158 MB / 488.1 MB, free: 57.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/3.689, allocations: 1.046 MB / 489.1 MB, free: 56.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.104e-06/3.689, allocations: 0 / 489.1 MB, free: 56.2 MB / 378.7 MB