Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.401/2.401, allocations: 235 MB / 242 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1634/2.564, allocations: 57.2 MB / 299.2 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/2.883, allocations: 54.85 MB / 354.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/3.046, allocations: 78.87 MB / 432.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/3.046, allocations: 71.88 kB / 433 MB, free: 14.38 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.01752/3.064, allocations: 2.974 MB / 436 MB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/3.064, allocations: 11.94 kB / 436 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/3.064, allocations: 7.906 kB / 436 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/3.064, allocations: 159.1 kB / 436.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/3.064, allocations: 4 kB / 436.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/3.064, allocations: 8 kB / 436.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001336/3.064, allocations: 23.98 kB / 436.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/3.064, allocations: 57.53 kB / 436.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/3.064, allocations: 0 / 436.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/3.065, allocations: 4 kB / 436.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/3.065, allocations: 0 / 436.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/3.065, allocations: 150.1 kB / 436.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/3.065, allocations: 41.72 kB / 436.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/3.065, allocations: 28.84 kB / 436.5 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004896/3.066, allocations: 109.1 kB / 436.6 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/3.066, allocations: 38.56 kB / 436.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/3.066, allocations: 3.938 kB / 436.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.3143/3.38, allocations: 5.423 MB / 442 MB, free: 5.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/3.38, allocations: 55.34 kB / 442.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/3.38, allocations: 101 kB / 442.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/3.38, allocations: 25.7 kB / 442.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/3.38, allocations: 80.14 kB / 442.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/3.381, allocations: 63.02 kB / 442.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/3.381, allocations: 0 / 442.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/3.381, allocations: 322.8 kB / 442.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/3.381, allocations: 168 kB / 442.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/3.382, allocations: 168 kB / 443 MB, free: 4.141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/3.384, allocations: 267 kB / 443.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/3.384, allocations: 0 / 443.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.003445/3.388, allocations: 0.5246 MB / 443.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/3.388, allocations: 4 kB / 443.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/3.388, allocations: 0 / 443.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/3.388, allocations: 0 / 443.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/3.389, allocations: 99.84 kB / 443.9 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/3.389, allocations: 7.891 kB / 443.9 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/3.39, allocations: 27.98 kB / 443.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/3.39, allocations: 19.97 kB / 443.9 MB, free: 3.195 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.0001839/3.39, allocations: 101 kB / 444 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/3.39, allocations: 7.906 kB / 444 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/3.395, allocations: 0.6697 MB / 444.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/3.395, allocations: 0 / 444.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/3.395, allocations: 0 / 444.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/3.395, allocations: 7.891 kB / 444.7 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006525/3.401, allocations: 0.9897 MB / 445.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/3.401, allocations: 4 kB / 445.7 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/3.403, allocations: 96.03 kB / 445.8 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/3.403, allocations: 7.984 kB / 445.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/3.403, allocations: 19.97 kB / 445.8 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/3.403, allocations: 3.938 kB / 445.8 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/3.403, allocations: 4 kB / 445.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003109/3.406, allocations: 0.5802 MB / 446.4 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1665/3.572, allocations: 0.9452 MB / 447.4 MB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/3.573, allocations: 89.14 kB / 447.5 MB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/3.573, allocations: 0 / 447.5 MB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/3.573, allocations: 31.05 kB / 447.5 MB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/3.573, allocations: 21.77 kB / 447.5 MB, free: 132.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/3.574, allocations: 23.52 kB / 447.5 MB, free: 132.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.445e-05/3.574, allocations: 77.66 kB / 447.6 MB, free: 132.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003536/3.577, allocations: 0.6228 MB / 448.2 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.005889/3.583, allocations: 340.2 kB / 448.6 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/3.584, allocations: 324 kB / 448.9 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/3.584, allocations: 0 / 448.9 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/3.585, allocations: 138.1 kB / 449 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.0003142/3.585, allocations: 7.875 kB / 449 MB, free: 132.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/3.589, allocations: 414.9 kB / 449.4 MB, free: 132.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/3.589, allocations: 0.7684 MB / 450.2 MB, free: 131.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/3.589, allocations: 0 / 450.2 MB, free: 131.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat