Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.969/1.969, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2572/2.226, allocations: 51.03 MB / 267.3 MB, free: 5.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/2.352, allocations: 48.69 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3088/2.661, allocations: 75.27 MB / 391.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/2.661, allocations: 86.05 kB / 391.3 MB, free: 1.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02454/2.686, allocations: 5.284 MB / 396.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/2.686, allocations: 12 kB / 396.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/2.686, allocations: 11.8 kB / 396.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/2.686, allocations: 174.9 kB / 396.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/2.686, allocations: 0 / 396.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/2.686, allocations: 4 kB / 396.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001644/2.686, allocations: 53.05 kB / 396.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/2.687, allocations: 64.72 kB / 396.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/2.687, allocations: 4 kB / 396.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/2.687, allocations: 0 / 396.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/2.687, allocations: 4 kB / 396.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/2.687, allocations: 168.2 kB / 397.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/2.687, allocations: 56.12 kB / 397.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/2.687, allocations: 31.67 kB / 397.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.097e-05/2.687, allocations: 22.92 kB / 397.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/2.687, allocations: 42.5 kB / 397.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/2.687, allocations: 3.938 kB / 397.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.04163/2.729, allocations: 1.664 MB / 398.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/2.729, allocations: 51.41 kB / 399 MB, free: 10.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/2.729, allocations: 119.1 kB / 399.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/2.729, allocations: 25.7 kB / 399.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/2.729, allocations: 87.86 kB / 399.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/2.729, allocations: 31.09 kB / 399.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/2.729, allocations: 0 / 399.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/2.73, allocations: 322.2 kB / 399.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/2.73, allocations: 71.73 kB / 399.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/2.73, allocations: 72.98 kB / 399.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/2.733, allocations: 236.7 kB / 399.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.733, allocations: 7.844 kB / 399.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002927/2.736, allocations: 362.8 kB / 400.3 MB, free: 9.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/2.736, allocations: 4 kB / 400.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/2.736, allocations: 0 / 400.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/2.736, allocations: 0 / 400.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/2.736, allocations: 39.97 kB / 400.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/2.736, allocations: 4 kB / 400.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/2.737, allocations: 15.98 kB / 400.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/2.737, allocations: 7.984 kB / 400.3 MB, free: 9.68 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 (12): * Single equations (assignments): 12 * 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.0001326/2.737, allocations: 104.9 kB / 400.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/2.737, allocations: 11.81 kB / 400.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/2.741, allocations: 416.8 kB / 400.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/2.741, allocations: 0 / 400.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/2.741, allocations: 0 / 400.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/2.741, allocations: 11.97 kB / 400.9 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/2.745, allocations: 0.7549 MB / 401.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/2.746, allocations: 0 / 401.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/2.746, allocations: 44.05 kB / 401.7 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/2.746, allocations: 4 kB / 401.7 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/2.746, allocations: 7.906 kB / 401.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/2.746, allocations: 3.938 kB / 401.7 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/2.746, allocations: 4 kB / 401.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00295/2.749, allocations: 0.4931 MB / 402.2 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003081/2.752, allocations: 0.868 MB / 403.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/2.752, allocations: 98.98 kB / 403.2 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/2.753, allocations: 7.984 kB / 403.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/2.753, allocations: 15.98 kB / 403.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/2.753, allocations: 7.906 kB / 403.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/2.753, allocations: 14.8 kB / 403.2 MB, free: 6.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.437e-05/2.753, allocations: 92.39 kB / 403.3 MB, free: 6.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00166/2.755, allocations: 178.8 kB / 403.5 MB, free: 6.711 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0009815/2.756, allocations: 257.6 kB / 403.7 MB, free: 6.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000532/2.756, allocations: 159.2 kB / 403.9 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/2.756, allocations: 0 / 403.9 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/2.757, allocations: 87.66 kB / 404 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/2.757, allocations: 11.44 kB / 404 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/2.76, allocations: 296.6 kB / 404.3 MB, free: 6.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/2.76, allocations: 0.7347 MB / 405 MB, free: 5.242 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/2.76, allocations: 288 / 405 MB, free: 5.242 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat