Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",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.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2099/2.217, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/2.327, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7559/3.083, allocations: 208.6 MB / 0.5123 GB, free: 97.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/3.084, allocations: 88.16 kB / 0.5123 GB, free: 97.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 2.651/5.735, allocations: 0.4974 GB / 1.01 GB, free: 52.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/5.735, allocations: 7.062 kB / 1.01 GB, free: 52.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007577/5.743, allocations: 372.6 kB / 1.01 GB, free: 51.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/5.746, allocations: 0.8999 MB / 1.011 GB, free: 51.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/5.746, allocations: 30.19 kB / 1.011 GB, free: 51.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/5.747, allocations: 48.97 kB / 1.011 GB, free: 51.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002533/5.749, allocations: 0.7115 MB / 1.012 GB, free: 51.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/5.752, allocations: 0.9377 MB / 1.013 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/5.752, allocations: 10.36 kB / 1.013 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/5.752, allocations: 3.875 kB / 1.013 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/5.752, allocations: 18.88 kB / 1.013 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/5.763, allocations: 6.093 MB / 1.019 GB, free: 47.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/5.764, allocations: 422.3 kB / 1.019 GB, free: 47.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/5.765, allocations: 214.8 kB / 1.019 GB, free: 47.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/5.765, allocations: 0.7588 MB / 1.02 GB, free: 46.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/5.766, allocations: 48.84 kB / 1.02 GB, free: 46.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.176e-06/5.766, allocations: 0 / 1.02 GB, free: 46.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.009969/5.776, allocations: 1.148 MB / 1.021 GB, free: 46.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/5.776, allocations: 184.2 kB / 1.021 GB, free: 46.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/5.777, allocations: 0.6892 MB / 1.022 GB, free: 45.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001926/5.777, allocations: 25.7 kB / 1.022 GB, free: 45.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/5.778, allocations: 478.8 kB / 1.022 GB, free: 45.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/5.778, allocations: 169.1 kB / 1.023 GB, free: 45.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/5.778, allocations: 0 / 1.023 GB, free: 45.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/5.778, allocations: 339.7 kB / 1.023 GB, free: 45.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007452/5.779, allocations: 261.7 kB / 1.023 GB, free: 45.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009393/5.78, allocations: 0.5982 MB / 1.024 GB, free: 44.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/5.792, allocations: 1.558 MB / 1.025 GB, free: 44.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/5.792, allocations: 6.594 kB / 1.025 GB, free: 44.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01494/5.807, allocations: 2.239 MB / 1.028 GB, free: 44.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001027/5.808, allocations: 4.174 MB / 1.032 GB, free: 40.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.095e-05/5.808, allocations: 11.72 kB / 1.032 GB, free: 40.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/5.814, allocations: 443.2 kB / 1.032 GB, free: 40.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/5.816, allocations: 296 kB / 1.032 GB, free: 40.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/5.82, allocations: 0.9657 MB / 1.033 GB, free: 39.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/5.822, allocations: 149.3 kB / 1.033 GB, free: 39.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/5.822, allocations: 82.88 kB / 1.033 GB, free: 39.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/5.822, allocations: 3.969 kB / 1.033 GB, free: 39.76 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01175/5.834, allocations: 1.857 MB / 1.035 GB, free: 39.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/5.834, allocations: 16.28 kB / 1.035 GB, free: 39.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/5.835, allocations: 80.61 kB / 1.035 GB, free: 39.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/5.837, allocations: 311.9 kB / 1.036 GB, free: 39.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/5.839, allocations: 1.569 MB / 1.037 GB, free: 38.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/5.842, allocations: 124 kB / 1.037 GB, free: 38.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/5.842, allocations: 74.66 kB / 1.037 GB, free: 38.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004089/5.843, allocations: 136 kB / 1.038 GB, free: 38.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/5.843, allocations: 106.4 kB / 1.038 GB, free: 38.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/5.853, allocations: 2.342 MB / 1.04 GB, free: 38.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/5.853, allocations: 6.938 kB / 1.04 GB, free: 38.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/5.853, allocations: 3.562 kB / 1.04 GB, free: 38.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.159e-05/5.853, allocations: 9.391 kB / 1.04 GB, free: 38.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009478/5.863, allocations: 2.099 MB / 1.042 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/5.863, allocations: 0 / 1.042 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/5.864, allocations: 141.1 kB / 1.042 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/5.868, allocations: 301.9 kB / 1.042 GB, free: 37.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002717/5.868, allocations: 16.19 kB / 1.042 GB, free: 37.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/5.872, allocations: 0.9465 MB / 1.043 GB, free: 37.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/5.872, allocations: 0 / 1.043 GB, free: 37.01 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008412/5.881, allocations: 1.266 MB / 1.045 GB, free: 36.62 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005593/5.886, allocations: 1.724 MB / 1.046 GB, free: 35.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007773/5.887, allocations: 316.1 kB / 1.047 GB, free: 35.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/5.888, allocations: 3.5 kB / 1.047 GB, free: 35.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/5.889, allocations: 61.22 kB / 1.047 GB, free: 35.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/5.889, allocations: 60.97 kB / 1.047 GB, free: 35.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/5.889, allocations: 29.3 kB / 1.047 GB, free: 35.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001116/5.89, allocations: 0.5203 MB / 1.047 GB, free: 35.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007375/5.898, allocations: 1.136 MB / 1.048 GB, free: 35.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00347/5.901, allocations: 0.7878 MB / 1.049 GB, free: 35.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00392/5.905, allocations: 1.254 MB / 1.05 GB, free: 35.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/5.905, allocations: 1.719 kB / 1.05 GB, free: 35.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009634/5.906, allocations: 310 kB / 1.051 GB, free: 35.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/5.91, allocations: 385.6 kB / 1.051 GB, free: 35.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/5.917, allocations: 1.576 MB / 1.053 GB, free: 34.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/5.918, allocations: 1.242 MB / 1.054 GB, free: 49.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/5.918, allocations: 6.609 kB / 1.054 GB, free: 49.89 MB / 442.7 MB