Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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(ModelicaTest): time 2.51/2.51, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1538/2.664, allocations: 57.21 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/2.962, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.183/10.15, allocations: 2.595 GB / 2.941 GB, free: 100.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/10.15, allocations: 84.28 kB / 2.941 GB, free: 100.2 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 2.212/12.36, allocations: 416.2 MB / 3.347 GB, free: 41.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/12.36, allocations: 8.875 kB / 3.347 GB, free: 41.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/12.36, allocations: 321.2 kB / 3.348 GB, free: 41.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/12.36, allocations: 0.5423 MB / 3.348 GB, free: 40.65 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.15e-05/12.36, allocations: 23.97 kB / 3.348 GB, free: 40.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/12.37, allocations: 30.91 kB / 3.348 GB, free: 40.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001873/12.37, allocations: 0.5103 MB / 3.349 GB, free: 40.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/12.37, allocations: 0.6348 MB / 3.349 GB, free: 40.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/12.37, allocations: 5.125 kB / 3.349 GB, free: 40.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/12.37, allocations: 2.438 kB / 3.349 GB, free: 40.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/12.37, allocations: 20.22 kB / 3.349 GB, free: 40.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1729/12.54, allocations: 36.81 MB / 3.385 GB, free: 5.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009665/12.54, allocations: 336.1 kB / 3.386 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/12.54, allocations: 185.5 kB / 3.386 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.374/12.92, allocations: 20.1 MB / 3.406 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/12.92, allocations: 38.67 kB / 3.406 GB, free: 100.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 3.497e-06/12.92, allocations: 0 / 3.406 GB, free: 100.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.01637/12.93, allocations: 2.419 MB / 3.408 GB, free: 99.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/12.93, allocations: 108.5 kB / 3.408 GB, free: 99.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007833/12.94, allocations: 368.4 kB / 3.408 GB, free: 99.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/12.94, allocations: 25.7 kB / 3.408 GB, free: 99.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/12.94, allocations: 288 kB / 3.409 GB, free: 99.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/12.94, allocations: 174.6 kB / 3.409 GB, free: 99.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/12.94, allocations: 3.062 kB / 3.409 GB, free: 99.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/12.94, allocations: 366.4 kB / 3.409 GB, free: 98.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007412/12.94, allocations: 236.6 kB / 3.409 GB, free: 98.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/12.94, allocations: 438 kB / 3.41 GB, free: 98.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/12.94, allocations: 361.8 kB / 3.41 GB, free: 98.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/12.94, allocations: 0.6562 kB / 3.41 GB, free: 98.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.01435/12.96, allocations: 1.354 MB / 3.411 GB, free: 98.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007529/12.96, allocations: 2.346 MB / 3.414 GB, free: 96.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.26e-05/12.96, allocations: 8.125 kB / 3.414 GB, free: 96.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007012/12.96, allocations: 425 kB / 3.414 GB, free: 96.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/12.97, allocations: 154.4 kB / 3.414 GB, free: 96.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006447/12.97, allocations: 1.628 MB / 3.416 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/12.98, allocations: 98.55 kB / 3.416 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/12.98, allocations: 41.12 kB / 3.416 GB, free: 95.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/12.98, allocations: 3.75 kB / 3.416 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01029/12.99, allocations: 0.9493 MB / 3.417 GB, free: 94.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/12.99, allocations: 9.594 kB / 3.417 GB, free: 94.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005014/12.99, allocations: 353.2 kB / 3.417 GB, free: 94.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/12.99, allocations: 149.2 kB / 3.417 GB, free: 94.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/13, allocations: 1.555 MB / 3.419 GB, free: 93.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/13, allocations: 83.36 kB / 3.419 GB, free: 93.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/13, allocations: 38.11 kB / 3.419 GB, free: 93.92 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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 {2 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005968/13, allocations: 131 kB / 3.419 GB, free: 93.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002448/13, allocations: 269.1 kB / 3.419 GB, free: 93.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/13.02, allocations: 2.633 MB / 3.422 GB, free: 93.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-05/13.02, allocations: 27.73 kB / 3.422 GB, free: 93.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/13.02, allocations: 5.109 kB / 3.422 GB, free: 93.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/13.02, allocations: 0 / 3.422 GB, free: 93.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/13.03, allocations: 3.755 MB / 3.426 GB, free: 93.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/13.03, allocations: 0 / 3.426 GB, free: 93.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/13.03, allocations: 89.98 kB / 3.426 GB, free: 93.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00588/13.04, allocations: 0.5795 MB / 3.426 GB, free: 93.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/13.04, allocations: 10.28 kB / 3.426 GB, free: 93.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/13.04, allocations: 1.79 MB / 3.428 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/13.04, allocations: 11.09 kB / 3.428 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01147/13.05, allocations: 2.28 MB / 3.43 GB, free: 91.74 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01178/13.07, allocations: 2.742 MB / 3.433 GB, free: 91.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/13.07, allocations: 263.5 kB / 3.433 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/13.07, allocations: 3.562 kB / 3.433 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/13.07, allocations: 76.64 kB / 3.433 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/13.07, allocations: 49.27 kB / 3.433 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/13.07, allocations: 36.69 kB / 3.434 GB, free: 90.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001006/13.07, allocations: 330.5 kB / 3.434 GB, free: 90.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01594/13.09, allocations: 1.632 MB / 3.435 GB, free: 90.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 8,2 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/13.1, allocations: 1.88 MB / 3.437 GB, free: 90.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007058/13.11, allocations: 1.666 MB / 3.439 GB, free: 90.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/13.11, allocations: 3.062 kB / 3.439 GB, free: 90.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0035/13.11, allocations: 1.051 MB / 3.44 GB, free: 90.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/13.12, allocations: 240.9 kB / 3.44 GB, free: 90.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1135/13.23, allocations: 15.01 MB / 3.455 GB, free: 90.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/13.23, allocations: 1.118 MB / 3.456 GB, free: 89.48 MB / 490.7 MB Notification: Performance of SimCode: time 2.204e-06/13.23, allocations: 0 / 3.456 GB, free: 89.48 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat