Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",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.32/2.32, allocations: 234.9 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2024/2.522, allocations: 57.22 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/2.814, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.333/9.147, allocations: 2.607 GB / 2.952 GB, free: 87.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/9.147, allocations: 84.83 kB / 2.953 GB, free: 87.55 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 3.087/12.23, allocations: 0.6302 GB / 3.583 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/12.23, allocations: 11.69 kB / 3.583 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/12.25, allocations: 1.015 MB / 3.584 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/12.25, allocations: 1.065 MB / 3.585 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/12.25, allocations: 52 kB / 3.585 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003446/12.25, allocations: 75.84 kB / 3.585 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004792/12.26, allocations: 1.211 MB / 3.586 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/12.26, allocations: 1.419 MB / 3.588 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/12.26, allocations: 3.938 kB / 3.588 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/12.26, allocations: 8 kB / 3.588 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/12.26, allocations: 32 kB / 3.588 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.837/14.1, allocations: 267.2 MB / 3.849 GB, free: 79.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/14.1, allocations: 353.3 kB / 3.849 GB, free: 79.23 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/14.1, allocations: 241.3 kB / 3.849 GB, free: 79.22 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09237/14.19, allocations: 15.76 MB / 3.864 GB, free: 70.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/14.19, allocations: 43.75 kB / 3.865 GB, free: 70.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.767e-06/14.19, allocations: 4 kB / 3.865 GB, free: 70.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.008815/14.2, allocations: 1.528 MB / 3.866 GB, free: 70.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/14.2, allocations: 265.4 kB / 3.866 GB, free: 70.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/14.21, allocations: 0.8845 MB / 3.867 GB, free: 70.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/14.21, allocations: 25.7 kB / 3.867 GB, free: 70.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/14.21, allocations: 0.6553 MB / 3.868 GB, free: 69.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/14.21, allocations: 176.5 kB / 3.868 GB, free: 69.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/14.21, allocations: 0 / 3.868 GB, free: 69.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001145/14.21, allocations: 355.6 kB / 3.868 GB, free: 69.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009784/14.21, allocations: 370.9 kB / 3.869 GB, free: 69.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/14.21, allocations: 0.9509 MB / 3.87 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005423/14.21, allocations: 0.8255 MB / 3.87 GB, free: 68.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.381e-05/14.21, allocations: 3.188 kB / 3.87 GB, free: 68.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.0149/14.23, allocations: 2.626 MB / 3.873 GB, free: 68.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00159/14.23, allocations: 7.295 MB / 3.88 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.767e-05/14.23, allocations: 27.69 kB / 3.88 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.491e-05/14.23, allocations: 27.88 kB / 3.88 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/14.23, allocations: 405.9 kB / 3.881 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.928e-05/14.23, allocations: 43.8 kB / 3.881 GB, free: 60.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/14.24, allocations: 361.1 kB / 3.881 GB, free: 60.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004123/14.24, allocations: 84.42 kB / 3.881 GB, free: 60.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/14.24, allocations: 3.969 kB / 3.881 GB, free: 60.9 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006768/14.25, allocations: 1.386 MB / 3.882 GB, free: 60.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/14.25, allocations: 19.16 kB / 3.882 GB, free: 60.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.243e-05/14.25, allocations: 29.72 kB / 3.882 GB, free: 60.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/14.25, allocations: 409.9 kB / 3.883 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.236e-05/14.25, allocations: 38.16 kB / 3.883 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/14.25, allocations: 233.8 kB / 3.883 GB, free: 60.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/14.25, allocations: 93.48 kB / 3.883 GB, free: 60.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP4.medium.phase,SinkP4.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP1.medium.phase,SinkP1.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 167 * 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.0004339/14.25, allocations: 165.4 kB / 3.883 GB, free: 60.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003217/14.26, allocations: 0.7118 MB / 3.884 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/14.26, allocations: 1.86 MB / 3.886 GB, free: 60.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/14.26, allocations: 3.938 kB / 3.886 GB, free: 60.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/14.26, allocations: 0 / 3.886 GB, free: 60.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/14.26, allocations: 13.36 kB / 3.886 GB, free: 60.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009991/14.27, allocations: 4.517 MB / 3.89 GB, free: 59.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/14.27, allocations: 7.312 kB / 3.89 GB, free: 59.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/14.27, allocations: 83.09 kB / 3.89 GB, free: 59.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/14.27, allocations: 11.34 kB / 3.89 GB, free: 59.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/14.27, allocations: 19 kB / 3.89 GB, free: 59.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/14.27, allocations: 12.62 kB / 3.89 GB, free: 59.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/14.27, allocations: 9.969 kB / 3.89 GB, free: 59.39 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005543/14.28, allocations: 2.062 MB / 3.892 GB, free: 58.19 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005526/14.28, allocations: 2.435 MB / 3.895 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/14.28, allocations: 0.6879 MB / 3.895 GB, free: 56.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007458/14.29, allocations: 11.34 kB / 3.895 GB, free: 56.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/14.29, allocations: 99.59 kB / 3.896 GB, free: 56.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/14.29, allocations: 48.45 kB / 3.896 GB, free: 56.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/14.29, allocations: 29.97 kB / 3.896 GB, free: 56.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.003402/14.29, allocations: 1.495 MB / 3.897 GB, free: 56.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01341/14.3, allocations: 2.119 MB / 3.899 GB, free: 56.11 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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 Backend phase and start with SimCode phase: time 0.0116/14.32, allocations: 2.203 MB / 3.901 GB, free: 55.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003921/14.32, allocations: 1.504 MB / 3.903 GB, free: 55.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/14.32, allocations: 5.25 kB / 3.903 GB, free: 55.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005539/14.32, allocations: 256.3 kB / 3.903 GB, free: 55.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/14.33, allocations: 447.4 kB / 3.903 GB, free: 55.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1068/14.43, allocations: 22.99 MB / 3.926 GB, free: 54.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/14.44, allocations: 1.518 MB / 3.927 GB, free: 53.31 MB / 0.5417 GB Notification: Performance of SimCode: time 2.395e-06/14.44, allocations: 0 / 3.927 GB, free: 53.31 MB / 0.5417 GB