Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.007/2.007, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.233/2.24, allocations: 51.03 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/2.364, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/2.719, allocations: 72.18 MB / 388.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/2.719, allocations: 79.73 kB / 388.2 MB, free: 4.398 MB / 314.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.002803/2.722, allocations: 0.6287 MB / 388.9 MB, free: 3.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/2.722, allocations: 8 kB / 388.9 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/2.722, allocations: 3.984 kB / 388.9 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/2.722, allocations: 163 kB / 389 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/2.722, allocations: 4 kB / 389 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/2.722, allocations: 3.906 kB / 389 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.483e-05/2.722, allocations: 8.875 kB / 389.1 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/2.722, allocations: 40.88 kB / 389.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/2.722, allocations: 0 / 389.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/2.722, allocations: 0 / 389.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/2.722, allocations: 0 / 389.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/2.723, allocations: 126.2 kB / 389.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/2.723, allocations: 29.62 kB / 389.2 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/2.723, allocations: 12.86 kB / 389.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/2.723, allocations: 131 kB / 389.4 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/2.723, allocations: 38.09 kB / 389.4 MB, free: 3.109 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/2.723, allocations: 0 / 389.4 MB, free: 3.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.002083/2.726, allocations: 184.2 kB / 389.6 MB, free: 2.934 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/2.726, allocations: 51.41 kB / 389.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/2.726, allocations: 92.91 kB / 389.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/2.726, allocations: 25.7 kB / 389.8 MB, free: 2.742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/2.726, allocations: 80.14 kB / 389.8 MB, free: 2.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/2.726, allocations: 7.812 kB / 389.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/2.726, allocations: 3.938 kB / 389.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/2.726, allocations: 326.3 kB / 390.2 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/2.726, allocations: 7.375 kB / 390.2 MB, free: 2.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/2.726, allocations: 8.125 kB / 390.2 MB, free: 2.316 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/2.726, allocations: 23.72 kB / 390.2 MB, free: 2.297 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/2.726, allocations: 0 / 390.2 MB, free: 2.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002275/2.726, allocations: 60.73 kB / 390.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/2.727, allocations: 4 kB / 390.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/2.727, allocations: 9.219 kB / 390.3 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/2.727, allocations: 0 / 390.3 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/2.727, allocations: 27.23 kB / 390.3 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/2.727, allocations: 0 / 390.3 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/2.727, allocations: 7.984 kB / 390.3 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/2.727, allocations: 4 kB / 390.3 MB, free: 2.188 MB / 314.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 (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 9.053e-05/2.727, allocations: 104.9 kB / 390.4 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/2.727, allocations: 3.906 kB / 390.4 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/2.728, allocations: 85.67 kB / 390.5 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/2.728, allocations: 0 / 390.5 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.728, allocations: 0 / 390.5 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/2.728, allocations: 0 / 390.5 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/2.729, allocations: 322.1 kB / 390.8 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/2.729, allocations: 0 / 390.8 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/2.729, allocations: 27.95 kB / 390.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/2.729, allocations: 0 / 390.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/2.729, allocations: 3.688 kB / 390.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/2.729, allocations: 0.625 kB / 390.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.729, allocations: 4 kB / 390.9 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002773/2.729, allocations: 180.1 kB / 391 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005196/2.73, allocations: 0.549 MB / 391.6 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/2.73, allocations: 77.11 kB / 391.7 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/2.73, allocations: 0 / 391.7 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/2.73, allocations: 15.98 kB / 391.7 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/2.73, allocations: 7.844 kB / 391.7 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/2.73, allocations: 4 kB / 391.7 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.217e-05/2.73, allocations: 79.27 kB / 391.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001143/2.731, allocations: 8 kB / 391.8 MB, free: 0.6445 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002036/2.731, allocations: 95.25 kB / 391.9 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/2.732, allocations: 27.91 kB / 391.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/2.732, allocations: 0 / 391.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/2.732, allocations: 19.86 kB / 391.9 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/2.732, allocations: 11.92 kB / 391.9 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/2.733, allocations: 96.36 kB / 392 MB, free: 388 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/2.733, allocations: 0.6997 MB / 392.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/2.733, allocations: 0 / 392.7 MB, free: 15.65 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat