Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.349/2.349, allocations: 235 MB / 241.9 MB, free: 9.738 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.199/2.548, allocations: 57.19 MB / 299.1 MB, free: 0.9258 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/2.936, allocations: 54.84 MB / 354 MB, free: 1.551 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/3.132, allocations: 79.69 MB / 433.6 MB, free: 12.43 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/3.133, allocations: 67.97 kB / 433.7 MB, free: 12.36 MB / 370.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.06154/3.194, allocations: 8.234 MB / 441.9 MB, free: 4.105 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/3.195, allocations: 8 kB / 442 MB, free: 4.098 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/3.195, allocations: 11.89 kB / 442 MB, free: 4.086 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/3.195, allocations: 159.1 kB / 442.1 MB, free: 3.891 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/3.195, allocations: 0 / 442.1 MB, free: 3.891 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/3.195, allocations: 4 kB / 442.1 MB, free: 3.887 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.063e-05/3.195, allocations: 4 kB / 442.1 MB, free: 3.883 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/3.195, allocations: 37.62 kB / 442.2 MB, free: 3.84 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/3.195, allocations: 4 kB / 442.2 MB, free: 3.836 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/3.195, allocations: 0 / 442.2 MB, free: 3.836 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/3.195, allocations: 3.906 kB / 442.2 MB, free: 3.832 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/3.196, allocations: 217.5 kB / 442.4 MB, free: 3.582 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/3.196, allocations: 26.52 kB / 442.4 MB, free: 3.547 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/3.196, allocations: 4.859 kB / 442.4 MB, free: 3.539 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/3.196, allocations: 7.938 kB / 442.4 MB, free: 3.531 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.433e-05/3.196, allocations: 38.62 kB / 442.5 MB, free: 3.484 MB / 370.8 MB Notification: Performance of pre-optimization done (n=1): time 6.682e-06/3.197, allocations: 0 / 442.5 MB, free: 3.484 MB / 370.8 MB Notification: Performance of matching and sorting (n=1): time 0.0004672/3.197, allocations: 33.64 kB / 442.5 MB, free: 3.445 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/3.197, allocations: 51.41 kB / 442.5 MB, free: 3.383 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/3.197, allocations: 93 kB / 442.6 MB, free: 3.285 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/3.197, allocations: 25.7 kB / 442.7 MB, free: 3.254 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/3.197, allocations: 84.2 kB / 442.7 MB, free: 3.168 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/3.197, allocations: 7.984 kB / 442.8 MB, free: 3.16 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/3.198, allocations: 0 / 442.8 MB, free: 3.16 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0002016/3.198, allocations: 318.8 kB / 443.1 MB, free: 2.84 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/3.198, allocations: 0 / 443.1 MB, free: 2.84 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/3.198, allocations: 22.58 kB / 443.1 MB, free: 2.809 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/3.198, allocations: 4 kB / 443.1 MB, free: 2.805 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/3.198, allocations: 5.875 kB / 443.1 MB, free: 2.801 MB / 370.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002642/3.198, allocations: 45.62 kB / 443.1 MB, free: 2.75 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/3.198, allocations: 6.5 kB / 443.1 MB, free: 2.746 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/3.198, allocations: 4 kB / 443.1 MB, free: 2.742 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/3.198, allocations: 0 / 443.1 MB, free: 2.742 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/3.199, allocations: 4 kB / 443.2 MB, free: 2.738 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/3.199, allocations: 0 / 443.2 MB, free: 2.738 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/3.199, allocations: 7.844 kB / 443.2 MB, free: 2.73 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/3.199, allocations: 4.5 kB / 443.2 MB, free: 2.727 MB / 370.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001345/3.199, allocations: 109.1 kB / 443.3 MB, free: 2.613 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/3.199, allocations: 4 kB / 443.3 MB, free: 2.609 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/3.199, allocations: 42.11 kB / 443.3 MB, free: 2.559 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/3.199, allocations: 0 / 443.3 MB, free: 2.559 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/3.199, allocations: 0 / 443.3 MB, free: 2.559 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/3.199, allocations: 8.031 kB / 443.3 MB, free: 2.551 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/3.2, allocations: 130.2 kB / 443.5 MB, free: 2.387 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/3.2, allocations: 3.984 kB / 443.5 MB, free: 2.383 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/3.2, allocations: 0 / 443.5 MB, free: 2.383 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/3.2, allocations: 4 kB / 443.5 MB, free: 2.379 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/3.2, allocations: 0 / 443.5 MB, free: 2.379 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/3.2, allocations: 7.875 kB / 443.5 MB, free: 2.371 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/3.2, allocations: 0 / 443.5 MB, free: 2.371 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001906/3.2, allocations: 147.4 kB / 443.6 MB, free: 2.211 MB / 370.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002794/3.2, allocations: 0.496 MB / 444.1 MB, free: 1.695 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/3.2, allocations: 81.02 kB / 444.2 MB, free: 1.598 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/3.2, allocations: 0 / 444.2 MB, free: 1.598 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/3.2, allocations: 0 / 444.2 MB, free: 1.598 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/3.2, allocations: 4 kB / 444.2 MB, free: 1.594 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/3.2, allocations: 4.062 kB / 444.2 MB, free: 1.59 MB / 370.8 MB Notification: Performance of sort global known variables: time 5.243e-05/3.2, allocations: 75.28 kB / 444.3 MB, free: 1.516 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.001433/3.202, allocations: 51.92 kB / 444.3 MB, free: 1.465 MB / 370.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000591/3.202, allocations: 155.1 kB / 444.5 MB, free: 1.305 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001534/3.203, allocations: 29.7 kB / 444.5 MB, free: 1.27 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/3.203, allocations: 4 kB / 444.5 MB, free: 1.266 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/3.203, allocations: 29.69 kB / 444.5 MB, free: 1.23 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/3.203, allocations: 12.25 kB / 444.5 MB, free: 1.219 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/3.203, allocations: 52.48 kB / 444.6 MB, free: 1.145 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/3.204, allocations: 0.6901 MB / 445.3 MB, free: 440 kB / 370.8 MB Notification: Performance of SimCode: time 9.42e-07/3.204, allocations: 0 / 445.3 MB, free: 440 kB / 370.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat