Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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(Modelica): time 3.065/3.065, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3447/3.41, allocations: 46.83 MB / 249.4 MB, free: 5.301 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/3.548, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/4.02, allocations: 75.91 MB / 369.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/4.021, allocations: 68.44 kB / 369.9 MB, free: 7.191 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.1505/4.171, allocations: 19 MB / 388.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.984e-05/4.171, allocations: 7.781 kB / 388.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/4.172, allocations: 122.6 kB / 389 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/4.175, allocations: 0.5869 MB / 389.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005747/4.176, allocations: 136.2 kB / 389.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/4.177, allocations: 38.66 kB / 389.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003445/4.18, allocations: 0.5166 MB / 390.3 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/4.184, allocations: 0.787 MB / 391.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/4.184, allocations: 0 / 391.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/4.184, allocations: 1.531 kB / 391.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/4.184, allocations: 19.5 kB / 391.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/4.198, allocations: 2.384 MB / 393.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0044/4.202, allocations: 0.6812 MB / 394.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/4.204, allocations: 308.5 kB / 394.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/4.204, allocations: 10.16 kB / 394.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.046e-05/4.204, allocations: 57.95 kB / 394.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 7.193e-06/4.204, allocations: 0 / 394.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.004855/4.209, allocations: 0.6514 MB / 395.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008443/4.21, allocations: 0.9522 MB / 396.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/4.213, allocations: 0.5562 MB / 396.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003886/4.213, allocations: 29.52 kB / 396.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/4.214, allocations: 286.4 kB / 397 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000746/4.215, allocations: 233.2 kB / 397.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/4.215, allocations: 1.281 kB / 397.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004758/4.215, allocations: 390.3 kB / 397.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/4.217, allocations: 205.7 kB / 397.8 MB, free: 13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/4.219, allocations: 0.5238 MB / 398.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/4.221, allocations: 263.7 kB / 398.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/4.221, allocations: 0 / 398.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005542/4.226, allocations: 0.7778 MB / 399.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/4.227, allocations: 9.031 kB / 399.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/4.227, allocations: 1.375 kB / 399.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/4.229, allocations: 166.7 kB / 399.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/4.231, allocations: 168.8 kB / 399.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/4.249, allocations: 6.615 MB / 406.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/4.251, allocations: 90.31 kB / 406.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/4.252, allocations: 24.25 kB / 406.4 MB, free: 5.926 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007154/4.252, allocations: 145.4 kB / 406.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/4.253, allocations: 87 kB / 406.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/4.254, allocations: 90.27 kB / 406.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/4.254, allocations: 6.531 kB / 406.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.812e-05/4.254, allocations: 1.375 kB / 406.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003605/4.257, allocations: 0.879 MB / 407.6 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008388/4.266, allocations: 1.547 MB / 409.2 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/4.266, allocations: 0 / 409.2 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/4.269, allocations: 167.3 kB / 409.3 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003498/4.27, allocations: 34.69 kB / 409.4 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/4.27, allocations: 6.375 kB / 409.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/4.273, allocations: 1.373 MB / 410.7 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/4.273, allocations: 0 / 410.7 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005638/4.279, allocations: 0.948 MB / 411.7 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.011/4.29, allocations: 2.159 MB / 413.9 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/4.291, allocations: 176.8 kB / 414 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00064/4.291, allocations: 3.281 kB / 414 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/4.293, allocations: 35.5 kB / 414.1 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/4.294, allocations: 37.53 kB / 414.1 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/4.294, allocations: 18.5 kB / 414.1 MB, free: 1.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.002077/4.296, allocations: 434.6 kB / 414.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005228/4.301, allocations: 278.9 kB / 414.8 MB, free: 1.824 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006858/4.302, allocations: 134.2 kB / 414.9 MB, free: 1.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007046/4.309, allocations: 1.176 MB / 416.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/4.309, allocations: 2.188 kB / 416.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/4.312, allocations: 372.5 kB / 416.5 MB, free: 0.918 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/4.315, allocations: 203.1 kB / 416.7 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009896/4.325, allocations: 1.255 MB / 417.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/4.328, allocations: 1.082 MB / 419 MB, free: 14.72 MB / 330.7 MB Notification: Performance of SimCode: time 2.124e-06/4.328, allocations: 0 / 419 MB, free: 14.72 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat