Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_1_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 1.79/1.79, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2465/2.037, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/2.154, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.549/8.703, allocations: 2.485 GB / 2.794 GB, free: 103.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/8.703, allocations: 86.98 kB / 2.794 GB, free: 103.1 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 4.034/12.74, allocations: 0.7808 GB / 3.575 GB, free: 22.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/12.74, allocations: 8 kB / 3.575 GB, free: 22.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/12.75, allocations: 0.8407 MB / 3.576 GB, free: 21.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/12.75, allocations: 1.152 MB / 3.577 GB, free: 20.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005738/12.75, allocations: 400.4 kB / 3.577 GB, free: 19.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007343/12.75, allocations: 100 kB / 3.577 GB, free: 19.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006692/12.76, allocations: 1.896 MB / 3.579 GB, free: 17.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007967/12.77, allocations: 2.403 MB / 3.582 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.6e-05/12.77, allocations: 15.88 kB / 3.582 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/12.77, allocations: 8 kB / 3.582 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/12.77, allocations: 90.7 kB / 3.582 GB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3608/13.13, allocations: 34.72 MB / 3.616 GB, free: 49.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/13.13, allocations: 456 kB / 3.616 GB, free: 49.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009197/13.13, allocations: 354.1 kB / 3.616 GB, free: 49.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1275/13.26, allocations: 23.36 MB / 3.639 GB, free: 41.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/13.26, allocations: 50.75 kB / 3.639 GB, free: 41.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=95): time 4.609e-06/13.26, allocations: 0 / 3.639 GB, free: 41.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=111): time 0.0169/13.28, allocations: 3.258 MB / 3.642 GB, free: 40.56 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/13.28, allocations: 165.1 kB / 3.643 GB, free: 40.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/13.28, allocations: 1.003 MB / 3.644 GB, free: 40.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003008/13.28, allocations: 28.33 kB / 3.644 GB, free: 40.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007433/13.28, allocations: 0.8844 MB / 3.644 GB, free: 39.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006281/13.28, allocations: 399.6 kB / 3.645 GB, free: 39.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/13.28, allocations: 0 / 3.645 GB, free: 39.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002805/13.28, allocations: 454.3 kB / 3.645 GB, free: 39.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/13.28, allocations: 0.5211 MB / 3.646 GB, free: 39.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/13.29, allocations: 1.801 MB / 3.648 GB, free: 37.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004833/13.29, allocations: 0.908 MB / 3.648 GB, free: 37.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.314e-05/13.29, allocations: 10.84 kB / 3.648 GB, free: 37.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01187/13.3, allocations: 2.845 MB / 3.651 GB, free: 37.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/13.3, allocations: 3.312 kB / 3.651 GB, free: 37.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.079e-05/13.3, allocations: 47.56 kB / 3.651 GB, free: 37.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/13.31, allocations: 393.9 kB / 3.652 GB, free: 37.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/13.31, allocations: 0.5303 MB / 3.652 GB, free: 37.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/13.31, allocations: 2.826 MB / 3.655 GB, free: 35.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/13.32, allocations: 160.1 kB / 3.655 GB, free: 35.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005542/13.32, allocations: 147.5 kB / 3.655 GB, free: 35.21 MB / 458.7 MB 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.000685/13.32, allocations: 244.2 kB / 3.655 GB, free: 35.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002544/13.32, allocations: 0.5719 MB / 3.656 GB, free: 35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009612/13.33, allocations: 4.255 MB / 3.66 GB, free: 34.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/13.33, allocations: 41.58 kB / 3.66 GB, free: 34.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/13.33, allocations: 1.188 kB / 3.66 GB, free: 34.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/13.33, allocations: 3.281 kB / 3.66 GB, free: 34.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/13.35, allocations: 6.011 MB / 3.666 GB, free: 33.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/13.35, allocations: 9.75 kB / 3.666 GB, free: 33.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/13.35, allocations: 185.5 kB / 3.666 GB, free: 33.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/13.35, allocations: 390.8 kB / 3.667 GB, free: 33.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/13.35, allocations: 21.88 kB / 3.667 GB, free: 33.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/13.35, allocations: 2.932 MB / 3.669 GB, free: 31.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/13.35, allocations: 10.22 kB / 3.67 GB, free: 31.76 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009635/13.36, allocations: 4.709 MB / 3.674 GB, free: 30.82 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01302/13.38, allocations: 6.253 MB / 3.68 GB, free: 29.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/13.38, allocations: 414 kB / 3.681 GB, free: 29.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/13.38, allocations: 12.45 kB / 3.681 GB, free: 29.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002813/13.38, allocations: 97.39 kB / 3.681 GB, free: 29.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/13.38, allocations: 93.86 kB / 3.681 GB, free: 29.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/13.38, allocations: 56.38 kB / 3.681 GB, free: 29.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001704/13.38, allocations: 0.7164 MB / 3.682 GB, free: 29.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009909/13.39, allocations: 1.558 MB / 3.683 GB, free: 29.11 MB / 458.7 MB 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.01356/13.41, allocations: 2.285 MB / 3.685 GB, free: 28.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006071/13.41, allocations: 2.427 MB / 3.688 GB, free: 28.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/13.41, allocations: 0 / 3.688 GB, free: 28.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003906/13.42, allocations: 1.81 MB / 3.689 GB, free: 28.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005567/13.42, allocations: 0.5423 MB / 3.69 GB, free: 28.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.86/14.28, allocations: 181.8 MB / 3.867 GB, free: 59.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/14.29, allocations: 1.762 MB / 3.869 GB, free: 58.95 MB / 458.7 MB Notification: Performance of SimCode: time 1.794e-06/14.29, allocations: 0 / 3.869 GB, free: 58.95 MB / 458.7 MB