Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",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 1.829/1.829, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3138/2.143, allocations: 51.03 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/2.284, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/2.681, allocations: 72.55 MB / 388.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/2.681, allocations: 76.19 kB / 388.6 MB, free: 4.121 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.009543/2.691, allocations: 1.823 MB / 390.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/2.691, allocations: 8 kB / 390.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/2.691, allocations: 7.906 kB / 390.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/2.691, allocations: 162.6 kB / 390.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/2.691, allocations: 4.875 kB / 390.6 MB, free: 2.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/2.691, allocations: 11.84 kB / 390.6 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/2.691, allocations: 27.3 kB / 390.6 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/2.691, allocations: 45.25 kB / 390.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/2.691, allocations: 4 kB / 390.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/2.691, allocations: 0 / 390.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/2.691, allocations: 0 / 390.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/2.691, allocations: 149 kB / 390.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/2.692, allocations: 50.8 kB / 390.9 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/2.692, allocations: 24.23 kB / 390.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/2.692, allocations: 121 kB / 391 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/2.692, allocations: 30.56 kB / 391.1 MB, free: 1.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/2.692, allocations: 4 kB / 391.1 MB, free: 1.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.08768/2.78, allocations: 2.165 MB / 393.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/2.78, allocations: 55.41 kB / 393.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/2.78, allocations: 92.98 kB / 393.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/2.78, allocations: 25.7 kB / 393.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/2.78, allocations: 83.77 kB / 393.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/2.781, allocations: 56.73 kB / 393.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/2.781, allocations: 3.938 kB / 393.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/2.781, allocations: 325.9 kB / 393.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/2.781, allocations: 136.5 kB / 394 MB, free: 15.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/2.782, allocations: 139.9 kB / 394.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/2.784, allocations: 200.5 kB / 394.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/2.784, allocations: 0 / 394.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002478/2.786, allocations: 418.3 kB / 394.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/2.786, allocations: 7.906 kB / 394.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/2.786, allocations: 0 / 394.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/2.786, allocations: 3.938 kB / 394.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/2.788, allocations: 87 kB / 394.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/2.788, allocations: 0 / 394.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/2.788, allocations: 33.09 kB / 394.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/2.788, allocations: 19.97 kB / 394.9 MB, free: 14.41 MB / 330.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.0002331/2.789, allocations: 105 kB / 395 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/2.789, allocations: 7.906 kB / 395 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/2.793, allocations: 0.5322 MB / 395.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/2.793, allocations: 7.906 kB / 395.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/2.793, allocations: 8.188 kB / 395.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/2.793, allocations: 3.984 kB / 395.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005785/2.799, allocations: 0.8531 MB / 396.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/2.799, allocations: 0 / 396.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000978/2.8, allocations: 84.06 kB / 396.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/2.8, allocations: 4 kB / 396.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/2.8, allocations: 12 kB / 396.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/2.8, allocations: 7.891 kB / 396.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/2.8, allocations: 4 kB / 396.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00224/2.802, allocations: 487 kB / 397 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002459/2.805, allocations: 0.8607 MB / 397.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/2.805, allocations: 85.02 kB / 397.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/2.805, allocations: 4 kB / 397.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/2.806, allocations: 27.97 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/2.806, allocations: 14.55 kB / 398 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.084e-05/2.806, allocations: 12 kB / 398 MB, free: 11.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.108e-05/2.806, allocations: 82.34 kB / 398.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003422/2.809, allocations: 346.8 kB / 398.4 MB, free: 10.99 MB / 330.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.003592/2.813, allocations: 270.7 kB / 398.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/2.814, allocations: 269.6 kB / 398.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/2.815, allocations: 4 kB / 398.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/2.815, allocations: 110.3 kB / 399 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/2.815, allocations: 7.938 kB / 399 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/2.819, allocations: 359.6 kB / 399.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00099/2.82, allocations: 0.7507 MB / 400.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of SimCode: time 1.934e-06/2.82, allocations: 0 / 400.1 MB, free: 9.316 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat