Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",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.194/2.194, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1764/2.371, allocations: 57.22 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/2.635, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.73/9.365, allocations: 2.595 GB / 2.94 GB, free: 101.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/9.365, allocations: 82.45 kB / 2.94 GB, free: 101.1 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 3.827/13.19, allocations: 0.8122 GB / 3.753 GB, free: 38.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/13.19, allocations: 15.38 kB / 3.753 GB, free: 38.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006024/13.2, allocations: 491 kB / 3.753 GB, free: 38.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/13.2, allocations: 0.9983 MB / 3.754 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/13.2, allocations: 56 kB / 3.754 GB, free: 37.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/13.2, allocations: 70.94 kB / 3.754 GB, free: 37.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0036/13.21, allocations: 1.146 MB / 3.755 GB, free: 36.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/13.21, allocations: 1.381 MB / 3.757 GB, free: 34.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/13.21, allocations: 7.938 kB / 3.757 GB, free: 34.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/13.21, allocations: 7.906 kB / 3.757 GB, free: 34.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.746e-05/13.21, allocations: 57.05 kB / 3.757 GB, free: 34.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8445/14.05, allocations: 134.7 MB / 3.888 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/14.06, allocations: 0.545 MB / 3.889 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/14.06, allocations: 368.1 kB / 3.889 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01279/14.07, allocations: 4.105 MB / 3.893 GB, free: 37.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/14.07, allocations: 45.28 kB / 3.893 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=81): time 4.098e-06/14.07, allocations: 0 / 3.893 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=123): time 0.03568/14.11, allocations: 5.892 MB / 3.899 GB, free: 35.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/14.11, allocations: 118.9 kB / 3.899 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/14.11, allocations: 0.7065 MB / 3.9 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003648/14.11, allocations: 25.7 kB / 3.9 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/14.11, allocations: 0.5606 MB / 3.9 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005074/14.11, allocations: 404.3 kB / 3.901 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/14.11, allocations: 0 / 3.901 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001853/14.11, allocations: 360.4 kB / 3.901 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/14.11, allocations: 0.5689 MB / 3.902 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/14.11, allocations: 0.9845 MB / 3.903 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/14.12, allocations: 0.6882 MB / 3.903 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/14.12, allocations: 3.656 kB / 3.903 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.02499/14.14, allocations: 3.14 MB / 3.906 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002351/14.14, allocations: 5.046 MB / 3.911 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.126e-05/14.14, allocations: 16.88 kB / 3.911 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/14.15, allocations: 1.254 MB / 3.913 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/14.16, allocations: 256.5 kB / 3.913 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/14.17, allocations: 6.12 MB / 3.919 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/14.18, allocations: 182.4 kB / 3.919 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/14.18, allocations: 95.22 kB / 3.919 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/14.18, allocations: 3.5 kB / 3.919 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01086/14.19, allocations: 2.031 MB / 3.921 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.196e-05/14.19, allocations: 17 kB / 3.921 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/14.2, allocations: 0.9292 MB / 3.922 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/14.2, allocations: 306.9 kB / 3.922 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/14.21, allocations: 5.678 MB / 3.928 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/14.21, allocations: 169 kB / 3.928 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/14.21, allocations: 87.3 kB / 3.928 GB, free: 35.98 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpPolynomial.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpPolynomial.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpQuadraticLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpQuadraticLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.pumpLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 122 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 8,2 6,2 8,2 6,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008839/14.21, allocations: 176.5 kB / 3.928 GB, free: 35.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002022/14.22, allocations: 442.1 kB / 3.929 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/14.23, allocations: 4.132 MB / 3.933 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-05/14.23, allocations: 34.66 kB / 3.933 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/14.23, allocations: 2.156 kB / 3.933 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.679e-05/14.23, allocations: 7.312 kB / 3.933 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/14.25, allocations: 6.492 MB / 3.939 GB, free: 34.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/14.25, allocations: 0 / 3.939 GB, free: 34.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/14.25, allocations: 151.6 kB / 3.939 GB, free: 34.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009271/14.26, allocations: 1.815 MB / 3.941 GB, free: 34.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/14.26, allocations: 30.06 kB / 3.941 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/14.27, allocations: 8.319 MB / 3.949 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/14.27, allocations: 5.188 kB / 3.949 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0108/14.28, allocations: 3.608 MB / 3.953 GB, free: 28.25 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01164/14.3, allocations: 4.122 MB / 3.957 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/14.3, allocations: 410.2 kB / 3.957 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/14.3, allocations: 7.172 kB / 3.957 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/14.3, allocations: 168.2 kB / 3.957 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/14.3, allocations: 116.5 kB / 3.957 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/14.3, allocations: 60.69 kB / 3.957 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001187/14.3, allocations: 0.5546 MB / 3.958 GB, free: 27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01415/14.32, allocations: 2.402 MB / 3.96 GB, free: 26.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02111/14.34, allocations: 2.531 MB / 3.963 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02389/14.36, allocations: 3.258 MB / 3.966 GB, free: 26.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/14.36, allocations: 1.594 kB / 3.966 GB, free: 26.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009326/14.37, allocations: 1.835 MB / 3.968 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007773/14.38, allocations: 457.1 kB / 3.968 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0828/14.46, allocations: 16.14 MB / 3.984 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/14.46, allocations: 1.502 MB / 3.985 GB, free: 19.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.693e-06/14.46, allocations: 0 / 3.985 GB, free: 19.75 MB / 0.5261 GB