Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.882/1.882, allocations: 209.3 MB / 216.3 MB, free: 6.859 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2631/2.145, allocations: 51.03 MB / 267.3 MB, free: 5.219 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/2.297, allocations: 48.67 MB / 316 MB, free: 4.449 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/2.691, allocations: 72.72 MB / 388.7 MB, free: 3.996 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/2.691, allocations: 68.64 kB / 388.8 MB, free: 3.961 MB / 314.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01578/2.707, allocations: 2.972 MB / 391.7 MB, free: 1.449 MB / 314.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/2.707, allocations: 8 kB / 391.7 MB, free: 1.441 MB / 314.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/2.707, allocations: 11.91 kB / 391.7 MB, free: 1.43 MB / 314.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/2.707, allocations: 163.1 kB / 391.9 MB, free: 1.23 MB / 314.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/2.707, allocations: 7.984 kB / 391.9 MB, free: 1.223 MB / 314.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/2.707, allocations: 3.906 kB / 391.9 MB, free: 1.219 MB / 314.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/2.707, allocations: 26.06 kB / 391.9 MB, free: 1.199 MB / 314.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/2.707, allocations: 49 kB / 392 MB, free: 1.148 MB / 314.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/2.707, allocations: 0 / 392 MB, free: 1.148 MB / 314.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/2.707, allocations: 4 kB / 392 MB, free: 1.145 MB / 314.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/2.707, allocations: 0 / 392 MB, free: 1.145 MB / 314.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/2.708, allocations: 156.8 kB / 392.1 MB, free: 0.9609 MB / 314.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/2.708, allocations: 47.67 kB / 392.2 MB, free: 0.9141 MB / 314.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/2.708, allocations: 22.8 kB / 392.2 MB, free: 0.8945 MB / 314.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/2.708, allocations: 115.8 kB / 392.3 MB, free: 0.7656 MB / 314.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/2.708, allocations: 30.56 kB / 392.4 MB, free: 0.7266 MB / 314.8 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/2.708, allocations: 0 / 392.4 MB, free: 0.7266 MB / 314.8 MB Notification: Performance of matching and sorting (n=19): time 0.2968/3.005, allocations: 5.429 MB / 397.8 MB, free: 11.48 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/3.005, allocations: 51.41 kB / 397.8 MB, free: 11.42 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/3.006, allocations: 101 kB / 397.9 MB, free: 11.31 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 8.422e-05/3.006, allocations: 25.7 kB / 398 MB, free: 11.28 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/3.006, allocations: 87.2 kB / 398 MB, free: 11.2 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/3.006, allocations: 58.98 kB / 398.1 MB, free: 11.14 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/3.006, allocations: 0 / 398.1 MB, free: 11.14 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.000191/3.006, allocations: 318.4 kB / 398.4 MB, free: 10.83 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006857/3.007, allocations: 167.3 kB / 398.6 MB, free: 10.74 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006939/3.008, allocations: 163 kB / 398.7 MB, free: 10.65 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/3.011, allocations: 278.3 kB / 399 MB, free: 10.45 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/3.011, allocations: 0 / 399 MB, free: 10.45 MB / 330.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00502/3.016, allocations: 0.5208 MB / 399.5 MB, free: 10.07 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/3.016, allocations: 9.312 kB / 399.5 MB, free: 10.06 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/3.016, allocations: 4 kB / 399.5 MB, free: 10.06 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/3.016, allocations: 0 / 399.5 MB, free: 10.06 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/3.017, allocations: 94.95 kB / 399.6 MB, free: 9.969 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/3.017, allocations: 0 / 399.6 MB, free: 9.969 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/3.018, allocations: 27.98 kB / 399.7 MB, free: 9.941 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/3.018, allocations: 19.97 kB / 399.7 MB, free: 9.922 MB / 330.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0002374/3.019, allocations: 112.9 kB / 399.8 MB, free: 9.805 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/3.019, allocations: 7.906 kB / 399.8 MB, free: 9.797 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005168/3.024, allocations: 0.6506 MB / 400.5 MB, free: 9.289 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/3.024, allocations: 7.906 kB / 400.5 MB, free: 9.281 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/3.024, allocations: 3.984 kB / 400.5 MB, free: 9.277 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/3.024, allocations: 0 / 400.5 MB, free: 9.277 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008603/3.033, allocations: 1.004 MB / 401.5 MB, free: 8.316 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/3.033, allocations: 7.984 kB / 401.5 MB, free: 8.309 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/3.034, allocations: 95.09 kB / 401.6 MB, free: 8.219 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/3.034, allocations: 4.094 kB / 401.6 MB, free: 8.215 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/3.034, allocations: 23.97 kB / 401.6 MB, free: 8.191 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/3.034, allocations: 3.906 kB / 401.6 MB, free: 8.188 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/3.034, allocations: 4 kB / 401.6 MB, free: 8.184 MB / 330.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004066/3.038, allocations: 0.5736 MB / 402.2 MB, free: 7.613 MB / 330.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004271/3.043, allocations: 0.9509 MB / 403.1 MB, free: 6.66 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/3.043, allocations: 85.27 kB / 403.2 MB, free: 6.559 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/3.043, allocations: 3.984 kB / 403.2 MB, free: 6.555 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009803/3.044, allocations: 31.98 kB / 403.2 MB, free: 6.523 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/3.044, allocations: 15.92 kB / 403.3 MB, free: 6.512 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/3.044, allocations: 19.97 kB / 403.3 MB, free: 6.492 MB / 330.8 MB Notification: Performance of sort global known variables: time 8.561e-05/3.044, allocations: 82.91 kB / 403.4 MB, free: 6.414 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.004961/3.049, allocations: 0.6277 MB / 404 MB, free: 5.789 MB / 330.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.008067/3.058, allocations: 334.2 kB / 404.3 MB, free: 5.457 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.001617/3.059, allocations: 323.5 kB / 404.6 MB, free: 5.258 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/3.059, allocations: 4 kB / 404.6 MB, free: 5.254 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006854/3.06, allocations: 134.8 kB / 404.8 MB, free: 5.156 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/3.06, allocations: 7.984 kB / 404.8 MB, free: 5.148 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/3.065, allocations: 414.5 kB / 405.2 MB, free: 4.742 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/3.067, allocations: 0.774 MB / 406 MB, free: 3.941 MB / 330.8 MB Notification: Performance of SimCode: time 1.814e-06/3.067, allocations: 0 / 406 MB, free: 3.941 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat