Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_1_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 1.954/1.954, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2406/2.195, allocations: 51.05 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/2.318, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.58/8.898, allocations: 2.496 GB / 2.805 GB, free: 95.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/8.898, allocations: 91.11 kB / 2.805 GB, free: 95.62 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 3.385/12.28, allocations: 0.6163 GB / 3.421 GB, free: 35.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/12.28, allocations: 7.938 kB / 3.421 GB, free: 35.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/12.3, allocations: 0.9608 MB / 3.422 GB, free: 35.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/12.3, allocations: 1.067 MB / 3.423 GB, free: 35.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/12.3, allocations: 59.19 kB / 3.423 GB, free: 35.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004329/12.3, allocations: 70.03 kB / 3.423 GB, free: 35.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00418/12.3, allocations: 1.201 MB / 3.425 GB, free: 35.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/12.31, allocations: 1.421 MB / 3.426 GB, free: 34.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-05/12.31, allocations: 6.25 kB / 3.426 GB, free: 34.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/12.31, allocations: 5.562 kB / 3.426 GB, free: 34.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/12.31, allocations: 32.78 kB / 3.426 GB, free: 34.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.469/13.78, allocations: 267 MB / 3.687 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009322/13.78, allocations: 363.7 kB / 3.687 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/13.78, allocations: 228.3 kB / 3.687 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08527/13.87, allocations: 15.75 MB / 3.703 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/13.87, allocations: 44.44 kB / 3.703 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.597e-06/13.87, allocations: 2.438 kB / 3.703 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.008853/13.87, allocations: 1.522 MB / 3.704 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/13.87, allocations: 274 kB / 3.705 GB, free: 69.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/13.88, allocations: 0.8826 MB / 3.705 GB, free: 69.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/13.88, allocations: 25.7 kB / 3.705 GB, free: 69.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/13.88, allocations: 0.6594 MB / 3.706 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/13.88, allocations: 177.5 kB / 3.706 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/13.88, allocations: 0 / 3.706 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001183/13.88, allocations: 355.8 kB / 3.707 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/13.88, allocations: 364.8 kB / 3.707 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/13.88, allocations: 0.9454 MB / 3.708 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00583/13.89, allocations: 0.8258 MB / 3.709 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/13.89, allocations: 7.5 kB / 3.709 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.01371/13.9, allocations: 2.623 MB / 3.711 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001849/13.9, allocations: 7.297 MB / 3.718 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.168e-05/13.9, allocations: 19.22 kB / 3.718 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-05/13.9, allocations: 29.09 kB / 3.718 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/13.91, allocations: 406.8 kB / 3.719 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-05/13.91, allocations: 38.98 kB / 3.719 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/13.91, allocations: 361.5 kB / 3.719 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/13.91, allocations: 91.06 kB / 3.719 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/13.91, allocations: 7.219 kB / 3.719 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007029/13.92, allocations: 1.378 MB / 3.721 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.148e-05/13.92, allocations: 19.19 kB / 3.721 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.537e-05/13.92, allocations: 30.47 kB / 3.721 GB, free: 59.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/13.92, allocations: 406 kB / 3.721 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.462e-05/13.92, allocations: 38.84 kB / 3.721 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/13.92, allocations: 237.2 kB / 3.721 GB, free: 59.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006174/13.92, allocations: 90.28 kB / 3.721 GB, free: 59.87 MB / 0.5105 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.0007166/13.93, allocations: 167.8 kB / 3.722 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003422/13.93, allocations: 0.7119 MB / 3.722 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00892/13.94, allocations: 1.858 MB / 3.724 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/13.94, allocations: 3.938 kB / 3.724 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/13.94, allocations: 9.547 kB / 3.724 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/13.94, allocations: 3.422 kB / 3.724 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/13.95, allocations: 4.52 MB / 3.728 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/13.95, allocations: 7.906 kB / 3.728 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/13.95, allocations: 88.86 kB / 3.729 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.858e-05/13.95, allocations: 14.59 kB / 3.729 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/13.95, allocations: 10.62 kB / 3.729 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/13.95, allocations: 10.75 kB / 3.729 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/13.95, allocations: 10.62 kB / 3.729 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005565/13.96, allocations: 2.069 MB / 3.731 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005581/13.96, allocations: 2.438 MB / 3.733 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/13.96, allocations: 0.6877 MB / 3.734 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008271/13.97, allocations: 14.64 kB / 3.734 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/13.97, allocations: 93.47 kB / 3.734 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/13.97, allocations: 48.56 kB / 3.734 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/13.97, allocations: 26.86 kB / 3.734 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.003638/13.97, allocations: 1.49 MB / 3.735 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01368/13.98, allocations: 2.116 MB / 3.737 GB, free: 55.05 MB / 0.5105 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.01212/14, allocations: 2.191 MB / 3.74 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004128/14, allocations: 1.502 MB / 3.741 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/14, allocations: 4.125 kB / 3.741 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/14, allocations: 255.5 kB / 3.741 GB, free: 54.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004859/14.01, allocations: 455.4 kB / 3.742 GB, free: 54.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08853/14.1, allocations: 22.21 MB / 3.763 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/14.1, allocations: 1.508 MB / 3.765 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.864e-06/14.1, allocations: 0 / 3.765 GB, free: 45.24 MB / 0.5105 GB