Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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 2.947/2.947, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3488/3.296, allocations: 46.82 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/3.421, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5071/3.928, allocations: 77.39 MB / 371.3 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004661/3.929, allocations: 73.06 kB / 371.4 MB, free: 7.117 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.1296/4.059, allocations: 14.38 MB / 385.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/4.059, allocations: 11.69 kB / 385.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009162/4.06, allocations: 93.22 kB / 385.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/4.062, allocations: 451.3 kB / 386.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/4.063, allocations: 83.5 kB / 386.4 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/4.063, allocations: 27.09 kB / 386.4 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002333/4.065, allocations: 361.1 kB / 386.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/4.068, allocations: 0.5403 MB / 387.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.714e-05/4.068, allocations: 3.984 kB / 387.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/4.069, allocations: 0 / 387.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/4.069, allocations: 11.75 kB / 387.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009996/4.079, allocations: 1.792 MB / 389.1 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006495/4.085, allocations: 0.6339 MB / 389.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/4.086, allocations: 211.3 kB / 389.9 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/4.087, allocations: 15.84 kB / 389.9 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.453e-05/4.087, allocations: 45.12 kB / 390 MB, free: 1.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 7.544e-06/4.087, allocations: 4 kB / 390 MB, free: 1.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.006844/4.094, allocations: 0.6631 MB / 390.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004943/4.094, allocations: 0.5638 MB / 391.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/4.096, allocations: 396.1 kB / 391.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002869/4.096, allocations: 29.61 kB / 391.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/4.097, allocations: 209.8 kB / 391.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/4.097, allocations: 187.2 kB / 392 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/4.097, allocations: 0 / 392 MB, free: 15.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003184/4.097, allocations: 361.4 kB / 392.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009157/4.098, allocations: 151 kB / 392.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/4.1, allocations: 364.7 kB / 392.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/4.101, allocations: 183.9 kB / 393.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/4.101, allocations: 7.844 kB / 393.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00642/4.107, allocations: 0.7001 MB / 393.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/4.107, allocations: 5.188 kB / 393.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/4.107, allocations: 1.281 kB / 393.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/4.11, allocations: 215.6 kB / 394 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/4.113, allocations: 138.2 kB / 394.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/4.133, allocations: 4.812 MB / 398.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/4.135, allocations: 72.05 kB / 399 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/4.135, allocations: 15.47 kB / 399 MB, free: 10.82 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_b.m_flow:VARIABLE(flow=true unit = "kg/s" ) type: Real 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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real idealPump.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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: 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 (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005575/4.136, allocations: 134 kB / 399.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/4.136, allocations: 63.59 kB / 399.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006665/4.143, allocations: 0.705 MB / 399.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/4.143, allocations: 5.406 kB / 399.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/4.143, allocations: 1.344 kB / 399.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006058/4.149, allocations: 0.9465 MB / 400.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009726/4.159, allocations: 1.369 MB / 402.2 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/4.159, allocations: 192 / 402.2 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003298/4.162, allocations: 144.2 kB / 402.4 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/4.165, allocations: 157.1 kB / 402.5 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/4.165, allocations: 6.734 kB / 402.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/4.179, allocations: 3.26 MB / 405.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/4.179, allocations: 0 / 405.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007429/4.187, allocations: 0.9564 MB / 406.8 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01157/4.198, allocations: 2.02 MB / 408.8 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/4.2, allocations: 211.6 kB / 409 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/4.2, allocations: 2.281 kB / 409 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/4.202, allocations: 35.19 kB / 409 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/4.202, allocations: 31.61 kB / 409 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/4.202, allocations: 18.02 kB / 409.1 MB, free: 5.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001235/4.204, allocations: 320.5 kB / 409.4 MB, free: 5.129 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.007112/4.211, allocations: 201.5 kB / 409.6 MB, free: 5.113 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 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 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005574/4.211, allocations: 124.7 kB / 409.7 MB, free: 5.004 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004177/4.216, allocations: 0.7956 MB / 410.5 MB, free: 4.617 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/4.216, allocations: 6.156 kB / 410.5 MB, free: 4.613 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002241/4.218, allocations: 463.8 kB / 411 MB, free: 4.375 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/4.22, allocations: 141 kB / 411.1 MB, free: 4.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/4.227, allocations: 0.8985 MB / 412 MB, free: 3.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/4.23, allocations: 0.9619 MB / 412.9 MB, free: 3.066 MB / 314.7 MB Notification: Performance of SimCode: time 2.495e-06/4.23, allocations: 0 / 412.9 MB, free: 3.066 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat