Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_2_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 2.34/2.34, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1967/2.537, allocations: 57.2 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/2.824, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/2.99, allocations: 78.96 MB / 432.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/2.99, allocations: 71.91 kB / 433 MB, free: 14.29 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.02214/3.012, allocations: 3.106 MB / 436.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/3.012, allocations: 8 kB / 436.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/3.012, allocations: 7.906 kB / 436.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/3.013, allocations: 167 kB / 436.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/3.013, allocations: 4 kB / 436.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/3.013, allocations: 8 kB / 436.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001553/3.013, allocations: 43.97 kB / 436.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/3.013, allocations: 61.52 kB / 436.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/3.013, allocations: 3.984 kB / 436.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/3.013, allocations: 3.938 kB / 436.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/3.013, allocations: 4 kB / 436.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/3.013, allocations: 146.1 kB / 436.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/3.013, allocations: 69.7 kB / 436.6 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/3.014, allocations: 24.86 kB / 436.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004282/3.014, allocations: 109.1 kB / 436.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/3.014, allocations: 42.55 kB / 436.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.427e-06/3.014, allocations: 0 / 436.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.3146/3.329, allocations: 5.201 MB / 442 MB, free: 5.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/3.329, allocations: 51.41 kB / 442.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/3.329, allocations: 89 kB / 442.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/3.329, allocations: 25.7 kB / 442.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/3.329, allocations: 80.52 kB / 442.2 MB, free: 4.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/3.329, allocations: 74.91 kB / 442.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/3.329, allocations: 0 / 442.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/3.329, allocations: 318.8 kB / 442.6 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/3.33, allocations: 68.11 kB / 442.7 MB, free: 4.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/3.33, allocations: 68.05 kB / 442.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/3.332, allocations: 187.6 kB / 442.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/3.332, allocations: 0 / 442.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002234/3.334, allocations: 345.1 kB / 443.3 MB, free: 3.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/3.334, allocations: 8 kB / 443.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/3.334, allocations: 0 / 443.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/3.334, allocations: 0 / 443.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/3.335, allocations: 99.91 kB / 443.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/3.335, allocations: 0 / 443.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/3.335, allocations: 35.97 kB / 443.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/3.335, allocations: 19.98 kB / 443.4 MB, free: 3.59 MB / 378.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.0001329/3.335, allocations: 104.9 kB / 443.5 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/3.336, allocations: 7.906 kB / 443.5 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/3.338, allocations: 441.5 kB / 444 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/3.339, allocations: 4 kB / 444 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/3.339, allocations: 4 kB / 444 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/3.339, allocations: 0 / 444 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004309/3.343, allocations: 0.792 MB / 444.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/3.343, allocations: 4 kB / 444.8 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/3.344, allocations: 87.94 kB / 444.9 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/3.344, allocations: 3.906 kB / 444.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/3.344, allocations: 11.98 kB / 444.9 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/3.344, allocations: 4 kB / 444.9 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/3.344, allocations: 0 / 444.9 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002198/3.346, allocations: 449.1 kB / 445.3 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002252/3.348, allocations: 0.7897 MB / 446.1 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/3.348, allocations: 85 kB / 446.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/3.348, allocations: 7.906 kB / 446.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/3.349, allocations: 35.97 kB / 446.2 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/3.349, allocations: 15.98 kB / 446.3 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/3.349, allocations: 15.92 kB / 446.3 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.498e-05/3.349, allocations: 83.28 kB / 446.4 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.1422/3.491, allocations: 0.6047 MB / 447 MB, free: 132.6 MB / 378.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.006803/3.498, allocations: 333.3 kB / 447.3 MB, free: 132.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008581/3.499, allocations: 161.1 kB / 447.4 MB, free: 132.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/3.499, allocations: 2 kB / 447.4 MB, free: 132.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/3.499, allocations: 80 kB / 447.5 MB, free: 132.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/3.5, allocations: 7.734 kB / 447.5 MB, free: 132.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/3.502, allocations: 275.5 kB / 447.8 MB, free: 132.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/3.503, allocations: 0.748 MB / 448.5 MB, free: 131.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/3.503, allocations: 3.219 kB / 448.6 MB, free: 131.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat