Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_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 2.145/2.145, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2148/2.36, allocations: 57.2 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/2.652, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/2.798, allocations: 78.87 MB / 432.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/2.799, allocations: 67.91 kB / 432.9 MB, free: 14.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01582/2.814, allocations: 2.977 MB / 435.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/2.814, allocations: 8 kB / 435.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/2.815, allocations: 3.906 kB / 435.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/2.815, allocations: 171 kB / 436.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/2.815, allocations: 0 / 436.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/2.815, allocations: 4 kB / 436.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00013/2.815, allocations: 31.92 kB / 436.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/2.815, allocations: 49.59 kB / 436.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/2.815, allocations: 0 / 436.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/2.815, allocations: 0 / 436.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/2.815, allocations: 4 kB / 436.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/2.815, allocations: 154 kB / 436.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/2.816, allocations: 41.7 kB / 436.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/2.816, allocations: 24.86 kB / 436.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004179/2.816, allocations: 113.1 kB / 436.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/2.816, allocations: 34.56 kB / 436.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/2.816, allocations: 4 kB / 436.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.2785/3.095, allocations: 5.43 MB / 441.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/3.095, allocations: 51.41 kB / 442 MB, free: 5.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/3.095, allocations: 89 kB / 442.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/3.095, allocations: 29.7 kB / 442.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/3.095, allocations: 84.14 kB / 442.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/3.095, allocations: 66.94 kB / 442.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/3.095, allocations: 0 / 442.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/3.095, allocations: 318.8 kB / 442.6 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/3.096, allocations: 172 kB / 442.7 MB, free: 4.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/3.096, allocations: 165.5 kB / 442.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/3.099, allocations: 267.8 kB / 443.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/3.099, allocations: 0 / 443.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002819/3.102, allocations: 0.527 MB / 443.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/3.102, allocations: 6.656 kB / 443.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/3.102, allocations: 0 / 443.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/3.102, allocations: 0 / 443.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/3.103, allocations: 99.83 kB / 443.8 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/3.103, allocations: 3.906 kB / 443.8 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/3.103, allocations: 27.97 kB / 443.8 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/3.104, allocations: 23.97 kB / 443.8 MB, free: 3.203 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 (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.0001833/3.104, allocations: 101 kB / 443.9 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/3.104, allocations: 7.906 kB / 443.9 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/3.108, allocations: 0.6655 MB / 444.6 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/3.108, allocations: 4.188 kB / 444.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/3.108, allocations: 0 / 444.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/3.108, allocations: 7.844 kB / 444.6 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/3.113, allocations: 0.9974 MB / 445.6 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/3.113, allocations: 0 / 445.6 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008475/3.114, allocations: 92.09 kB / 445.7 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/3.114, allocations: 0 / 445.7 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/3.114, allocations: 20.22 kB / 445.7 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/3.114, allocations: 8 kB / 445.7 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/3.114, allocations: 3.938 kB / 445.7 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002617/3.117, allocations: 0.5792 MB / 446.3 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1616/3.279, allocations: 0.9529 MB / 447.3 MB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/3.279, allocations: 84.14 kB / 447.4 MB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/3.279, allocations: 7.156 kB / 447.4 MB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008683/3.28, allocations: 27.38 kB / 447.4 MB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/3.28, allocations: 15.62 kB / 447.4 MB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/3.28, allocations: 21.95 kB / 447.4 MB, free: 132.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.876e-05/3.28, allocations: 79.25 kB / 447.5 MB, free: 132.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005281/3.285, allocations: 0.6221 MB / 448.1 MB, free: 132.4 MB / 378.7 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.007135/3.292, allocations: 343.5 kB / 448.5 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009871/3.294, allocations: 317.3 kB / 448.8 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/3.294, allocations: 2.344 kB / 448.8 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/3.294, allocations: 138.4 kB / 448.9 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/3.294, allocations: 14.23 kB / 448.9 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/3.298, allocations: 418.4 kB / 449.3 MB, free: 132.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/3.298, allocations: 0.7639 MB / 450.1 MB, free: 131.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/3.298, allocations: 0 / 450.1 MB, free: 131.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat