Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",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.265/2.265, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1457/2.411, allocations: 57.21 MB / 299.1 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/2.687, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.305/8.992, allocations: 2.606 GB / 2.952 GB, free: 88.61 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/8.992, allocations: 85.2 kB / 2.952 GB, free: 88.56 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 1.33/10.32, allocations: 233.5 MB / 3.18 GB, free: 44.08 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/10.32, allocations: 8 kB / 3.18 GB, free: 44.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005816/10.33, allocations: 275 kB / 3.18 GB, free: 43.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/10.33, allocations: 430.8 kB / 3.181 GB, free: 43.35 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/10.33, allocations: 19.92 kB / 3.181 GB, free: 43.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/10.33, allocations: 20 kB / 3.181 GB, free: 43.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009403/10.33, allocations: 345.1 kB / 3.181 GB, free: 42.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/10.33, allocations: 420.2 kB / 3.182 GB, free: 42.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/10.33, allocations: 0 / 3.182 GB, free: 42.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/10.33, allocations: 4 kB / 3.182 GB, free: 42.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/10.33, allocations: 12 kB / 3.182 GB, free: 42.51 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009631/10.34, allocations: 4.056 MB / 3.186 GB, free: 38.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/10.34, allocations: 282.6 kB / 3.186 GB, free: 37.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/10.34, allocations: 136.9 kB / 3.186 GB, free: 37.65 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.408/10.75, allocations: 53.85 MB / 3.239 GB, free: 90.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/10.75, allocations: 34.44 kB / 3.239 GB, free: 90.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 3.466e-06/10.75, allocations: 0 / 3.239 GB, free: 90.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=27): time 0.002994/10.75, allocations: 0.5545 MB / 3.239 GB, free: 90.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/10.75, allocations: 109.7 kB / 3.239 GB, free: 90.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/10.75, allocations: 285.9 kB / 3.239 GB, free: 90.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/10.75, allocations: 25.7 kB / 3.239 GB, free: 90.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/10.75, allocations: 211 kB / 3.24 GB, free: 89.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/10.75, allocations: 86.11 kB / 3.24 GB, free: 89.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/10.75, allocations: 0.9688 kB / 3.24 GB, free: 89.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/10.75, allocations: 347.8 kB / 3.24 GB, free: 89.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/10.76, allocations: 121.1 kB / 3.24 GB, free: 89.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/10.76, allocations: 275.1 kB / 3.24 GB, free: 89.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/10.76, allocations: 244.2 kB / 3.241 GB, free: 89.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/10.76, allocations: 0 / 3.241 GB, free: 89.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003036/10.76, allocations: 0.6842 MB / 3.241 GB, free: 89.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004078/10.76, allocations: 1.834 MB / 3.243 GB, free: 87.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/10.76, allocations: 3.969 kB / 3.243 GB, free: 87.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/10.76, allocations: 7.219 kB / 3.243 GB, free: 87.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008935/10.76, allocations: 117.4 kB / 3.243 GB, free: 87.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/10.76, allocations: 11.56 kB / 3.243 GB, free: 87.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/10.76, allocations: 76.83 kB / 3.243 GB, free: 87.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/10.76, allocations: 27.73 kB / 3.243 GB, free: 87.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/10.76, allocations: 3.844 kB / 3.243 GB, free: 87.4 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001881/10.76, allocations: 412.5 kB / 3.244 GB, free: 87.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/10.76, allocations: 3.688 kB / 3.244 GB, free: 87.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/10.76, allocations: 13 kB / 3.244 GB, free: 87.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/10.77, allocations: 117.8 kB / 3.244 GB, free: 87.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/10.77, allocations: 9.406 kB / 3.244 GB, free: 87.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/10.77, allocations: 53.28 kB / 3.244 GB, free: 87.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/10.77, allocations: 29.5 kB / 3.244 GB, free: 87.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.00019/10.77, allocations: 126.5 kB / 3.244 GB, free: 87.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008324/10.77, allocations: 193.5 kB / 3.244 GB, free: 87.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/10.77, allocations: 1.767 MB / 3.246 GB, free: 87.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/10.77, allocations: 23.05 kB / 3.246 GB, free: 87.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/10.77, allocations: 0 / 3.246 GB, free: 87.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/10.77, allocations: 0 / 3.246 GB, free: 87.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/10.77, allocations: 2.317 MB / 3.248 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/10.77, allocations: 0 / 3.248 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/10.78, allocations: 78.83 kB / 3.248 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/10.78, allocations: 0 / 3.248 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/10.78, allocations: 11.38 kB / 3.248 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/10.78, allocations: 0 / 3.248 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/10.78, allocations: 3.844 kB / 3.248 GB, free: 86.78 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00312/10.78, allocations: 1.456 MB / 3.25 GB, free: 86.53 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003358/10.78, allocations: 1.877 MB / 3.252 GB, free: 85.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/10.78, allocations: 214.8 kB / 3.252 GB, free: 85.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/10.78, allocations: 8.219 kB / 3.252 GB, free: 85.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/10.78, allocations: 35.28 kB / 3.252 GB, free: 85.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/10.78, allocations: 39.84 kB / 3.252 GB, free: 85.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/10.78, allocations: 17.06 kB / 3.252 GB, free: 85.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004289/10.78, allocations: 255.7 kB / 3.252 GB, free: 85.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008669/10.79, allocations: 1.366 MB / 3.254 GB, free: 85.68 MB / 474.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,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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.01103/10.8, allocations: 1.566 MB / 3.255 GB, free: 85.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/10.81, allocations: 0.9481 MB / 3.256 GB, free: 85.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/10.81, allocations: 3.688 kB / 3.256 GB, free: 85.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009534/10.81, allocations: 0.6944 MB / 3.257 GB, free: 85.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/10.81, allocations: 176.6 kB / 3.257 GB, free: 85.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1202/10.93, allocations: 21.28 MB / 3.278 GB, free: 84.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/10.93, allocations: 1.007 MB / 3.279 GB, free: 83.82 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/10.93, allocations: 0 / 3.279 GB, free: 83.82 MB / 474.7 MB