Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.018/2.018, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2907/2.308, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/2.446, allocations: 48.68 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.419/8.866, allocations: 2.476 GB / 2.785 GB, free: 100.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/8.866, allocations: 85 kB / 2.785 GB, free: 100.6 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 1.146/10.01, allocations: 209.5 MB / 2.989 GB, free: 61.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/10.01, allocations: 11.53 kB / 2.989 GB, free: 61.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/10.01, allocations: 225 kB / 2.99 GB, free: 61.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/10.02, allocations: 396.4 kB / 2.99 GB, free: 61.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/10.02, allocations: 15.41 kB / 2.99 GB, free: 61.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/10.02, allocations: 19.5 kB / 2.99 GB, free: 61.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008789/10.02, allocations: 295.9 kB / 2.99 GB, free: 61.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/10.02, allocations: 378.5 kB / 2.991 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/10.02, allocations: 0 / 2.991 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/10.02, allocations: 2.969 kB / 2.991 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/10.02, allocations: 9.625 kB / 2.991 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/10.03, allocations: 3.931 MB / 2.995 GB, free: 58.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/10.03, allocations: 202.8 kB / 2.995 GB, free: 58.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/10.03, allocations: 126 kB / 2.995 GB, free: 58.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2089/10.24, allocations: 50.36 MB / 3.044 GB, free: 28.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/10.24, allocations: 40 kB / 3.044 GB, free: 28.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 4.168e-06/10.24, allocations: 3.703 kB / 3.044 GB, free: 28.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.002577/10.24, allocations: 499.6 kB / 3.045 GB, free: 28.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/10.24, allocations: 110.7 kB / 3.045 GB, free: 28.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/10.24, allocations: 238.9 kB / 3.045 GB, free: 28.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/10.24, allocations: 25.7 kB / 3.045 GB, free: 27.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/10.24, allocations: 196.4 kB / 3.045 GB, free: 27.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/10.24, allocations: 74.7 kB / 3.045 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/10.24, allocations: 5.531 kB / 3.045 GB, free: 27.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/10.24, allocations: 342.5 kB / 3.045 GB, free: 27.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/10.24, allocations: 104.5 kB / 3.046 GB, free: 27.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/10.24, allocations: 228 kB / 3.046 GB, free: 27.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/10.24, allocations: 183.6 kB / 3.046 GB, free: 26.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/10.24, allocations: 4.656 kB / 3.046 GB, free: 26.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002553/10.25, allocations: 0.5815 MB / 3.047 GB, free: 26.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/10.25, allocations: 4 kB / 3.047 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/10.25, allocations: 4 kB / 3.047 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/10.25, allocations: 8.562 kB / 3.047 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/10.25, allocations: 110.6 kB / 3.047 GB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/10.25, allocations: 5.219 kB / 3.047 GB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/10.25, allocations: 78.09 kB / 3.047 GB, free: 26.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/10.25, allocations: 17.88 kB / 3.047 GB, free: 26.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001372/10.25, allocations: 121.3 kB / 3.047 GB, free: 26.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008439/10.25, allocations: 191.9 kB / 3.047 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/10.25, allocations: 1.685 MB / 3.049 GB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.961e-05/10.25, allocations: 17.28 kB / 3.049 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/10.25, allocations: 0 / 3.049 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/10.25, allocations: 1.688 kB / 3.049 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/10.26, allocations: 2.214 MB / 3.051 GB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/10.26, allocations: 0 / 3.051 GB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/10.26, allocations: 86.53 kB / 3.051 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/10.26, allocations: 0 / 3.051 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/10.26, allocations: 6.391 kB / 3.051 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/10.26, allocations: 8 kB / 3.051 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/10.26, allocations: 0 / 3.051 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002889/10.26, allocations: 1.391 MB / 3.052 GB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003926/10.26, allocations: 1.792 MB / 3.054 GB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/10.26, allocations: 151.4 kB / 3.054 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/10.26, allocations: 4.422 kB / 3.054 GB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/10.26, allocations: 46.16 kB / 3.054 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/10.26, allocations: 38.77 kB / 3.054 GB, free: 19.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/10.26, allocations: 9.781 kB / 3.054 GB, free: 19.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004275/10.27, allocations: 227.8 kB / 3.055 GB, free: 18.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009444/10.27, allocations: 1.098 MB / 3.056 GB, free: 17.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01332/10.29, allocations: 1.507 MB / 3.057 GB, free: 16.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/10.29, allocations: 0.7101 MB / 3.058 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/10.29, allocations: 0 / 3.058 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008667/10.29, allocations: 0.6732 MB / 3.058 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/10.29, allocations: 157 kB / 3.059 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06723/10.36, allocations: 13.99 MB / 3.072 GB, free: 2.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/10.36, allocations: 0.9664 MB / 3.073 GB, free: 1.332 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/10.36, allocations: 0 / 3.073 GB, free: 1.332 MB / 426.7 MB