Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.462/2.462, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1919/2.654, allocations: 57.2 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/3.029, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.463/10.49, allocations: 2.612 GB / 2.958 GB, free: 79.97 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/10.49, allocations: 86.77 kB / 2.958 GB, free: 79.92 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 2.405/12.9, allocations: 435.4 MB / 3.383 GB, free: 7.426 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/12.9, allocations: 8 kB / 3.383 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004941/12.9, allocations: 350.7 kB / 3.383 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/12.91, allocations: 0.5871 MB / 3.384 GB, free: 6.457 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/12.91, allocations: 23.94 kB / 3.384 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/12.91, allocations: 32 kB / 3.384 GB, free: 6.402 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001858/12.91, allocations: 0.5415 MB / 3.384 GB, free: 5.859 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/12.91, allocations: 0.6541 MB / 3.385 GB, free: 5.148 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/12.91, allocations: 3.906 kB / 3.385 GB, free: 5.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/12.91, allocations: 4 kB / 3.385 GB, free: 5.141 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/12.91, allocations: 25.25 kB / 3.385 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02114/12.93, allocations: 7.296 MB / 3.392 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/12.93, allocations: 306.1 kB / 3.393 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/12.93, allocations: 209.5 kB / 3.393 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6011/13.53, allocations: 78.21 MB / 3.469 GB, free: 51.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/13.53, allocations: 44.22 kB / 3.469 GB, free: 51.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 2.795e-06/13.53, allocations: 0 / 3.469 GB, free: 51.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=50): time 0.01149/13.55, allocations: 1.796 MB / 3.471 GB, free: 50.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/13.55, allocations: 110.8 kB / 3.471 GB, free: 50.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008315/13.55, allocations: 393 kB / 3.471 GB, free: 50.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/13.55, allocations: 29.67 kB / 3.471 GB, free: 50.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/13.55, allocations: 280.2 kB / 3.472 GB, free: 50.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/13.55, allocations: 173.6 kB / 3.472 GB, free: 50.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/13.55, allocations: 0 / 3.472 GB, free: 50.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/13.55, allocations: 364.8 kB / 3.472 GB, free: 50.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/13.55, allocations: 206.6 kB / 3.472 GB, free: 50.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/13.55, allocations: 398 kB / 3.473 GB, free: 49.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/13.55, allocations: 349.9 kB / 3.473 GB, free: 49.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/13.55, allocations: 0 / 3.473 GB, free: 49.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006616/13.56, allocations: 1.159 MB / 3.474 GB, free: 49.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005929/13.56, allocations: 2.35 MB / 3.477 GB, free: 47.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/13.56, allocations: 7.188 kB / 3.477 GB, free: 47.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/13.56, allocations: 311 kB / 3.477 GB, free: 47.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/13.56, allocations: 148.9 kB / 3.477 GB, free: 47.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/13.57, allocations: 1.035 MB / 3.478 GB, free: 46.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/13.57, allocations: 85.23 kB / 3.478 GB, free: 46.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/13.57, allocations: 33.84 kB / 3.478 GB, free: 46.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/13.57, allocations: 3.375 kB / 3.478 GB, free: 46.76 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004515/13.57, allocations: 0.7726 MB / 3.479 GB, free: 46.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/13.57, allocations: 4.625 kB / 3.479 GB, free: 46.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/13.57, allocations: 268.5 kB / 3.479 GB, free: 46.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/13.58, allocations: 152.1 kB / 3.479 GB, free: 46.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/13.58, allocations: 0.9005 MB / 3.48 GB, free: 46.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/13.58, allocations: 79.66 kB / 3.48 GB, free: 46.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/13.58, allocations: 32.55 kB / 3.48 GB, free: 46.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (60): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003457/13.58, allocations: 130 kB / 3.48 GB, free: 46.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/13.58, allocations: 273.9 kB / 3.481 GB, free: 46.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005773/13.59, allocations: 2.255 MB / 3.483 GB, free: 45.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.919e-05/13.59, allocations: 25.39 kB / 3.483 GB, free: 45.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/13.59, allocations: 0 / 3.483 GB, free: 45.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/13.59, allocations: 7.281 kB / 3.483 GB, free: 45.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00689/13.59, allocations: 3.017 MB / 3.486 GB, free: 45.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/13.59, allocations: 0 / 3.486 GB, free: 45.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/13.6, allocations: 136 kB / 3.486 GB, free: 45.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/13.6, allocations: 93.31 kB / 3.486 GB, free: 45.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/13.6, allocations: 16.52 kB / 3.486 GB, free: 45.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/13.6, allocations: 1.168 MB / 3.487 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/13.6, allocations: 0 / 3.487 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00613/13.6, allocations: 2.326 MB / 3.489 GB, free: 44.02 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007506/13.61, allocations: 3.245 MB / 3.493 GB, free: 43.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007504/13.61, allocations: 272.4 kB / 3.493 GB, free: 43.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/13.61, allocations: 4.562 kB / 3.493 GB, free: 43.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/13.61, allocations: 64.09 kB / 3.493 GB, free: 43.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/13.61, allocations: 59.27 kB / 3.493 GB, free: 43.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/13.61, allocations: 21.72 kB / 3.493 GB, free: 43.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008017/13.61, allocations: 372.8 kB / 3.493 GB, free: 43.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01163/13.63, allocations: 1.657 MB / 3.495 GB, free: 43.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 15 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01365/13.64, allocations: 1.893 MB / 3.497 GB, free: 42.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004219/13.64, allocations: 1.407 MB / 3.498 GB, free: 42.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/13.64, allocations: 0 / 3.498 GB, free: 42.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/13.65, allocations: 0.8971 MB / 3.499 GB, free: 42.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/13.65, allocations: 240.7 kB / 3.499 GB, free: 42.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07766/13.73, allocations: 16.13 MB / 3.515 GB, free: 41.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/13.73, allocations: 1.134 MB / 3.516 GB, free: 41 MB / 490.7 MB Notification: Performance of SimCode: time 3.287e-06/13.73, allocations: 0 / 3.516 GB, free: 41 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat