Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.518/2.518, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2044/2.723, allocations: 57.21 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/3.021, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.189/11.21, allocations: 2.596 GB / 2.942 GB, free: 97.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005059/11.21, allocations: 86.69 kB / 2.942 GB, free: 97.93 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 4.621/15.83, allocations: 0.8014 GB / 3.743 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/15.83, allocations: 9.562 kB / 3.743 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/15.84, allocations: 0.907 MB / 3.744 GB, free: 32.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005829/15.85, allocations: 1.154 MB / 3.745 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006962/15.85, allocations: 396.7 kB / 3.746 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009475/15.85, allocations: 109.8 kB / 3.746 GB, free: 31.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008367/15.86, allocations: 1.892 MB / 3.748 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009624/15.87, allocations: 2.402 MB / 3.75 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/15.87, allocations: 16.38 kB / 3.75 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005152/15.87, allocations: 13.66 kB / 3.75 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/15.87, allocations: 87.66 kB / 3.75 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1536/16.02, allocations: 35.81 MB / 3.785 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/16.03, allocations: 446.4 kB / 3.785 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/16.03, allocations: 358.3 kB / 3.786 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3945/16.42, allocations: 23.89 MB / 3.809 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/16.42, allocations: 51.59 kB / 3.809 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 4.839e-06/16.42, allocations: 0 / 3.809 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.01802/16.44, allocations: 3.248 MB / 3.812 GB, free: 82.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/16.44, allocations: 168.2 kB / 3.812 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/16.44, allocations: 1.015 MB / 3.813 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002405/16.44, allocations: 25.7 kB / 3.813 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006737/16.44, allocations: 0.885 MB / 3.814 GB, free: 81.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000447/16.44, allocations: 382.4 kB / 3.815 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/16.44, allocations: 1.75 kB / 3.815 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002411/16.44, allocations: 458 kB / 3.815 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/16.45, allocations: 0.5202 MB / 3.816 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/16.45, allocations: 1.805 MB / 3.817 GB, free: 79.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/16.45, allocations: 0.8999 MB / 3.818 GB, free: 79.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.313e-05/16.45, allocations: 17.44 kB / 3.818 GB, free: 79.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.01187/16.46, allocations: 2.84 MB / 3.821 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/16.46, allocations: 3.5 kB / 3.821 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.687e-05/16.46, allocations: 49.97 kB / 3.821 GB, free: 79.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/16.47, allocations: 405.9 kB / 3.821 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/16.47, allocations: 0.5245 MB / 3.822 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/16.47, allocations: 2.827 MB / 3.825 GB, free: 77.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/16.48, allocations: 166.2 kB / 3.825 GB, free: 77.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/16.48, allocations: 147.8 kB / 3.825 GB, free: 77.47 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.0006995/16.48, allocations: 237.6 kB / 3.825 GB, free: 77.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002729/16.48, allocations: 0.5661 MB / 3.826 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00995/16.49, allocations: 4.259 MB / 3.83 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-05/16.49, allocations: 44.73 kB / 3.83 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/16.49, allocations: 6.562 kB / 3.83 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/16.49, allocations: 3.797 kB / 3.83 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/16.5, allocations: 6.013 MB / 3.836 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/16.5, allocations: 6.875 kB / 3.836 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/16.51, allocations: 186.6 kB / 3.836 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/16.51, allocations: 390.7 kB / 3.836 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/16.51, allocations: 20.77 kB / 3.836 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/16.51, allocations: 2.93 MB / 3.839 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/16.51, allocations: 3.938 kB / 3.839 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01069/16.52, allocations: 4.712 MB / 3.844 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01934/16.54, allocations: 6.259 MB / 3.85 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/16.54, allocations: 416.1 kB / 3.85 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/16.54, allocations: 11.55 kB / 3.85 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/16.55, allocations: 100.6 kB / 3.851 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/16.55, allocations: 94.92 kB / 3.851 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/16.55, allocations: 47.03 kB / 3.851 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001685/16.55, allocations: 0.7231 MB / 3.851 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01072/16.56, allocations: 1.568 MB / 3.853 GB, free: 71.39 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.01293/16.57, allocations: 2.291 MB / 3.855 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006661/16.58, allocations: 2.433 MB / 3.858 GB, free: 71.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/16.58, allocations: 3.688 kB / 3.858 GB, free: 71.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00422/16.58, allocations: 1.811 MB / 3.859 GB, free: 71.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006179/16.59, allocations: 0.5388 MB / 3.86 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9736/17.56, allocations: 186 MB / 4.042 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003/17.57, allocations: 1.77 MB / 4.043 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of SimCode: time 2.525e-06/17.57, allocations: 0 / 4.043 GB, free: 84.21 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat