Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",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.115/2.115, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1498/2.265, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/2.545, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.798/9.343, allocations: 2.596 GB / 2.942 GB, free: 99.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004668/9.344, allocations: 83.33 kB / 2.942 GB, free: 99.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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 3.969/13.31, allocations: 0.8014 GB / 3.743 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/13.31, allocations: 9.562 kB / 3.743 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/13.32, allocations: 0.9145 MB / 3.744 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00507/13.33, allocations: 1.152 MB / 3.745 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006523/13.33, allocations: 397.7 kB / 3.745 GB, free: 29.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008941/13.33, allocations: 105.2 kB / 3.746 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007475/13.34, allocations: 1.901 MB / 3.747 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007624/13.35, allocations: 2.402 MB / 3.75 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.7e-05/13.35, allocations: 11.88 kB / 3.75 GB, free: 26.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003888/13.35, allocations: 8 kB / 3.75 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/13.35, allocations: 85.16 kB / 3.75 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1319/13.48, allocations: 35.83 MB / 3.785 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/13.48, allocations: 436.7 kB / 3.785 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/13.48, allocations: 365.9 kB / 3.786 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3537/13.84, allocations: 23.89 MB / 3.809 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/13.84, allocations: 48.16 kB / 3.809 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 3.757e-06/13.84, allocations: 0 / 3.809 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.0169/13.85, allocations: 3.25 MB / 3.812 GB, free: 79.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/13.85, allocations: 166 kB / 3.812 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/13.86, allocations: 1.01 MB / 3.813 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002979/13.86, allocations: 25.7 kB / 3.813 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007473/13.86, allocations: 0.8837 MB / 3.814 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000573/13.86, allocations: 396.9 kB / 3.815 GB, free: 78.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/13.86, allocations: 0 / 3.815 GB, free: 78.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002406/13.86, allocations: 452.7 kB / 3.815 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/13.86, allocations: 0.5175 MB / 3.816 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/13.86, allocations: 1.809 MB / 3.817 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003215/13.86, allocations: 0.905 MB / 3.818 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.222e-05/13.86, allocations: 11.44 kB / 3.818 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.0112/13.88, allocations: 2.839 MB / 3.821 GB, free: 76.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/13.88, allocations: 6.891 kB / 3.821 GB, free: 76.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.729e-05/13.88, allocations: 49.38 kB / 3.821 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/13.88, allocations: 399 kB / 3.821 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/13.88, allocations: 0.5285 MB / 3.822 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/13.89, allocations: 2.834 MB / 3.825 GB, free: 74.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004049/13.89, allocations: 158 kB / 3.825 GB, free: 74.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/13.89, allocations: 148.4 kB / 3.825 GB, free: 74.31 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000707/13.89, allocations: 237 kB / 3.825 GB, free: 74.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002504/13.89, allocations: 0.572 MB / 3.826 GB, free: 74.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/13.9, allocations: 4.258 MB / 3.83 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.837e-05/13.9, allocations: 48.22 kB / 3.83 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/13.9, allocations: 3.906 kB / 3.83 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/13.9, allocations: 6.047 kB / 3.83 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/13.92, allocations: 6.015 MB / 3.836 GB, free: 73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/13.92, allocations: 6.812 kB / 3.836 GB, free: 73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/13.92, allocations: 181.4 kB / 3.836 GB, free: 73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002518/13.93, allocations: 391.2 kB / 3.836 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002899/13.93, allocations: 24.78 kB / 3.836 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/13.93, allocations: 2.917 MB / 3.839 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/13.93, allocations: 8.375 kB / 3.839 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0148/13.95, allocations: 4.72 MB / 3.844 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01655/13.96, allocations: 6.247 MB / 3.85 GB, free: 68.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/13.96, allocations: 421.6 kB / 3.85 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/13.96, allocations: 11.16 kB / 3.85 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/13.97, allocations: 102.9 kB / 3.85 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/13.97, allocations: 93.23 kB / 3.851 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/13.97, allocations: 49.83 kB / 3.851 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001472/13.97, allocations: 0.7242 MB / 3.851 GB, free: 68.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01017/13.98, allocations: 1.568 MB / 3.853 GB, free: 68.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,source1.medium.phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01176/13.99, allocations: 2.293 MB / 3.855 GB, free: 67.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005526/14, allocations: 2.431 MB / 3.857 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/14, allocations: 6.484 kB / 3.857 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003905/14, allocations: 1.807 MB / 3.859 GB, free: 67.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005712/14.01, allocations: 0.5439 MB / 3.86 GB, free: 67.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8721/14.88, allocations: 186.3 MB / 4.042 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002194/14.88, allocations: 1.766 MB / 4.043 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.734e-06/14.88, allocations: 1.469 kB / 4.043 GB, free: 82.98 MB / 0.5105 GB