Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.472/2.472, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.215/2.687, allocations: 57.22 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/2.987, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/3.18, allocations: 88.1 MB / 442.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004208/3.18, allocations: 99.88 kB / 442.3 MB, free: 5.078 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.3118/3.492, allocations: 13.95 MB / 456.2 MB, free: 86.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/3.492, allocations: 8.719 kB / 456.2 MB, free: 86.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/3.492, allocations: 44.02 kB / 456.3 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/3.493, allocations: 275.1 kB / 456.6 MB, free: 86.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/3.493, allocations: 11.88 kB / 456.6 MB, free: 86.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/3.493, allocations: 22.84 kB / 456.6 MB, free: 86.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/3.494, allocations: 334.9 kB / 456.9 MB, free: 86.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/3.496, allocations: 496 kB / 457.4 MB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/3.496, allocations: 4 kB / 457.4 MB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/3.496, allocations: 5.156 kB / 457.4 MB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/3.496, allocations: 21.67 kB / 457.4 MB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/3.5, allocations: 1.155 MB / 458.6 MB, free: 85.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/3.501, allocations: 283.4 kB / 458.9 MB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/3.502, allocations: 133.2 kB / 459 MB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/3.502, allocations: 12.97 kB / 459 MB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/3.502, allocations: 39.56 kB / 459 MB, free: 85.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 5.421e-06/3.502, allocations: 1.219 kB / 459 MB, free: 85.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001856/3.504, allocations: 299.6 kB / 459.3 MB, free: 84.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/3.504, allocations: 112 kB / 459.5 MB, free: 84.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/3.505, allocations: 203.8 kB / 459.7 MB, free: 84.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/3.505, allocations: 27.05 kB / 459.7 MB, free: 84.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/3.505, allocations: 199.8 kB / 459.9 MB, free: 84.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/3.505, allocations: 59.73 kB / 459.9 MB, free: 84.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/3.505, allocations: 0 / 459.9 MB, free: 84.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/3.505, allocations: 332.7 kB / 460.3 MB, free: 84.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/3.506, allocations: 117.4 kB / 460.4 MB, free: 83.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/3.507, allocations: 211.4 kB / 460.6 MB, free: 83.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/3.507, allocations: 150.1 kB / 460.7 MB, free: 83.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/3.507, allocations: 1.125 kB / 460.7 MB, free: 83.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002053/3.509, allocations: 377 kB / 461.1 MB, free: 83.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/3.51, allocations: 4.906 kB / 461.1 MB, free: 83.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002533/3.51, allocations: 28.64 kB / 461.1 MB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.942e-05/3.51, allocations: 4.125 kB / 461.1 MB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/3.511, allocations: 44.45 kB / 461.2 MB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/3.511, allocations: 10.86 kB / 461.2 MB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008185/3.512, allocations: 32.73 kB / 461.2 MB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/3.512, allocations: 24.98 kB / 461.2 MB, free: 83.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002338/3.512, allocations: 122.4 kB / 461.4 MB, free: 83.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/3.512, allocations: 21.12 kB / 461.4 MB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/3.515, allocations: 444.3 kB / 461.8 MB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/3.515, allocations: 10.97 kB / 461.8 MB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/3.515, allocations: 2.094 kB / 461.8 MB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/3.515, allocations: 0 / 461.8 MB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/3.516, allocations: 348.9 kB / 462.2 MB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001948/3.517, allocations: 31 kB / 462.2 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/3.517, allocations: 31.16 kB / 462.2 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/3.517, allocations: 1.25 kB / 462.2 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/3.517, allocations: 11.06 kB / 462.2 MB, free: 82.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/3.517, allocations: 1.031 kB / 462.2 MB, free: 82.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/3.518, allocations: 8.125 kB / 462.2 MB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001471/3.519, allocations: 0.5599 MB / 462.8 MB, free: 82.32 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001578/3.521, allocations: 0.9412 MB / 463.7 MB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/3.521, allocations: 96.83 kB / 463.8 MB, free: 81.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/3.521, allocations: 3.938 kB / 463.8 MB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/3.522, allocations: 23.98 kB / 463.9 MB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/3.522, allocations: 27.91 kB / 463.9 MB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/3.522, allocations: 8 kB / 463.9 MB, free: 81.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003039/3.523, allocations: 164.5 kB / 464.1 MB, free: 81.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0036/3.526, allocations: 155.5 kB / 464.2 MB, free: 80.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/3.527, allocations: 229.4 kB / 464.4 MB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/3.529, allocations: 0.5145 MB / 465 MB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/3.529, allocations: 0 / 465 MB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007629/3.53, allocations: 375.2 kB / 465.3 MB, free: 79.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009762/3.531, allocations: 20.62 kB / 465.3 MB, free: 79.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/3.534, allocations: 0.5384 MB / 465.9 MB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007719/3.535, allocations: 0.8795 MB / 466.8 MB, free: 78.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.024e-06/3.535, allocations: 0 / 466.8 MB, free: 78.17 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat