Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",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(Modelica): time 1.759/1.759, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2041/1.963, allocations: 46.83 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/2.056, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.383/7.439, allocations: 2.587 GB / 2.874 GB, free: 71.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/7.439, allocations: 82.77 kB / 2.874 GB, free: 71.73 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 4.513/11.95, allocations: 0.9594 GB / 3.834 GB, free: 22.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/11.95, allocations: 11.86 kB / 3.834 GB, free: 22.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02557/11.98, allocations: 1.702 MB / 3.835 GB, free: 22.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006112/11.98, allocations: 1.536 MB / 3.837 GB, free: 21.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/11.98, allocations: 282.9 kB / 3.837 GB, free: 21.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009983/11.99, allocations: 114.2 kB / 3.837 GB, free: 21.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008914/11.99, allocations: 2.681 MB / 3.84 GB, free: 21.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009392/12, allocations: 2.708 MB / 3.842 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.298e-05/12, allocations: 11.41 kB / 3.842 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004737/12, allocations: 7.594 kB / 3.842 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/12, allocations: 111.9 kB / 3.843 GB, free: 21.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0375/12.04, allocations: 14.44 MB / 3.857 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/12.05, allocations: 1.437 MB / 3.858 GB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/12.05, allocations: 1.235 MB / 3.859 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06704/12.12, allocations: 19.77 MB / 3.879 GB, free: 17.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.905e-05/12.12, allocations: 55.75 kB / 3.879 GB, free: 17.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 4.809e-06/12.12, allocations: 0 / 3.879 GB, free: 17.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.05699/12.17, allocations: 10.42 MB / 3.889 GB, free: 16.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/12.17, allocations: 158 kB / 3.889 GB, free: 15.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/12.18, allocations: 0.8524 MB / 3.89 GB, free: 15.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007495/12.18, allocations: 29.42 kB / 3.89 GB, free: 15.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/12.18, allocations: 0.6321 MB / 3.89 GB, free: 15.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/12.18, allocations: 0.6534 MB / 3.891 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/12.18, allocations: 0 / 3.891 GB, free: 14.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002706/12.18, allocations: 390.9 kB / 3.891 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/12.18, allocations: 1.226 MB / 3.893 GB, free: 13.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/12.19, allocations: 1.675 MB / 3.894 GB, free: 11.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/12.2, allocations: 2.011 MB / 3.896 GB, free: 10.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-05/12.2, allocations: 0 / 3.896 GB, free: 10.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03395/12.23, allocations: 5.396 MB / 3.901 GB, free: 5.785 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002222/12.23, allocations: 4.883 MB / 3.906 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.578e-05/12.23, allocations: 15.61 kB / 3.906 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009568/12.24, allocations: 1.657 MB / 3.908 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/12.25, allocations: 497 kB / 3.908 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/12.27, allocations: 7.652 MB / 3.916 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/12.27, allocations: 180.7 kB / 3.916 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008919/12.27, allocations: 131.5 kB / 3.916 GB, free: 7.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/12.27, allocations: 4.188 kB / 3.916 GB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01514/12.29, allocations: 3.465 MB / 3.92 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-05/12.29, allocations: 19.06 kB / 3.92 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004587/12.29, allocations: 1.018 MB / 3.921 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005068/12.3, allocations: 0.5256 MB / 3.921 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2218/12.52, allocations: 9.647 MB / 3.93 GB, free: 75.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/12.52, allocations: 184 kB / 3.931 GB, free: 75.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007606/12.52, allocations: 127 kB / 3.931 GB, free: 75.83 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot3.mb_flow:VARIABLE(min = max(-(if junctionIdeal.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59), -100000.0) max = min(-(if junctionIdeal.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59), 100000.0) unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankHot3.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankHot3.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankCold3.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankCold3.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot1.mb_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankHot1.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankHot1.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankCold1.Wb_flow:VARIABLE(unit = "W" ) "Work flow across boundaries or source term" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot2.mb_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot2.Wb_flow:VARIABLE(unit = "W" ) "Work flow across boundaries or source term" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankCold2.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankCold2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 210 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,4 6,2 4,2 4,4 6,2 4,2 4,4 8} Notification: Performance of prepare postOptimizeDAE: time 0.00122/12.53, allocations: 229.6 kB / 3.931 GB, free: 75.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003311/12.53, allocations: 0.6814 MB / 3.932 GB, free: 75.72 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0294/12.56, allocations: 10.21 MB / 3.942 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001223/12.56, allocations: 90.44 kB / 3.942 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/12.56, allocations: 0 / 3.942 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.166e-05/12.56, allocations: 11.67 kB / 3.942 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03423/12.59, allocations: 13.34 MB / 3.955 GB, free: 74.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-05/12.59, allocations: 2.656 kB / 3.955 GB, free: 74.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003645/12.6, allocations: 350.1 kB / 3.955 GB, free: 74.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01082/12.61, allocations: 4.225 MB / 3.959 GB, free: 74.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007804/12.61, allocations: 44.03 kB / 3.959 GB, free: 74.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/12.63, allocations: 9.786 MB / 3.969 GB, free: 69.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/12.63, allocations: 0 / 3.969 GB, free: 69.62 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03067/12.66, allocations: 11.2 MB / 3.98 GB, free: 68.92 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03762/12.69, allocations: 14.65 MB / 3.994 GB, free: 67.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/12.7, allocations: 0.6634 MB / 3.995 GB, free: 67.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008599/12.7, allocations: 7.938 kB / 3.995 GB, free: 67.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004692/12.7, allocations: 207.3 kB / 3.995 GB, free: 67.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/12.7, allocations: 239.2 kB / 3.995 GB, free: 67.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004512/12.7, allocations: 98.41 kB / 3.995 GB, free: 67.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001366/12.71, allocations: 0.6152 MB / 3.996 GB, free: 67.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01619/12.72, allocations: 2.744 MB / 3.998 GB, free: 67.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 65 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01395/12.74, allocations: 2.871 MB / 4.001 GB, free: 67.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02098/12.76, allocations: 7.015 MB / 4.008 GB, free: 66.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/12.76, allocations: 0.5 kB / 4.008 GB, free: 66.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01048/12.77, allocations: 3.941 MB / 4.012 GB, free: 66.74 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00864/12.78, allocations: 0.8503 MB / 4.013 GB, free: 66.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/12.79, allocations: 6.698 MB / 4.019 GB, free: 65.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003586/12.8, allocations: 2.278 MB / 4.022 GB, free: 65.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.704e-06/12.8, allocations: 0 / 4.022 GB, free: 65.04 MB / 474.7 MB