Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.86/2.86, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1502/3.01, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/3.347, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/3.506, allocations: 78.35 MB / 432.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/3.506, allocations: 67.89 kB / 432.5 MB, free: 14.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002639/3.509, allocations: 0.571 MB / 433.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/3.509, allocations: 12 kB / 433.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/3.509, allocations: 0 / 433.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/3.509, allocations: 167 kB / 433.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/3.509, allocations: 0 / 433.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/3.509, allocations: 4 kB / 433.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.728e-05/3.509, allocations: 11.91 kB / 433.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/3.509, allocations: 51.41 kB / 433.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/3.509, allocations: 0 / 433.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/3.509, allocations: 0 / 433.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/3.509, allocations: 0 / 433.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/3.51, allocations: 305.5 kB / 433.6 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.535e-05/3.51, allocations: 22.58 kB / 433.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/3.51, allocations: 16.98 kB / 433.6 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/3.51, allocations: 0 / 433.6 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/3.51, allocations: 34.56 kB / 433.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.634e-06/3.51, allocations: 4 kB / 433.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002712/3.51, allocations: 45.69 kB / 433.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/3.51, allocations: 55.34 kB / 433.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/3.51, allocations: 89 kB / 433.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/3.51, allocations: 29.64 kB / 433.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/3.51, allocations: 84.05 kB / 434 MB, free: 13.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/3.51, allocations: 19.8 kB / 434 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/3.51, allocations: 0 / 434 MB, free: 13.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/3.511, allocations: 315 kB / 434.3 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.175e-05/3.511, allocations: 4 kB / 434.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/3.511, allocations: 21.72 kB / 434.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.724e-05/3.511, allocations: 7.984 kB / 434.3 MB, free: 12.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/3.511, allocations: 4 kB / 434.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001788/3.511, allocations: 53.62 kB / 434.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/3.511, allocations: 4 kB / 434.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/3.511, allocations: 0 / 434.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/3.511, allocations: 4.031 kB / 434.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/3.511, allocations: 15.84 kB / 434.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/3.511, allocations: 0 / 434.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/3.511, allocations: 11.92 kB / 434.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/3.511, allocations: 4 kB / 434.4 MB, free: 12.73 MB / 378.7 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.066e-05/3.511, allocations: 101 kB / 434.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/3.511, allocations: 7.906 kB / 434.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/3.512, allocations: 57.31 kB / 434.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/3.512, allocations: 8 kB / 434.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/3.512, allocations: 0 / 434.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/3.512, allocations: 3.984 kB / 434.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/3.512, allocations: 134.1 kB / 434.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/3.512, allocations: 0 / 434.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/3.512, allocations: 11.98 kB / 434.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/3.512, allocations: 0 / 434.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/3.512, allocations: 0 / 434.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/3.512, allocations: 0 / 434.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/3.512, allocations: 0 / 434.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002139/3.512, allocations: 151.7 kB / 434.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003577/3.513, allocations: 0.5195 MB / 435.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/3.513, allocations: 88.98 kB / 435.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/3.513, allocations: 0 / 435.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/3.513, allocations: 0 / 435.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/3.513, allocations: 8 kB / 435.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/3.513, allocations: 4 kB / 435.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.778e-05/3.513, allocations: 79.28 kB / 435.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001344/3.514, allocations: 4 kB / 435.6 MB, free: 11.45 MB / 378.7 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.0002048/3.515, allocations: 103.2 kB / 435.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/3.515, allocations: 19.94 kB / 435.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/3.515, allocations: 0 / 435.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/3.515, allocations: 20.09 kB / 435.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/3.515, allocations: 7.906 kB / 435.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/3.515, allocations: 63.92 kB / 435.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/3.516, allocations: 0.6915 MB / 436.5 MB, free: 10.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/3.516, allocations: 0 / 436.5 MB, free: 10.49 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat