Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_2_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.369/2.369, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2258/2.595, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/2.863, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.443/9.306, allocations: 2.587 GB / 2.932 GB, free: 106.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/9.307, allocations: 82.45 kB / 2.932 GB, free: 106.2 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 1.141/10.45, allocations: 213.4 MB / 3.141 GB, free: 69.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/10.45, allocations: 7.906 kB / 3.141 GB, free: 69.03 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/10.45, allocations: 242.7 kB / 3.141 GB, free: 68.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/10.45, allocations: 388 kB / 3.141 GB, free: 68.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/10.45, allocations: 11.75 kB / 3.141 GB, free: 68.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/10.45, allocations: 15.59 kB / 3.141 GB, free: 68.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008521/10.45, allocations: 297.4 kB / 3.142 GB, free: 68.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/10.45, allocations: 382.2 kB / 3.142 GB, free: 68.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/10.45, allocations: 0 / 3.142 GB, free: 68.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/10.45, allocations: 7.844 kB / 3.142 GB, free: 68.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/10.45, allocations: 11.86 kB / 3.142 GB, free: 68.37 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00921/10.46, allocations: 3.948 MB / 3.146 GB, free: 65.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/10.46, allocations: 210.5 kB / 3.146 GB, free: 65.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/10.46, allocations: 119.2 kB / 3.146 GB, free: 65.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2157/10.68, allocations: 50.41 MB / 3.195 GB, free: 22.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/10.68, allocations: 34.56 kB / 3.196 GB, free: 22.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 3.337e-06/10.68, allocations: 0 / 3.196 GB, free: 22.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.002585/10.68, allocations: 0.4884 MB / 3.196 GB, free: 22.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/10.68, allocations: 106.8 kB / 3.196 GB, free: 22.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/10.68, allocations: 242.9 kB / 3.196 GB, free: 21.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/10.68, allocations: 25.7 kB / 3.196 GB, free: 21.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/10.68, allocations: 194.9 kB / 3.197 GB, free: 21.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/10.68, allocations: 74.52 kB / 3.197 GB, free: 21.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/10.68, allocations: 4 kB / 3.197 GB, free: 21.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/10.68, allocations: 338.4 kB / 3.197 GB, free: 21.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/10.68, allocations: 104.3 kB / 3.197 GB, free: 21.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/10.68, allocations: 229.8 kB / 3.197 GB, free: 20.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/10.69, allocations: 190.5 kB / 3.197 GB, free: 20.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/10.69, allocations: 8 kB / 3.197 GB, free: 20.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002624/10.69, allocations: 0.5746 MB / 3.198 GB, free: 20.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/10.69, allocations: 5.562 kB / 3.198 GB, free: 20.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/10.69, allocations: 4.469 kB / 3.198 GB, free: 20.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/10.69, allocations: 12 kB / 3.198 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/10.69, allocations: 115.1 kB / 3.198 GB, free: 20.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/10.69, allocations: 7.938 kB / 3.198 GB, free: 20.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/10.69, allocations: 71.45 kB / 3.198 GB, free: 20.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/10.69, allocations: 19.8 kB / 3.198 GB, free: 20.12 MB / 474.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.000145/10.69, allocations: 120.7 kB / 3.198 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008647/10.69, allocations: 185.3 kB / 3.199 GB, free: 19.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/10.69, allocations: 1.684 MB / 3.2 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/10.69, allocations: 15.73 kB / 3.2 GB, free: 18.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/10.69, allocations: 4 kB / 3.2 GB, free: 18.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/10.69, allocations: 3.891 kB / 3.2 GB, free: 18.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/10.7, allocations: 2.211 MB / 3.202 GB, free: 16.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/10.7, allocations: 0 / 3.202 GB, free: 16.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/10.7, allocations: 86.67 kB / 3.202 GB, free: 16.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/10.7, allocations: 0 / 3.202 GB, free: 16.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/10.7, allocations: 5.406 kB / 3.202 GB, free: 16.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/10.7, allocations: 4.797 kB / 3.202 GB, free: 16.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/10.7, allocations: 4 kB / 3.202 GB, free: 16.23 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003124/10.7, allocations: 1.38 MB / 3.204 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003227/10.7, allocations: 1.8 MB / 3.206 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/10.71, allocations: 155.2 kB / 3.206 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/10.71, allocations: 4.891 kB / 3.206 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/10.71, allocations: 45.75 kB / 3.206 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/10.71, allocations: 38.95 kB / 3.206 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/10.71, allocations: 13.58 kB / 3.206 GB, free: 13.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003895/10.71, allocations: 227.7 kB / 3.206 GB, free: 12.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006852/10.71, allocations: 1.099 MB / 3.207 GB, free: 11.75 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,$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.01104/10.72, allocations: 1.508 MB / 3.209 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/10.73, allocations: 0.7067 MB / 3.209 GB, free: 9.801 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/10.73, allocations: 0.9375 kB / 3.209 GB, free: 9.801 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009554/10.73, allocations: 0.6786 MB / 3.21 GB, free: 9.168 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/10.73, allocations: 166.1 kB / 3.21 GB, free: 9.047 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06593/10.79, allocations: 14.39 MB / 3.224 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009947/10.8, allocations: 0.9746 MB / 3.225 GB, free: 10.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.944e-06/10.8, allocations: 0 / 3.225 GB, free: 10.17 MB / 490.7 MB