Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.137/3.137, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.397/3.534, allocations: 46.82 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/3.664, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/4.145, allocations: 74.9 MB / 368.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005088/4.146, allocations: 72.02 kB / 368.9 MB, free: 7.152 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.07681/4.223, allocations: 9.405 MB / 378.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/4.223, allocations: 11.73 kB / 378.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/4.223, allocations: 58.59 kB / 378.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/4.224, allocations: 369.9 kB / 378.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/4.225, allocations: 45.7 kB / 378.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/4.225, allocations: 23.41 kB / 378.8 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/4.226, allocations: 253.1 kB / 379 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/4.228, allocations: 380.9 kB / 379.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/4.228, allocations: 0 / 379.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/4.228, allocations: 3.875 kB / 379.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/4.228, allocations: 7.719 kB / 379.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/4.233, allocations: 1.152 MB / 380.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/4.234, allocations: 359.6 kB / 380.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/4.235, allocations: 117 kB / 381 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.679e-05/4.235, allocations: 19.55 kB / 381 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/4.235, allocations: 38.77 kB / 381.1 MB, free: 4.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 7.874e-06/4.235, allocations: 3.969 kB / 381.1 MB, free: 4.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.00184/4.237, allocations: 313.1 kB / 381.4 MB, free: 4.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000322/4.237, allocations: 448.2 kB / 381.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/4.238, allocations: 317.5 kB / 382.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/4.239, allocations: 25.7 kB / 382.2 MB, free: 19.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/4.239, allocations: 174.6 kB / 382.3 MB, free: 19.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/4.239, allocations: 114.5 kB / 382.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/4.239, allocations: 0 / 382.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002959/4.24, allocations: 347.9 kB / 382.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/4.24, allocations: 88.78 kB / 382.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/4.241, allocations: 229.8 kB / 383.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/4.242, allocations: 122.9 kB / 383.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/4.242, allocations: 0 / 383.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002098/4.244, allocations: 360.5 kB / 383.6 MB, free: 18.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/4.244, allocations: 3.781 kB / 383.6 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/4.244, allocations: 7.969 kB / 383.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007778/4.245, allocations: 67.31 kB / 383.6 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/4.246, allocations: 74.08 kB / 383.7 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006473/4.252, allocations: 2.623 MB / 386.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/4.254, allocations: 43.25 kB / 386.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/4.254, allocations: 10.72 kB / 386.4 MB, free: 15.92 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: pipe.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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004208/4.254, allocations: 116.5 kB / 386.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/4.255, allocations: 46.53 kB / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/4.255, allocations: 44.2 kB / 386.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/4.255, allocations: 7.875 kB / 386.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/4.255, allocations: 0 / 386.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/4.256, allocations: 0.6222 MB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/4.26, allocations: 0.8043 MB / 388 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/4.26, allocations: 0 / 388 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/4.261, allocations: 81.3 kB / 388.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.06e-05/4.262, allocations: 0 / 388.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/4.262, allocations: 3.812 kB / 388.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/4.262, allocations: 0 / 388.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/4.262, allocations: 0 / 388.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002042/4.264, allocations: 494.3 kB / 388.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003984/4.268, allocations: 1.197 MB / 389.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/4.268, allocations: 128.6 kB / 389.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/4.269, allocations: 0 / 389.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000956/4.27, allocations: 15.64 kB / 389.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/4.27, allocations: 16.17 kB / 390 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/4.27, allocations: 11.73 kB / 390 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0008118/4.271, allocations: 255 kB / 390.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00352/4.274, allocations: 120.1 kB / 390.3 MB, free: 13.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004959/4.275, allocations: 122.1 kB / 390.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00282/4.278, allocations: 494.8 kB / 390.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/4.278, allocations: 4.062 kB / 390.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005842/4.278, allocations: 120 kB / 391.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/4.28, allocations: 97.19 kB / 391.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/4.284, allocations: 0.5956 MB / 391.7 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/4.286, allocations: 0.8767 MB / 392.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of SimCode: time 2.515e-06/4.286, allocations: 0 / 392.6 MB, free: 12.22 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat