Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",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.654/2.654, allocations: 235.1 MB / 242 MB, free: 11.29 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2728/2.927, allocations: 57.2 MB / 299.2 MB, free: 5.973 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/3.082, allocations: 54.86 MB / 354.1 MB, free: 15 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.927/5.009, allocations: 0.614 GB / 0.9598 GB, free: 149.3 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/5.009, allocations: 95.14 kB / 0.9599 GB, free: 149.3 MB / 482.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 1.533/6.542, allocations: 281.1 MB / 1.234 GB, free: 78.97 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/6.542, allocations: 8 kB / 1.234 GB, free: 78.96 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/6.544, allocations: 168.8 kB / 1.235 GB, free: 78.8 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/6.546, allocations: 0.5205 MB / 1.235 GB, free: 78.25 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/6.546, allocations: 19.91 kB / 1.235 GB, free: 78.23 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/6.546, allocations: 24 kB / 1.235 GB, free: 78.21 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001322/6.548, allocations: 429.8 kB / 1.235 GB, free: 77.79 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/6.549, allocations: 0.5316 MB / 1.236 GB, free: 77.21 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/6.549, allocations: 7.938 kB / 1.236 GB, free: 77.2 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/6.549, allocations: 0 / 1.236 GB, free: 77.2 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/6.549, allocations: 12 kB / 1.236 GB, free: 77.19 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/6.554, allocations: 2.598 MB / 1.239 GB, free: 74.47 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/6.555, allocations: 218.3 kB / 1.239 GB, free: 74.25 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/6.555, allocations: 129.6 kB / 1.239 GB, free: 74.12 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/6.556, allocations: 317.2 kB / 1.239 GB, free: 73.76 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/6.556, allocations: 38.56 kB / 1.239 GB, free: 73.71 MB / 482.8 MB Notification: Performance of pre-optimization done (n=31): time 3.406e-06/6.556, allocations: 0 / 1.239 GB, free: 73.71 MB / 482.8 MB Notification: Performance of matching and sorting (n=31): time 0.005126/6.561, allocations: 0.8139 MB / 1.24 GB, free: 72.89 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/6.561, allocations: 161.1 kB / 1.24 GB, free: 72.7 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/6.562, allocations: 389.2 kB / 1.241 GB, free: 72.3 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/6.562, allocations: 29.64 kB / 1.241 GB, free: 72.27 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/6.562, allocations: 279 kB / 1.241 GB, free: 71.99 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/6.562, allocations: 106.4 kB / 1.241 GB, free: 71.88 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/6.562, allocations: 0 / 1.241 GB, free: 71.88 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001195/6.562, allocations: 361 kB / 1.241 GB, free: 71.52 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/6.563, allocations: 125.3 kB / 1.241 GB, free: 71.4 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/6.563, allocations: 349.5 kB / 1.242 GB, free: 70.96 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004701/6.568, allocations: 0.6464 MB / 1.242 GB, free: 70.32 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/6.568, allocations: 6.219 kB / 1.242 GB, free: 70.32 MB / 482.8 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.005675/6.574, allocations: 1.016 MB / 1.243 GB, free: 69.3 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/6.574, allocations: 4 kB / 1.243 GB, free: 69.29 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/6.574, allocations: 8 kB / 1.243 GB, free: 69.29 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/6.574, allocations: 51.11 kB / 1.243 GB, free: 69.23 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/6.575, allocations: 131.8 kB / 1.244 GB, free: 69.11 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/6.576, allocations: 0.6221 MB / 1.244 GB, free: 68.46 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/6.577, allocations: 59.41 kB / 1.244 GB, free: 68.4 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/6.578, allocations: 59.36 kB / 1.244 GB, free: 68.35 MB / 482.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002006/6.578, allocations: 116.8 kB / 1.244 GB, free: 68.23 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/6.578, allocations: 55.34 kB / 1.244 GB, free: 68.17 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/6.582, allocations: 0.6892 MB / 1.245 GB, free: 67.49 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/6.582, allocations: 4 kB / 1.245 GB, free: 67.49 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/6.582, allocations: 0 / 1.245 GB, free: 67.49 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/6.582, allocations: 3.984 kB / 1.245 GB, free: 67.48 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/6.585, allocations: 1.129 MB / 1.246 GB, free: 66.26 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/6.585, allocations: 0 / 1.246 GB, free: 66.26 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/6.586, allocations: 47.97 kB / 1.246 GB, free: 66.21 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/6.586, allocations: 40.84 kB / 1.246 GB, free: 66.17 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/6.586, allocations: 11.92 kB / 1.246 GB, free: 66.16 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007883/6.587, allocations: 0.6092 MB / 1.247 GB, free: 65.53 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/6.587, allocations: 3.938 kB / 1.247 GB, free: 65.52 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002186/6.589, allocations: 0.653 MB / 1.248 GB, free: 64.78 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00259/6.592, allocations: 1.109 MB / 1.249 GB, free: 63.59 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/6.592, allocations: 150.4 kB / 1.249 GB, free: 63.42 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/6.592, allocations: 7.984 kB / 1.249 GB, free: 63.41 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/6.593, allocations: 18.61 kB / 1.249 GB, free: 63.4 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/6.593, allocations: 23.97 kB / 1.249 GB, free: 63.38 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/6.593, allocations: 8 kB / 1.249 GB, free: 63.37 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0005899/6.594, allocations: 322.9 kB / 1.249 GB, free: 63.05 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.004082/6.598, allocations: 0.5806 MB / 1.25 GB, free: 62.48 MB / 482.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004167/6.602, allocations: 1.532 MB / 1.251 GB, free: 61.22 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.001306/6.603, allocations: 336.2 kB / 1.252 GB, free: 60.89 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/6.603, allocations: 0 / 1.252 GB, free: 60.89 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/6.604, allocations: 123.7 kB / 1.252 GB, free: 60.78 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/6.607, allocations: 257.7 kB / 1.252 GB, free: 60.54 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/6.62, allocations: 2.422 MB / 1.254 GB, free: 58.16 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/6.621, allocations: 0.9948 MB / 1.255 GB, free: 57.16 MB / 482.8 MB Notification: Performance of SimCode: time 2.014e-06/6.621, allocations: 0 / 1.255 GB, free: 57.16 MB / 482.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat does not exist to compare? outputFormat=mat