Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.008/3.008, allocations: 194.9 MB / 202.6 MB, free: 14.25 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3096/3.317, allocations: 46.83 MB / 249.4 MB, free: 14.19 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/3.463, allocations: 44.49 MB / 293.9 MB, free: 1.609 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/3.903, allocations: 75.92 MB / 369.8 MB, free: 6.102 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/3.904, allocations: 66.03 kB / 369.9 MB, free: 6.094 MB / 290.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.1145/4.018, allocations: 16.27 MB / 386.2 MB, free: 15.72 MB / 306.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/4.018, allocations: 8 kB / 386.2 MB, free: 15.71 MB / 306.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006103/4.019, allocations: 102.9 kB / 386.3 MB, free: 15.61 MB / 306.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/4.021, allocations: 0.5097 MB / 386.8 MB, free: 15.16 MB / 306.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/4.022, allocations: 130.3 kB / 386.9 MB, free: 15.02 MB / 306.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/4.022, allocations: 39.94 kB / 386.9 MB, free: 14.98 MB / 306.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002213/4.024, allocations: 465 kB / 387.4 MB, free: 14.69 MB / 306.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/4.027, allocations: 0.699 MB / 388.1 MB, free: 14.05 MB / 306.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/4.027, allocations: 0 / 388.1 MB, free: 14.05 MB / 306.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002568/4.028, allocations: 4 kB / 388.1 MB, free: 14.05 MB / 306.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/4.028, allocations: 12 kB / 388.1 MB, free: 14.04 MB / 306.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/4.04, allocations: 1.952 MB / 390.1 MB, free: 12.55 MB / 306.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005214/4.045, allocations: 0.8335 MB / 390.9 MB, free: 11.84 MB / 306.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/4.047, allocations: 317.9 kB / 391.2 MB, free: 11.65 MB / 306.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/4.048, allocations: 12.02 kB / 391.2 MB, free: 11.64 MB / 306.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.63e-05/4.048, allocations: 50.53 kB / 391.3 MB, free: 11.59 MB / 306.8 MB Notification: Performance of pre-optimization done (n=74): time 9.047e-06/4.048, allocations: 0 / 391.3 MB, free: 11.59 MB / 306.8 MB Notification: Performance of matching and sorting (n=74): time 0.008776/4.057, allocations: 0.8323 MB / 392.1 MB, free: 10.93 MB / 306.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008965/4.058, allocations: 0.8228 MB / 392.9 MB, free: 9.91 MB / 306.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/4.06, allocations: 455.7 kB / 393.4 MB, free: 9.57 MB / 306.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000368/4.06, allocations: 25.7 kB / 393.4 MB, free: 9.539 MB / 306.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/4.06, allocations: 227.4 kB / 393.6 MB, free: 9.344 MB / 306.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007973/4.061, allocations: 248.4 kB / 393.9 MB, free: 9.125 MB / 306.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/4.061, allocations: 0 / 393.9 MB, free: 9.125 MB / 306.8 MB Notification: Performance of setup shared object (initialization): time 0.000471/4.062, allocations: 381.4 kB / 394.2 MB, free: 8.773 MB / 306.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/4.063, allocations: 197.2 kB / 394.4 MB, free: 8.664 MB / 306.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/4.066, allocations: 461.8 kB / 394.9 MB, free: 8.234 MB / 306.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/4.067, allocations: 245 kB / 395.1 MB, free: 8.09 MB / 306.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/4.067, allocations: 4 kB / 395.1 MB, free: 8.086 MB / 306.8 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.008646/4.076, allocations: 0.8877 MB / 396 MB, free: 7.379 MB / 306.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/4.076, allocations: 11.98 kB / 396 MB, free: 7.367 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/4.076, allocations: 4 kB / 396 MB, free: 7.363 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/4.079, allocations: 201.4 kB / 396.2 MB, free: 7.203 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/4.081, allocations: 142.1 kB / 396.4 MB, free: 7.07 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/4.104, allocations: 5.965 MB / 402.3 MB, free: 1.148 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/4.107, allocations: 87.45 kB / 402.4 MB, free: 1.062 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/4.107, allocations: 27.5 kB / 402.4 MB, free: 1.043 MB / 306.8 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: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.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 (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000781/4.108, allocations: 128.6 kB / 402.6 MB, free: 0.9102 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/4.109, allocations: 79.14 kB / 402.6 MB, free: 0.832 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/4.109, allocations: 76.67 kB / 402.7 MB, free: 0.7891 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/4.11, allocations: 11.94 kB / 402.7 MB, free: 0.7773 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/4.11, allocations: 0 / 402.7 MB, free: 0.7773 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007917/4.118, allocations: 1.126 MB / 403.9 MB, free: 15.71 MB / 322.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/4.131, allocations: 1.724 MB / 405.6 MB, free: 14.39 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/4.131, allocations: 4 kB / 405.6 MB, free: 14.39 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/4.134, allocations: 127.3 kB / 405.7 MB, free: 14.27 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/4.136, allocations: 176.2 kB / 405.9 MB, free: 14.13 MB / 322.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000284/4.136, allocations: 7.984 kB / 405.9 MB, free: 14.12 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/4.156, allocations: 4.633 MB / 410.5 MB, free: 9.523 MB / 322.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/4.156, allocations: 0 / 410.5 MB, free: 9.523 MB / 322.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009983/4.166, allocations: 1.236 MB / 411.8 MB, free: 8.562 MB / 322.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01615/4.182, allocations: 2.518 MB / 414.3 MB, free: 6.641 MB / 322.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007497/4.183, allocations: 160.1 kB / 414.4 MB, free: 6.465 MB / 322.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006617/4.184, allocations: 4.125 kB / 414.4 MB, free: 6.461 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/4.186, allocations: 35.97 kB / 414.5 MB, free: 6.426 MB / 322.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004743/4.187, allocations: 48.53 kB / 414.5 MB, free: 6.379 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/4.187, allocations: 27.92 kB / 414.5 MB, free: 6.352 MB / 322.8 MB Notification: Performance of sort global known variables: time 0.00158/4.189, allocations: 347 kB / 414.9 MB, free: 6.016 MB / 322.8 MB Notification: Performance of remove unused functions: time 0.005313/4.194, allocations: 259.5 kB / 415.1 MB, free: 5.762 MB / 322.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007446/4.195, allocations: 115.2 kB / 415.2 MB, free: 5.641 MB / 322.8 MB Notification: Performance of simCode: created initialization part: time 0.006354/4.201, allocations: 1.051 MB / 416.3 MB, free: 4.531 MB / 322.8 MB Notification: Performance of simCode: created event and clocks part: time 2.754e-05/4.201, allocations: 11.94 kB / 416.3 MB, free: 4.52 MB / 322.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0046/4.206, allocations: 0.6524 MB / 417 MB, free: 3.836 MB / 322.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/4.21, allocations: 169.8 kB / 417.1 MB, free: 3.668 MB / 322.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/4.22, allocations: 1.244 MB / 418.4 MB, free: 2.402 MB / 322.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/4.222, allocations: 1.02 MB / 419.4 MB, free: 1.355 MB / 322.8 MB Notification: Performance of SimCode: time 2.665e-06/4.222, allocations: 0 / 419.4 MB, free: 1.355 MB / 322.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat