Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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(Modelica): time 1.709/1.709, allocations: 194.9 MB / 202.5 MB, free: 6.836 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2144/1.923, allocations: 46.83 MB / 249.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/2.023, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/2.318, allocations: 74.89 MB / 368.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/2.318, allocations: 76.44 kB / 368.8 MB, free: 7.062 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.03913/2.358, allocations: 9.41 MB / 378.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/2.358, allocations: 7.75 kB / 378.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/2.358, allocations: 58.59 kB / 378.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/2.359, allocations: 369.8 kB / 378.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/2.359, allocations: 49.88 kB / 378.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/2.359, allocations: 27.38 kB / 378.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007128/2.36, allocations: 240.1 kB / 379 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/2.36, allocations: 392.1 kB / 379.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/2.36, allocations: 1.969 kB / 379.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/2.36, allocations: 0 / 379.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/2.36, allocations: 7.75 kB / 379.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/2.364, allocations: 1.15 MB / 380.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008971/2.365, allocations: 359.5 kB / 380.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/2.365, allocations: 120.6 kB / 381 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/2.365, allocations: 4.219 kB / 381 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/2.365, allocations: 38.25 kB / 381 MB, free: 4.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.885e-06/2.365, allocations: 0 / 381 MB, free: 4.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001095/2.366, allocations: 317.4 kB / 381.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/2.366, allocations: 452 kB / 381.8 MB, free: 19.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/2.367, allocations: 315.3 kB / 382.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/2.367, allocations: 30.34 kB / 382.1 MB, free: 19.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/2.367, allocations: 176.2 kB / 382.3 MB, free: 19.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/2.367, allocations: 107.4 kB / 382.4 MB, free: 19.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/2.367, allocations: 3.875 kB / 382.4 MB, free: 19.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/2.368, allocations: 347.4 kB / 382.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/2.368, allocations: 95.61 kB / 382.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/2.368, allocations: 225.9 kB / 383 MB, free: 18.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/2.369, allocations: 125.1 kB / 383.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.369, allocations: 0 / 383.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001084/2.37, allocations: 366.7 kB / 383.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.37, allocations: 3.719 kB / 383.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/2.37, allocations: 4.031 kB / 383.5 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004606/2.37, allocations: 69.94 kB / 383.6 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/2.371, allocations: 69.91 kB / 383.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/2.375, allocations: 2.627 MB / 386.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/2.376, allocations: 39.31 kB / 386.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/2.376, allocations: 15.34 kB / 386.3 MB, free: 15.84 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.000412/2.376, allocations: 112.6 kB / 386.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/2.377, allocations: 46.73 kB / 386.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/2.377, allocations: 40.41 kB / 386.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/2.377, allocations: 7.781 kB / 386.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/2.377, allocations: 0 / 386.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/2.378, allocations: 0.6194 MB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/2.381, allocations: 0.8148 MB / 388 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/2.381, allocations: 0 / 388 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/2.383, allocations: 73.86 kB / 388 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/2.383, allocations: 7.844 kB / 388 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/2.383, allocations: 0 / 388 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/2.383, allocations: 0 / 388 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/2.383, allocations: 0 / 388 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001691/2.384, allocations: 491.6 kB / 388.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003034/2.387, allocations: 1.2 MB / 389.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/2.388, allocations: 123.3 kB / 389.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/2.388, allocations: 3.75 kB / 389.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/2.389, allocations: 11.81 kB / 389.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/2.389, allocations: 16.84 kB / 389.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/2.389, allocations: 10.66 kB / 389.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005905/2.389, allocations: 248.8 kB / 390.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002289/2.392, allocations: 128.5 kB / 390.3 MB, free: 13.66 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.0002875/2.392, allocations: 122.2 kB / 390.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002055/2.394, allocations: 492.3 kB / 390.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/2.394, allocations: 4.062 kB / 390.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/2.394, allocations: 121.5 kB / 391 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/2.395, allocations: 91.17 kB / 391.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/2.397, allocations: 0.6032 MB / 391.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00067/2.398, allocations: 0.8777 MB / 392.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/2.398, allocations: 4 kB / 392.6 MB, free: 12.14 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat