Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",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.232/2.232, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1875/2.42, allocations: 57.2 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/2.697, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/2.845, allocations: 78.7 MB / 432.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/2.845, allocations: 71.89 kB / 432.7 MB, free: 14.56 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.01028/2.856, allocations: 1.827 MB / 434.6 MB, free: 12.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/2.856, allocations: 16 kB / 434.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/2.856, allocations: 7.906 kB / 434.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/2.856, allocations: 167 kB / 434.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/2.856, allocations: 0 / 434.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/2.856, allocations: 4 kB / 434.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001217/2.856, allocations: 23.98 kB / 434.8 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/2.856, allocations: 53.53 kB / 434.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/2.856, allocations: 0 / 434.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/2.856, allocations: 3.938 kB / 434.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/2.856, allocations: 0 / 434.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/2.857, allocations: 162.1 kB / 435 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/2.857, allocations: 45.73 kB / 435 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.042e-05/2.857, allocations: 24.86 kB / 435.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003874/2.857, allocations: 113.1 kB / 435.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/2.857, allocations: 34.56 kB / 435.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/2.857, allocations: 0 / 435.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.08651/2.944, allocations: 2.16 MB / 437.4 MB, free: 9.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/2.944, allocations: 51.41 kB / 437.4 MB, free: 9.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/2.944, allocations: 101 kB / 437.5 MB, free: 9.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/2.944, allocations: 29.7 kB / 437.5 MB, free: 9.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/2.944, allocations: 80.14 kB / 437.6 MB, free: 9.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/2.944, allocations: 63.02 kB / 437.7 MB, free: 9.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/2.944, allocations: 0 / 437.7 MB, free: 9.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/2.945, allocations: 318.8 kB / 438 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/2.945, allocations: 140 kB / 438.1 MB, free: 8.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/2.945, allocations: 139.9 kB / 438.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009533/2.946, allocations: 198.3 kB / 438.5 MB, free: 8.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/2.946, allocations: 192 / 438.5 MB, free: 8.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001588/2.948, allocations: 417.4 kB / 438.9 MB, free: 8.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/2.948, allocations: 13.66 kB / 438.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/2.948, allocations: 0 / 438.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/2.948, allocations: 0 / 438.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/2.949, allocations: 87.88 kB / 439 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/2.949, allocations: 3.906 kB / 439 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/2.949, allocations: 35.91 kB / 439 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/2.95, allocations: 15.98 kB / 439 MB, free: 8.035 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.0001528/2.95, allocations: 101 kB / 439.1 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/2.95, allocations: 7.906 kB / 439.1 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/2.952, allocations: 0.543 MB / 439.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/2.952, allocations: 0 / 439.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/2.952, allocations: 0 / 439.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/2.952, allocations: 15.88 kB / 439.7 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/2.956, allocations: 0.8503 MB / 440.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/2.956, allocations: 4 kB / 440.5 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/2.957, allocations: 84.06 kB / 440.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/2.957, allocations: 0 / 440.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/2.957, allocations: 12 kB / 440.6 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/2.957, allocations: 7.984 kB / 440.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/2.957, allocations: 0 / 440.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001412/2.958, allocations: 494.5 kB / 441.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00151/2.96, allocations: 0.861 MB / 442 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/2.96, allocations: 85.02 kB / 442.1 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/2.96, allocations: 3.906 kB / 442.1 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/2.96, allocations: 31.97 kB / 442.1 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/2.96, allocations: 11.98 kB / 442.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/2.96, allocations: 16 kB / 442.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.695e-05/2.96, allocations: 87.27 kB / 442.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002168/2.963, allocations: 339.7 kB / 442.6 MB, free: 4.258 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.002296/2.965, allocations: 266.8 kB / 442.8 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008807/2.966, allocations: 267.9 kB / 443.1 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.966, allocations: 0 / 443.1 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/2.966, allocations: 107.9 kB / 443.2 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/2.966, allocations: 12.22 kB / 443.2 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/2.969, allocations: 364.9 kB / 443.6 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/2.97, allocations: 0.7429 MB / 444.3 MB, free: 2.438 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/2.97, allocations: 0 / 444.3 MB, free: 2.438 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat