Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.477/2.477, allocations: 235 MB / 242 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2151/2.692, allocations: 57.2 MB / 299.2 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/3.02, allocations: 54.85 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/3.195, allocations: 79.67 MB / 433.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000397/3.196, allocations: 71.91 kB / 433.8 MB, free: 13.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.07332/3.269, allocations: 8.231 MB / 442 MB, free: 5.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/3.269, allocations: 12 kB / 442.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/3.269, allocations: 7.906 kB / 442.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/3.27, allocations: 159.1 kB / 442.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/3.27, allocations: 0 / 442.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/3.27, allocations: 3.938 kB / 442.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.413e-05/3.27, allocations: 4 kB / 442.2 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/3.27, allocations: 37.69 kB / 442.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/3.27, allocations: 0 / 442.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/3.27, allocations: 0 / 442.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/3.27, allocations: 7.906 kB / 442.3 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/3.271, allocations: 229.5 kB / 442.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.154e-05/3.271, allocations: 14.58 kB / 442.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/3.271, allocations: 12.73 kB / 442.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/3.271, allocations: 7.969 kB / 442.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/3.271, allocations: 34.56 kB / 442.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.867e-06/3.271, allocations: 0 / 442.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003641/3.271, allocations: 33.7 kB / 442.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/3.271, allocations: 55.41 kB / 442.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/3.272, allocations: 85 kB / 442.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/3.272, allocations: 25.7 kB / 442.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/3.272, allocations: 92.03 kB / 442.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/3.272, allocations: 4 kB / 442.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/3.272, allocations: 0 / 442.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/3.272, allocations: 318.9 kB / 443.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/3.272, allocations: 0 / 443.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/3.272, allocations: 18.58 kB / 443.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/3.272, allocations: 7.938 kB / 443.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/3.272, allocations: 0 / 443.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000221/3.272, allocations: 53.62 kB / 443.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/3.273, allocations: 8.094 kB / 443.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/3.273, allocations: 3.938 kB / 443.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/3.273, allocations: 0 / 443.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/3.273, allocations: 4 kB / 443.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/3.273, allocations: 7.984 kB / 443.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.136e-05/3.273, allocations: 3.906 kB / 443.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/3.273, allocations: 0 / 443.3 MB, free: 3.883 MB / 378.7 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.0001132/3.273, allocations: 105 kB / 443.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/3.273, allocations: 0 / 443.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/3.273, allocations: 52.89 kB / 443.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/3.273, allocations: 3.984 kB / 443.4 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/3.273, allocations: 0 / 443.4 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/3.273, allocations: 7.906 kB / 443.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/3.274, allocations: 126.2 kB / 443.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/3.274, allocations: 0 / 443.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/3.274, allocations: 0 / 443.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/3.274, allocations: 8.031 kB / 443.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/3.274, allocations: 4 kB / 443.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/3.274, allocations: 0 / 443.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/3.274, allocations: 3.938 kB / 443.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000227/3.274, allocations: 131.5 kB / 443.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003826/3.274, allocations: 0.5039 MB / 444.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/3.274, allocations: 81.02 kB / 444.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/3.275, allocations: 7.938 kB / 444.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/3.275, allocations: 0 / 444.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/3.275, allocations: 0 / 444.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/3.275, allocations: 0 / 444.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.661e-05/3.275, allocations: 79.28 kB / 444.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00221/3.277, allocations: 52.05 kB / 444.4 MB, free: 2.621 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 (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.0007425/3.278, allocations: 151.2 kB / 444.6 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/3.278, allocations: 33.69 kB / 444.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/3.278, allocations: 0 / 444.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/3.278, allocations: 29.7 kB / 444.6 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/3.278, allocations: 3.906 kB / 444.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/3.279, allocations: 58.36 kB / 444.7 MB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/3.279, allocations: 0.6841 MB / 445.4 MB, free: 1.598 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/3.279, allocations: 0 / 445.4 MB, free: 1.598 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat