Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",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.624/2.624, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2191/2.843, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/3.152, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/3.394, allocations: 78.71 MB / 432.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/3.394, allocations: 63.91 kB / 432.8 MB, free: 14.52 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.0108/3.405, allocations: 1.843 MB / 434.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/3.405, allocations: 8 kB / 434.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/3.405, allocations: 7.906 kB / 434.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/3.405, allocations: 163.1 kB / 434.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/3.405, allocations: 4 kB / 434.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/3.405, allocations: 0 / 434.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001429/3.405, allocations: 20 kB / 434.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/3.406, allocations: 53.53 kB / 434.9 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/3.406, allocations: 3.984 kB / 434.9 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/3.406, allocations: 7.938 kB / 434.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/3.406, allocations: 4 kB / 434.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/3.406, allocations: 150.1 kB / 435.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/3.406, allocations: 41.7 kB / 435.1 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/3.406, allocations: 24.86 kB / 435.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/3.407, allocations: 113.1 kB / 435.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/3.407, allocations: 34.78 kB / 435.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.677e-06/3.407, allocations: 0 / 435.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.1013/3.508, allocations: 2.162 MB / 437.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/3.508, allocations: 59.41 kB / 437.5 MB, free: 9.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/3.508, allocations: 93 kB / 437.6 MB, free: 9.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/3.508, allocations: 25.7 kB / 437.6 MB, free: 9.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/3.508, allocations: 80.14 kB / 437.7 MB, free: 9.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/3.509, allocations: 67 kB / 437.8 MB, free: 9.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/3.509, allocations: 0 / 437.8 MB, free: 9.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/3.509, allocations: 318.8 kB / 438.1 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/3.51, allocations: 136 kB / 438.2 MB, free: 8.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/3.51, allocations: 139.4 kB / 438.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/3.511, allocations: 203.9 kB / 438.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/3.511, allocations: 0 / 438.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001867/3.513, allocations: 417.4 kB / 439 MB, free: 8.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/3.513, allocations: 7.938 kB / 439 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/3.513, allocations: 256 / 439 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/3.513, allocations: 0 / 439 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/3.514, allocations: 87.94 kB / 439.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/3.514, allocations: 7.906 kB / 439.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/3.515, allocations: 27.92 kB / 439.1 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/3.515, allocations: 15.98 kB / 439.1 MB, free: 7.996 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.0001765/3.515, allocations: 104.9 kB / 439.2 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/3.515, allocations: 11.89 kB / 439.2 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/3.518, allocations: 0.5338 MB / 439.8 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/3.518, allocations: 7.984 kB / 439.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/3.518, allocations: 0 / 439.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/3.518, allocations: 3.906 kB / 439.8 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/3.522, allocations: 0.8619 MB / 440.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/3.523, allocations: 3.984 kB / 440.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/3.523, allocations: 80.08 kB / 440.7 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/3.523, allocations: 4 kB / 440.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/3.523, allocations: 11.98 kB / 440.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/3.523, allocations: 4 kB / 440.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/3.523, allocations: 0 / 440.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001583/3.525, allocations: 0.4883 MB / 441.2 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001695/3.527, allocations: 0.8492 MB / 442.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/3.527, allocations: 88.95 kB / 442.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/3.527, allocations: 11.89 kB / 442.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/3.527, allocations: 23.98 kB / 442.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/3.527, allocations: 23.92 kB / 442.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/3.527, allocations: 19.98 kB / 442.2 MB, free: 4.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.9e-05/3.528, allocations: 79.28 kB / 442.3 MB, free: 4.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002556/3.53, allocations: 347.6 kB / 442.7 MB, free: 4.203 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.002627/3.533, allocations: 262.9 kB / 442.9 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000998/3.534, allocations: 263.9 kB / 443.2 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/3.534, allocations: 0 / 443.2 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/3.534, allocations: 112.1 kB / 443.3 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/3.535, allocations: 12.03 kB / 443.3 MB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/3.537, allocations: 360.8 kB / 443.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008273/3.538, allocations: 0.7507 MB / 444.4 MB, free: 2.383 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/3.538, allocations: 0 / 444.4 MB, free: 2.383 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat