Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",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(ModelicaTest): time 2.104/2.104, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1649/2.269, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/2.554, allocations: 54.83 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.48/9.034, allocations: 2.612 GB / 2.958 GB, free: 79.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004911/9.035, allocations: 86.7 kB / 2.958 GB, free: 79.29 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.083/11.12, allocations: 435.1 MB / 3.383 GB, free: 3.324 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/11.12, allocations: 8 kB / 3.383 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/11.12, allocations: 350.7 kB / 3.383 GB, free: 2.973 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/11.12, allocations: 0.5949 MB / 3.383 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/11.12, allocations: 24 kB / 3.383 GB, free: 2.324 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/11.12, allocations: 32 kB / 3.383 GB, free: 2.293 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001634/11.13, allocations: 0.5336 MB / 3.384 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/11.13, allocations: 0.6556 MB / 3.385 GB, free: 1.039 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/11.13, allocations: 7.938 kB / 3.385 GB, free: 1.031 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/11.13, allocations: 0 / 3.385 GB, free: 1.031 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/11.13, allocations: 24.91 kB / 3.385 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/11.14, allocations: 5.972 MB / 3.391 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009766/11.14, allocations: 313 kB / 3.391 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/11.14, allocations: 222.5 kB / 3.391 GB, free: 9.965 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5469/11.69, allocations: 82.02 MB / 3.471 GB, free: 47.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/11.69, allocations: 39.06 kB / 3.471 GB, free: 47.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.747e-06/11.69, allocations: 0 / 3.471 GB, free: 47.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.009814/11.7, allocations: 1.809 MB / 3.473 GB, free: 47.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/11.7, allocations: 112.8 kB / 3.473 GB, free: 47.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/11.7, allocations: 386.8 kB / 3.473 GB, free: 47.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/11.7, allocations: 29.52 kB / 3.473 GB, free: 46.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/11.7, allocations: 275.2 kB / 3.474 GB, free: 46.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/11.7, allocations: 174.1 kB / 3.474 GB, free: 46.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/11.7, allocations: 0 / 3.474 GB, free: 46.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/11.7, allocations: 370.1 kB / 3.474 GB, free: 46.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/11.7, allocations: 218.1 kB / 3.474 GB, free: 46.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/11.7, allocations: 395 kB / 3.475 GB, free: 46.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/11.71, allocations: 356.3 kB / 3.475 GB, free: 46.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/11.71, allocations: 0 / 3.475 GB, free: 46.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.005436/11.71, allocations: 1.13 MB / 3.476 GB, free: 46.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000647/11.71, allocations: 2.178 MB / 3.478 GB, free: 43.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/11.71, allocations: 3.781 kB / 3.478 GB, free: 43.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/11.71, allocations: 293.6 kB / 3.479 GB, free: 43.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/11.71, allocations: 148.2 kB / 3.479 GB, free: 43.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/11.72, allocations: 1.022 MB / 3.48 GB, free: 43.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/11.72, allocations: 89.7 kB / 3.48 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/11.72, allocations: 41.88 kB / 3.48 GB, free: 43.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/11.72, allocations: 3.906 kB / 3.48 GB, free: 43.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003486/11.72, allocations: 0.7491 MB / 3.481 GB, free: 43.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/11.72, allocations: 3.75 kB / 3.481 GB, free: 43.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/11.72, allocations: 273.4 kB / 3.481 GB, free: 43.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/11.73, allocations: 154.2 kB / 3.481 GB, free: 43.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/11.73, allocations: 0.9075 MB / 3.482 GB, free: 42.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/11.73, allocations: 86.61 kB / 3.482 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/11.73, allocations: 38.2 kB / 3.482 GB, free: 42.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003198/11.73, allocations: 129.7 kB / 3.482 GB, free: 42.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/11.73, allocations: 274.7 kB / 3.482 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/11.74, allocations: 2.578 MB / 3.485 GB, free: 42.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/11.74, allocations: 36.02 kB / 3.485 GB, free: 42.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/11.74, allocations: 4 kB / 3.485 GB, free: 42.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/11.74, allocations: 3.141 kB / 3.485 GB, free: 42.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/11.74, allocations: 3.418 MB / 3.488 GB, free: 41.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/11.74, allocations: 0.5625 kB / 3.488 GB, free: 41.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/11.74, allocations: 157.9 kB / 3.488 GB, free: 41.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/11.74, allocations: 67.05 kB / 3.489 GB, free: 41.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/11.74, allocations: 13.28 kB / 3.489 GB, free: 41.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008742/11.75, allocations: 1.214 MB / 3.49 GB, free: 40.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/11.75, allocations: 0 / 3.49 GB, free: 40.79 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005789/11.75, allocations: 2.681 MB / 3.492 GB, free: 40.48 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007154/11.76, allocations: 3.733 MB / 3.496 GB, free: 39.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006712/11.76, allocations: 258.6 kB / 3.496 GB, free: 39.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/11.76, allocations: 0 / 3.496 GB, free: 39.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/11.76, allocations: 65.78 kB / 3.496 GB, free: 39.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/11.76, allocations: 58.78 kB / 3.496 GB, free: 39.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/11.76, allocations: 24.58 kB / 3.496 GB, free: 39.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006027/11.76, allocations: 328.9 kB / 3.497 GB, free: 39.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0098/11.77, allocations: 1.651 MB / 3.498 GB, free: 39.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01188/11.78, allocations: 1.891 MB / 3.5 GB, free: 39.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003994/11.79, allocations: 1.565 MB / 3.502 GB, free: 39.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/11.79, allocations: 0 / 3.502 GB, free: 39.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/11.79, allocations: 1.106 MB / 3.503 GB, free: 39.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/11.79, allocations: 268.5 kB / 3.503 GB, free: 39.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06565/11.86, allocations: 15.19 MB / 3.518 GB, free: 38.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/11.86, allocations: 1.166 MB / 3.519 GB, free: 37.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.462e-06/11.86, allocations: 0 / 3.519 GB, free: 37.54 MB / 490.7 MB