Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous",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.935/1.935, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2451/2.18, allocations: 51.03 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/2.29, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.322/2.612, allocations: 82.83 MB / 398.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/2.613, allocations: 71.58 kB / 398.9 MB, free: 9.977 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.07996/2.693, allocations: 15.13 MB / 414 MB, free: 13.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/2.693, allocations: 8 kB / 414 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/2.693, allocations: 90.97 kB / 414.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/2.695, allocations: 0.5291 MB / 414.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/2.695, allocations: 12 kB / 414.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/2.695, allocations: 39.27 kB / 414.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001055/2.696, allocations: 322.3 kB / 415 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/2.698, allocations: 436.3 kB / 415.4 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/2.698, allocations: 11.88 kB / 415.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/2.698, allocations: 0 / 415.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/2.698, allocations: 12 kB / 415.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005972/2.704, allocations: 1.859 MB / 417.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/2.705, allocations: 447.4 kB / 417.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/2.706, allocations: 180.4 kB / 417.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/2.706, allocations: 4 kB / 417.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/2.706, allocations: 37.44 kB / 418 MB, free: 9.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 4.368e-06/2.706, allocations: 0 / 418 MB, free: 9.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002392/2.708, allocations: 0.7311 MB / 418.7 MB, free: 9.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/2.708, allocations: 165.1 kB / 418.8 MB, free: 9.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000982/2.709, allocations: 461.4 kB / 419.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/2.709, allocations: 25.7 kB / 419.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/2.71, allocations: 217.5 kB / 419.5 MB, free: 8.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/2.71, allocations: 167.8 kB / 419.7 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/2.71, allocations: 0 / 419.7 MB, free: 8.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/2.71, allocations: 377.1 kB / 420.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/2.711, allocations: 189.7 kB / 420.3 MB, free: 7.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/2.712, allocations: 303.6 kB / 420.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/2.712, allocations: 224.7 kB / 420.8 MB, free: 7.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/2.712, allocations: 0 / 420.8 MB, free: 7.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001786/2.714, allocations: 0.5696 MB / 421.3 MB, free: 6.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/2.714, allocations: 11.91 kB / 421.3 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/2.714, allocations: 0 / 421.3 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/2.714, allocations: 12 kB / 421.4 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/2.716, allocations: 156.1 kB / 421.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/2.716, allocations: 4 kB / 421.5 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/2.717, allocations: 87.56 kB / 421.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/2.717, allocations: 19.94 kB / 421.6 MB, free: 6.594 MB / 346.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.0002085/2.717, allocations: 116.9 kB / 421.7 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/2.718, allocations: 71.14 kB / 421.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/2.718, allocations: 77.2 kB / 421.9 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/2.718, allocations: 4 kB / 421.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/2.718, allocations: 7.906 kB / 421.9 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/2.718, allocations: 0 / 421.9 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/2.72, allocations: 0.7288 MB / 422.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/2.72, allocations: 0 / 422.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/2.722, allocations: 123.9 kB / 422.7 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/2.722, allocations: 4 kB / 422.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/2.722, allocations: 7.938 kB / 422.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/2.722, allocations: 4 kB / 422.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/2.722, allocations: 3.938 kB / 422.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002328/2.724, allocations: 0.9414 MB / 423.7 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003085/2.727, allocations: 1.58 MB / 425.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/2.728, allocations: 192.2 kB / 425.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/2.728, allocations: 8 kB / 425.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/2.73, allocations: 63.84 kB / 425.5 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/2.73, allocations: 35.94 kB / 425.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/2.73, allocations: 16 kB / 425.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0007575/2.731, allocations: 355.2 kB / 425.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001767/2.732, allocations: 100 kB / 426 MB, free: 2.039 MB / 346.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.0002542/2.733, allocations: 107 kB / 426.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/2.734, allocations: 452.1 kB / 426.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/2.734, allocations: 4.125 kB / 426.6 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007014/2.735, allocations: 212.6 kB / 426.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/2.736, allocations: 134.1 kB / 426.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/2.741, allocations: 1.118 MB / 428 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/2.742, allocations: 1.032 MB / 429.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.254e-05/2.742, allocations: 4 kB / 429.1 MB, free: 14.92 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat