Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.372/2.372, allocations: 235.1 MB / 242 MB, free: 9.656 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2128/2.585, allocations: 57.2 MB / 299.2 MB, free: 340 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/2.876, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/3.041, allocations: 81.43 MB / 435.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/3.041, allocations: 75.95 kB / 435.6 MB, free: 11.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0289/3.07, allocations: 5.28 MB / 440.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/3.07, allocations: 15.94 kB / 440.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/3.07, allocations: 3.906 kB / 440.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/3.07, allocations: 178.9 kB / 441.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/3.07, allocations: 4 kB / 441.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/3.07, allocations: 7.906 kB / 441.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001875/3.071, allocations: 55.91 kB / 441.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/3.071, allocations: 57.67 kB / 441.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/3.071, allocations: 0 / 441.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/3.071, allocations: 0 / 441.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/3.071, allocations: 4 kB / 441.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/3.071, allocations: 166.1 kB / 441.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/3.071, allocations: 54.58 kB / 441.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/3.071, allocations: 36.84 kB / 441.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.844e-05/3.072, allocations: 19.98 kB / 441.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/3.072, allocations: 38.56 kB / 441.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/3.072, allocations: 3.938 kB / 441.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.04904/3.121, allocations: 1.673 MB / 443.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/3.121, allocations: 51.41 kB / 443.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/3.121, allocations: 119.2 kB / 443.3 MB, free: 3.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/3.121, allocations: 25.7 kB / 443.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/3.121, allocations: 80.38 kB / 443.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/3.121, allocations: 35.45 kB / 443.5 MB, free: 3.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/3.121, allocations: 0 / 443.5 MB, free: 3.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/3.121, allocations: 326.8 kB / 443.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/3.122, allocations: 71.98 kB / 443.9 MB, free: 3.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/3.122, allocations: 64 kB / 443.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/3.125, allocations: 240 kB / 444.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/3.125, allocations: 3.938 kB / 444.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.003572/3.129, allocations: 361.3 kB / 444.5 MB, free: 2.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/3.129, allocations: 7.906 kB / 444.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/3.129, allocations: 0 / 444.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/3.129, allocations: 4 kB / 444.5 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/3.13, allocations: 39.95 kB / 444.6 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/3.13, allocations: 240 / 444.6 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/3.131, allocations: 15.98 kB / 444.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/3.131, allocations: 7.984 kB / 444.6 MB, free: 2.5 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 (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.0001419/3.131, allocations: 112.9 kB / 444.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/3.131, allocations: 11.89 kB / 444.7 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/3.135, allocations: 421.6 kB / 445.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/3.135, allocations: 0 / 445.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/3.135, allocations: 4 kB / 445.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/3.135, allocations: 0 / 445.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/3.141, allocations: 0.7525 MB / 445.9 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/3.141, allocations: 0 / 445.9 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/3.141, allocations: 43.97 kB / 445.9 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/3.141, allocations: 0 / 445.9 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/3.142, allocations: 7.984 kB / 445.9 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/3.142, allocations: 0 / 445.9 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/3.142, allocations: 7.938 kB / 445.9 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003606/3.145, allocations: 0.4948 MB / 446.4 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1613/3.306, allocations: 0.8652 MB / 447.3 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/3.307, allocations: 109.6 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/3.307, allocations: 0 / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/3.307, allocations: 14.16 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/3.308, allocations: 8.766 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/3.308, allocations: 7.094 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.191e-05/3.308, allocations: 97.66 kB / 447.5 MB, free: 131.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001857/3.31, allocations: 178.2 kB / 447.7 MB, free: 131.2 MB / 378.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.00101/3.311, allocations: 254 kB / 448 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006144/3.311, allocations: 167.5 kB / 448.1 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/3.311, allocations: 0 / 448.1 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/3.312, allocations: 86.67 kB / 448.2 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/3.312, allocations: 10.72 kB / 448.2 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/3.315, allocations: 288.8 kB / 448.5 MB, free: 131 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/3.315, allocations: 0.7373 MB / 449.2 MB, free: 130.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/3.315, allocations: 0 / 449.2 MB, free: 130.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat