Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.787/1.787, allocations: 209.3 MB / 216.3 MB, free: 6.863 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.242/2.029, allocations: 51.03 MB / 267.3 MB, free: 5.223 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/2.199, allocations: 48.68 MB / 316 MB, free: 4.445 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3756/2.575, allocations: 72.19 MB / 388.2 MB, free: 4.574 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/2.575, allocations: 67.91 kB / 388.2 MB, free: 4.543 MB / 314.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002345/2.578, allocations: 0.5789 MB / 388.8 MB, free: 3.961 MB / 314.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/2.578, allocations: 8 kB / 388.8 MB, free: 3.953 MB / 314.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/2.578, allocations: 0 / 388.8 MB, free: 3.953 MB / 314.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/2.578, allocations: 167 kB / 389 MB, free: 3.75 MB / 314.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/2.578, allocations: 4 kB / 389 MB, free: 3.746 MB / 314.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/2.578, allocations: 0 / 389 MB, free: 3.746 MB / 314.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/2.578, allocations: 16.12 kB / 389 MB, free: 3.734 MB / 314.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/2.578, allocations: 51.03 kB / 389 MB, free: 3.676 MB / 314.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/2.578, allocations: 0 / 389 MB, free: 3.676 MB / 314.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/2.578, allocations: 0 / 389 MB, free: 3.676 MB / 314.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/2.578, allocations: 4 kB / 389.1 MB, free: 3.672 MB / 314.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/2.579, allocations: 297.4 kB / 389.3 MB, free: 3.344 MB / 314.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/2.579, allocations: 25.52 kB / 389.4 MB, free: 3.312 MB / 314.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/2.579, allocations: 18.47 kB / 389.4 MB, free: 3.297 MB / 314.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/2.579, allocations: 0 / 389.4 MB, free: 3.297 MB / 314.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/2.579, allocations: 34.5 kB / 389.4 MB, free: 3.254 MB / 314.8 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/2.579, allocations: 0 / 389.4 MB, free: 3.254 MB / 314.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002556/2.579, allocations: 49.48 kB / 389.5 MB, free: 3.203 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/2.579, allocations: 67.3 kB / 389.5 MB, free: 3.125 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/2.579, allocations: 85 kB / 389.6 MB, free: 3.035 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/2.579, allocations: 25.7 kB / 389.6 MB, free: 3.004 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/2.579, allocations: 83.83 kB / 389.7 MB, free: 2.922 MB / 314.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/2.579, allocations: 11.81 kB / 389.7 MB, free: 2.91 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/2.579, allocations: 0 / 389.7 MB, free: 2.91 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 0.000143/2.58, allocations: 314.7 kB / 390 MB, free: 2.598 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/2.58, allocations: 4 kB / 390 MB, free: 2.594 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/2.58, allocations: 25.27 kB / 390.1 MB, free: 2.566 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/2.58, allocations: 8 kB / 390.1 MB, free: 2.559 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/2.58, allocations: 0 / 390.1 MB, free: 2.559 MB / 314.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001673/2.58, allocations: 61.14 kB / 390.1 MB, free: 2.496 MB / 314.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/2.58, allocations: 7.938 kB / 390.1 MB, free: 2.488 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/2.58, allocations: 0 / 390.1 MB, free: 2.488 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/2.58, allocations: 4 kB / 390.2 MB, free: 2.484 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/2.58, allocations: 7.125 kB / 390.2 MB, free: 2.48 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/2.58, allocations: 0 / 390.2 MB, free: 2.48 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/2.58, allocations: 11.97 kB / 390.2 MB, free: 2.469 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/2.58, allocations: 0 / 390.2 MB, free: 2.469 MB / 314.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.895e-05/2.58, allocations: 104.9 kB / 390.3 MB, free: 2.359 MB / 314.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/2.58, allocations: 13.28 kB / 390.3 MB, free: 2.348 MB / 314.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/2.581, allocations: 60.3 kB / 390.3 MB, free: 2.289 MB / 314.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/2.581, allocations: 0 / 390.3 MB, free: 2.289 MB / 314.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.581, allocations: 0 / 390.3 MB, free: 2.289 MB / 314.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/2.581, allocations: 0 / 390.3 MB, free: 2.289 MB / 314.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/2.581, allocations: 139.6 kB / 390.5 MB, free: 2.121 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/2.581, allocations: 4 kB / 390.5 MB, free: 2.117 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/2.581, allocations: 8 kB / 390.5 MB, free: 2.109 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/2.581, allocations: 0 / 390.5 MB, free: 2.109 MB / 314.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/2.581, allocations: 0 / 390.5 MB, free: 2.109 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/2.581, allocations: 0 / 390.5 MB, free: 2.109 MB / 314.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.581, allocations: 0 / 390.5 MB, free: 2.109 MB / 314.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002068/2.581, allocations: 158.6 kB / 390.6 MB, free: 1.945 MB / 314.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005168/2.582, allocations: 0.5192 MB / 391.2 MB, free: 1.414 MB / 314.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/2.582, allocations: 77.11 kB / 391.2 MB, free: 1.32 MB / 314.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/2.582, allocations: 4.312 kB / 391.2 MB, free: 1.316 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/2.582, allocations: 3.438 kB / 391.2 MB, free: 1.316 MB / 314.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/2.582, allocations: 7.984 kB / 391.3 MB, free: 1.309 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/2.582, allocations: 0 / 391.3 MB, free: 1.309 MB / 314.8 MB Notification: Performance of sort global known variables: time 6.377e-05/2.582, allocations: 79.28 kB / 391.3 MB, free: 1.23 MB / 314.8 MB Notification: Performance of remove unused functions: time 0.00113/2.583, allocations: 12 kB / 391.3 MB, free: 1.219 MB / 314.8 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001783/2.583, allocations: 103.2 kB / 391.4 MB, free: 1.105 MB / 314.8 MB Notification: Performance of simCode: created initialization part: time 0.0001159/2.584, allocations: 15.75 kB / 391.5 MB, free: 1.094 MB / 314.8 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/2.584, allocations: 0 / 391.5 MB, free: 1.094 MB / 314.8 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/2.584, allocations: 19.67 kB / 391.5 MB, free: 1.078 MB / 314.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/2.584, allocations: 0 / 391.5 MB, free: 1.078 MB / 314.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/2.584, allocations: 78.83 kB / 391.6 MB, free: 0.9844 MB / 314.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/2.585, allocations: 0.6955 MB / 392.3 MB, free: 272 kB / 314.8 MB Notification: Performance of SimCode: time 6.71e-07/2.585, allocations: 0 / 392.3 MB, free: 272 kB / 314.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat