Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_2_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 2.557/2.557, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/2.73, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/3.05, allocations: 54.83 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/3.239, allocations: 88.82 MB / 442.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/3.24, allocations: 63.91 kB / 442.9 MB, free: 4.441 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.2883/3.528, allocations: 14.25 MB / 457.1 MB, free: 84.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/3.528, allocations: 9.906 kB / 457.1 MB, free: 84.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/3.528, allocations: 86.12 kB / 457.2 MB, free: 84.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/3.53, allocations: 0.5163 MB / 457.7 MB, free: 83.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/3.53, allocations: 17.34 kB / 457.7 MB, free: 83.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/3.53, allocations: 33.05 kB / 457.8 MB, free: 83.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/3.531, allocations: 321.2 kB / 458.1 MB, free: 83.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/3.533, allocations: 424.2 kB / 458.5 MB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/3.533, allocations: 1.281 kB / 458.5 MB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/3.533, allocations: 1.469 kB / 458.5 MB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/3.533, allocations: 11.06 kB / 458.5 MB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006555/3.539, allocations: 1.856 MB / 460.4 MB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/3.541, allocations: 448.8 kB / 460.8 MB, free: 82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/3.541, allocations: 187.1 kB / 461 MB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/3.541, allocations: 7.906 kB / 461 MB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/3.541, allocations: 42.34 kB / 461 MB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.146e-06/3.541, allocations: 0 / 461 MB, free: 81.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003076/3.545, allocations: 0.7237 MB / 461.8 MB, free: 81.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/3.545, allocations: 134.2 kB / 461.9 MB, free: 81.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/3.546, allocations: 459 kB / 462.3 MB, free: 81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002304/3.546, allocations: 27.08 kB / 462.4 MB, free: 80.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/3.547, allocations: 217.4 kB / 462.6 MB, free: 80.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/3.547, allocations: 160.6 kB / 462.7 MB, free: 80.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/3.547, allocations: 0 / 462.7 MB, free: 80.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/3.547, allocations: 388.3 kB / 463.1 MB, free: 80.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/3.548, allocations: 190.4 kB / 463.3 MB, free: 80.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/3.549, allocations: 293.6 kB / 463.6 MB, free: 79.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/3.55, allocations: 229 kB / 463.8 MB, free: 79.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/3.55, allocations: 1.219 kB / 463.8 MB, free: 79.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001785/3.551, allocations: 0.5768 MB / 464.4 MB, free: 79.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002767/3.552, allocations: 1.052 MB / 465.4 MB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/3.552, allocations: 3.125 kB / 465.4 MB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/3.552, allocations: 9.344 kB / 465.4 MB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/3.553, allocations: 152.4 kB / 465.6 MB, free: 78.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/3.553, allocations: 5.625 kB / 465.6 MB, free: 78.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/3.555, allocations: 79.84 kB / 465.7 MB, free: 78.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/3.555, allocations: 19.5 kB / 465.7 MB, free: 78.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/3.555, allocations: 7.438 kB / 465.7 MB, free: 78.38 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001709/3.556, allocations: 468.5 kB / 466.2 MB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/3.556, allocations: 2.844 kB / 466.2 MB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/3.556, allocations: 5.594 kB / 466.2 MB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/3.558, allocations: 151.6 kB / 466.3 MB, free: 78.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/3.558, allocations: 13.72 kB / 466.3 MB, free: 78.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/3.559, allocations: 79.22 kB / 466.4 MB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/3.559, allocations: 19.16 kB / 466.4 MB, free: 78.1 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.0002262/3.56, allocations: 115.1 kB / 466.5 MB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/3.56, allocations: 66.97 kB / 466.6 MB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/3.56, allocations: 71.98 kB / 466.7 MB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/3.56, allocations: 5.5 kB / 466.7 MB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/3.56, allocations: 1.312 kB / 466.7 MB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/3.56, allocations: 5.109 kB / 466.7 MB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/3.562, allocations: 0.7303 MB / 467.4 MB, free: 77.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/3.562, allocations: 7.938 kB / 467.4 MB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/3.564, allocations: 115.9 kB / 467.5 MB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/3.564, allocations: 4 kB / 467.5 MB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/3.564, allocations: 11.94 kB / 467.6 MB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/3.564, allocations: 4 kB / 467.6 MB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/3.564, allocations: 96 / 467.6 MB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001859/3.566, allocations: 0.9505 MB / 468.5 MB, free: 76.14 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002514/3.568, allocations: 1.578 MB / 470.1 MB, free: 74.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/3.569, allocations: 196.1 kB / 470.3 MB, free: 74.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/3.569, allocations: 8 kB / 470.3 MB, free: 74.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/3.57, allocations: 63.94 kB / 470.3 MB, free: 74.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/3.57, allocations: 31.94 kB / 470.4 MB, free: 74.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/3.57, allocations: 12 kB / 470.4 MB, free: 74.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006329/3.571, allocations: 355.2 kB / 470.7 MB, free: 73.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003005/3.574, allocations: 163.9 kB / 470.9 MB, free: 73.71 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.0002759/3.574, allocations: 123.1 kB / 471 MB, free: 73.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001986/3.576, allocations: 0.7361 MB / 471.8 MB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/3.576, allocations: 0 / 471.8 MB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005887/3.577, allocations: 211.8 kB / 472 MB, free: 72.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/3.579, allocations: 139.6 kB / 472.1 MB, free: 72.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/3.583, allocations: 1.142 MB / 473.2 MB, free: 71.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009884/3.584, allocations: 1.034 MB / 474.3 MB, free: 70.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.714e-06/3.584, allocations: 0 / 474.3 MB, free: 70.26 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat