Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.971/1.971, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2956/2.266, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/2.41, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/2.799, allocations: 72.81 MB / 388.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/2.799, allocations: 68.16 kB / 388.9 MB, free: 3.875 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01814/2.818, allocations: 3.103 MB / 392 MB, free: 1.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/2.818, allocations: 12 kB / 392 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/2.818, allocations: 3.906 kB / 392 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/2.818, allocations: 171 kB / 392.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/2.818, allocations: 0 / 392.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/2.818, allocations: 11.41 kB / 392.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001411/2.818, allocations: 43.84 kB / 392.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/2.818, allocations: 60.23 kB / 392.2 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/2.818, allocations: 0 / 392.2 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/2.818, allocations: 0 / 392.2 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-06/2.818, allocations: 4 kB / 392.3 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/2.819, allocations: 149.9 kB / 392.4 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/2.819, allocations: 66.2 kB / 392.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/2.819, allocations: 20.23 kB / 392.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/2.819, allocations: 120.4 kB / 392.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/2.819, allocations: 34.5 kB / 392.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/2.819, allocations: 3.938 kB / 392.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.3002/3.12, allocations: 5.187 MB / 397.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/3.12, allocations: 51.41 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/3.12, allocations: 88.19 kB / 398 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/3.12, allocations: 29.7 kB / 398 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/3.12, allocations: 80.52 kB / 398.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/3.12, allocations: 74.09 kB / 398.1 MB, free: 11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/3.12, allocations: 0 / 398.1 MB, free: 11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/3.12, allocations: 326 kB / 398.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/3.121, allocations: 67.48 kB / 398.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/3.121, allocations: 68.11 kB / 398.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/3.124, allocations: 187.9 kB / 398.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/3.124, allocations: 0 / 398.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00334/3.127, allocations: 339 kB / 399.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/3.127, allocations: 4 kB / 399.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/3.127, allocations: 8 kB / 399.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/3.127, allocations: 7.938 kB / 399.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/3.128, allocations: 99.84 kB / 399.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/3.129, allocations: 0 / 399.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/3.129, allocations: 35.97 kB / 399.3 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/3.129, allocations: 19.23 kB / 399.3 MB, free: 9.957 MB / 330.7 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 (23): * Single equations (assignments): 23 * 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.0001914/3.129, allocations: 101 kB / 399.4 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/3.13, allocations: 11.81 kB / 399.4 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/3.134, allocations: 444.2 kB / 399.8 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/3.135, allocations: 7.984 kB / 399.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/3.135, allocations: 0 / 399.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/3.135, allocations: 0 / 399.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007693/3.142, allocations: 0.7954 MB / 400.6 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/3.142, allocations: 8 kB / 400.6 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/3.143, allocations: 84 kB / 400.7 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/3.143, allocations: 0 / 400.7 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/3.144, allocations: 15.92 kB / 400.7 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/3.144, allocations: 8 kB / 400.7 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/3.144, allocations: 0 / 400.7 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003611/3.147, allocations: 440.6 kB / 401.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004696/3.152, allocations: 0.7969 MB / 402 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/3.152, allocations: 85.02 kB / 402 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/3.152, allocations: 4 kB / 402.1 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/3.153, allocations: 35.97 kB / 402.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/3.153, allocations: 11.98 kB / 402.1 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/3.153, allocations: 19.42 kB / 402.1 MB, free: 7.133 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.03e-05/3.153, allocations: 75.28 kB / 402.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005014/3.158, allocations: 0.6085 MB / 402.8 MB, free: 6.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.007741/3.166, allocations: 326.3 kB / 403.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008686/3.167, allocations: 168.4 kB / 403.3 MB, free: 6.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/3.167, allocations: 0 / 403.3 MB, free: 6.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/3.167, allocations: 86.5 kB / 403.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/3.168, allocations: 7.906 kB / 403.4 MB, free: 5.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/3.17, allocations: 261.4 kB / 403.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008408/3.171, allocations: 0.7505 MB / 404.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of SimCode: time 1.954e-06/3.171, allocations: 0 / 404.4 MB, free: 4.887 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat