Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_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 1.783/1.783, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2402/2.023, allocations: 51.04 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/2.138, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.244/8.382, allocations: 2.484 GB / 2.793 GB, free: 103 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/8.382, allocations: 90.44 kB / 2.793 GB, free: 103 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 3.656/12.04, allocations: 0.7905 GB / 3.583 GB, free: 3.879 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/12.04, allocations: 8 kB / 3.583 GB, free: 3.871 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/12.04, allocations: 481.6 kB / 3.584 GB, free: 3.398 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/12.05, allocations: 1.008 MB / 3.585 GB, free: 2.367 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/12.05, allocations: 59.98 kB / 3.585 GB, free: 2.309 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/12.05, allocations: 68 kB / 3.585 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003988/12.05, allocations: 1.145 MB / 3.586 GB, free: 1.094 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2202/12.27, allocations: 1.383 MB / 3.587 GB, free: 66.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/12.27, allocations: 3.469 kB / 3.587 GB, free: 66.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/12.27, allocations: 7.875 kB / 3.587 GB, free: 66.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.008e-05/12.27, allocations: 60.67 kB / 3.587 GB, free: 66.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.59/12.86, allocations: 134.6 MB / 3.719 GB, free: 28.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/12.86, allocations: 0.5543 MB / 3.719 GB, free: 28.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/12.87, allocations: 374.1 kB / 3.72 GB, free: 28.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/12.88, allocations: 4.062 MB / 3.724 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.853e-05/12.88, allocations: 48.69 kB / 3.724 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=81): time 3.136e-06/12.88, allocations: 3.531 kB / 3.724 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=123): time 0.03346/12.91, allocations: 5.867 MB / 3.73 GB, free: 39.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/12.91, allocations: 120.8 kB / 3.73 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/12.91, allocations: 0.6953 MB / 3.73 GB, free: 38.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003413/12.91, allocations: 25.7 kB / 3.73 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/12.91, allocations: 0.5655 MB / 3.731 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006518/12.91, allocations: 406.3 kB / 3.731 GB, free: 38.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/12.91, allocations: 0 / 3.731 GB, free: 38.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002049/12.91, allocations: 366.9 kB / 3.732 GB, free: 38.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/12.92, allocations: 0.5702 MB / 3.732 GB, free: 38.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/12.92, allocations: 0.9836 MB / 3.733 GB, free: 37.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/12.92, allocations: 0.687 MB / 3.734 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/12.92, allocations: 3.594 kB / 3.734 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01895/12.94, allocations: 3.145 MB / 3.737 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002668/12.94, allocations: 5.04 MB / 3.742 GB, free: 31.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.611e-05/12.94, allocations: 11.12 kB / 3.742 GB, free: 31.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01328/12.96, allocations: 1.245 MB / 3.743 GB, free: 31.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/12.96, allocations: 259.7 kB / 3.743 GB, free: 31.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/12.97, allocations: 6.13 MB / 3.749 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/12.98, allocations: 176.7 kB / 3.749 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/12.98, allocations: 94.16 kB / 3.75 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/12.98, allocations: 7.812 kB / 3.75 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01089/12.99, allocations: 2.035 MB / 3.752 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.537e-05/12.99, allocations: 14.53 kB / 3.752 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007387/13, allocations: 0.9295 MB / 3.753 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/13, allocations: 296.1 kB / 3.753 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/13.01, allocations: 5.69 MB / 3.758 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/13.02, allocations: 167.2 kB / 3.759 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003437/13.02, allocations: 83.69 kB / 3.759 GB, free: 23.21 MB / 0.4948 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.0009443/13.02, allocations: 165.6 kB / 3.759 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002988/13.02, allocations: 450.2 kB / 3.759 GB, free: 23.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/13.04, allocations: 4.127 MB / 3.763 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.139e-05/13.04, allocations: 31.59 kB / 3.763 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/13.04, allocations: 0.5 kB / 3.763 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-05/13.04, allocations: 7.5 kB / 3.763 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2469/13.29, allocations: 6.509 MB / 3.77 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/13.29, allocations: 3.531 kB / 3.77 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/13.29, allocations: 140.2 kB / 3.77 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01266/13.3, allocations: 1.83 MB / 3.772 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/13.3, allocations: 21.5 kB / 3.772 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/13.32, allocations: 8.316 MB / 3.78 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/13.32, allocations: 3.969 kB / 3.78 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01073/13.33, allocations: 3.606 MB / 3.783 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01302/13.34, allocations: 4.119 MB / 3.787 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/13.34, allocations: 414.8 kB / 3.788 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005636/13.34, allocations: 3.844 kB / 3.788 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/13.35, allocations: 161 kB / 3.788 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005566/13.35, allocations: 126.5 kB / 3.788 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/13.35, allocations: 56.89 kB / 3.788 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001601/13.35, allocations: 0.5552 MB / 3.788 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01889/13.37, allocations: 2.383 MB / 3.791 GB, free: 106.4 MB / 0.4948 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.01934/13.39, allocations: 2.504 MB / 3.793 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02268/13.41, allocations: 3.259 MB / 3.796 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/13.41, allocations: 6.406 kB / 3.796 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005757/13.42, allocations: 1.843 MB / 3.798 GB, free: 106 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/13.42, allocations: 449.1 kB / 3.799 GB, free: 106 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07265/13.49, allocations: 15.75 MB / 3.814 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/13.5, allocations: 1.499 MB / 3.816 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.904e-06/13.5, allocations: 0 / 3.816 GB, free: 104.7 MB / 0.4948 GB