Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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 1.864/1.864, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2448/2.109, allocations: 51.05 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/2.222, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.933/8.155, allocations: 2.501 GB / 2.81 GB, free: 98.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/8.155, allocations: 89.53 kB / 2.81 GB, free: 98.96 MB / 426.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 1.905/10.06, allocations: 423.9 MB / 3.224 GB, free: 6.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/10.06, allocations: 8 kB / 3.224 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/10.07, allocations: 330.8 kB / 3.224 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/10.07, allocations: 0.5865 MB / 3.225 GB, free: 5.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/10.07, allocations: 27.91 kB / 3.225 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/10.07, allocations: 35.94 kB / 3.225 GB, free: 5.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002083/10.07, allocations: 0.5336 MB / 3.226 GB, free: 5.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/10.07, allocations: 0.6465 MB / 3.226 GB, free: 4.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/10.07, allocations: 3.984 kB / 3.226 GB, free: 4.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.683e-05/10.07, allocations: 7.938 kB / 3.226 GB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/10.07, allocations: 28.98 kB / 3.226 GB, free: 4.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3705/10.44, allocations: 36.9 MB / 3.262 GB, free: 74.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/10.44, allocations: 299.7 kB / 3.263 GB, free: 74.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/10.44, allocations: 189.1 kB / 3.263 GB, free: 74.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06675/10.51, allocations: 20.04 MB / 3.282 GB, free: 61.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/10.51, allocations: 43.64 kB / 3.282 GB, free: 61.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 5.922e-06/10.51, allocations: 0 / 3.282 GB, free: 61.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.04777/10.56, allocations: 3.318 MB / 3.286 GB, free: 60.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/10.56, allocations: 111.2 kB / 3.286 GB, free: 60.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/10.56, allocations: 407.1 kB / 3.286 GB, free: 60.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/10.56, allocations: 25.7 kB / 3.286 GB, free: 60.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/10.56, allocations: 307.3 kB / 3.286 GB, free: 60.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/10.56, allocations: 180.1 kB / 3.287 GB, free: 60.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/10.56, allocations: 0 / 3.287 GB, free: 60.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/10.56, allocations: 369.3 kB / 3.287 GB, free: 60.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007997/10.56, allocations: 298.5 kB / 3.287 GB, free: 60.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/10.56, allocations: 499.1 kB / 3.288 GB, free: 59.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/10.56, allocations: 445.3 kB / 3.288 GB, free: 59.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/10.56, allocations: 6.156 kB / 3.288 GB, free: 59.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.005923/10.57, allocations: 1.382 MB / 3.289 GB, free: 59.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005849/10.57, allocations: 2.431 MB / 3.292 GB, free: 57.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/10.57, allocations: 7.875 kB / 3.292 GB, free: 57.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/10.57, allocations: 0.5757 MB / 3.292 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/10.58, allocations: 169.5 kB / 3.293 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004791/10.58, allocations: 1.846 MB / 3.294 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/10.58, allocations: 103.5 kB / 3.294 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/10.58, allocations: 49.62 kB / 3.295 GB, free: 56.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/10.58, allocations: 7.188 kB / 3.295 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005836/10.59, allocations: 1.007 MB / 3.295 GB, free: 56.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/10.59, allocations: 10.84 kB / 3.296 GB, free: 56.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/10.59, allocations: 366.7 kB / 3.296 GB, free: 56.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/10.59, allocations: 169.8 kB / 3.296 GB, free: 56.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/10.6, allocations: 1.566 MB / 3.298 GB, free: 54.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/10.6, allocations: 94.34 kB / 3.298 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/10.6, allocations: 40.12 kB / 3.298 GB, free: 54.98 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" 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: 28 * 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 (65): * Single equations (assignments): 63 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004392/10.6, allocations: 131.2 kB / 3.298 GB, free: 54.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/10.6, allocations: 274.1 kB / 3.298 GB, free: 54.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00659/10.61, allocations: 3.028 MB / 3.301 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/10.61, allocations: 28.66 kB / 3.301 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/10.61, allocations: 0 / 3.301 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/10.61, allocations: 2.438 kB / 3.301 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007882/10.61, allocations: 4.091 MB / 3.305 GB, free: 54.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/10.61, allocations: 3.781 kB / 3.305 GB, free: 54.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/10.61, allocations: 88.2 kB / 3.305 GB, free: 54.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004009/10.62, allocations: 1.045 MB / 3.306 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/10.62, allocations: 21.22 kB / 3.306 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004024/10.62, allocations: 2.258 MB / 3.308 GB, free: 53.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/10.62, allocations: 3.625 kB / 3.308 GB, free: 53.04 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005693/10.63, allocations: 2.498 MB / 3.311 GB, free: 52.68 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00607/10.63, allocations: 2.957 MB / 3.314 GB, free: 51.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/10.64, allocations: 282.1 kB / 3.314 GB, free: 51.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/10.64, allocations: 7.344 kB / 3.314 GB, free: 51.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/10.64, allocations: 78.69 kB / 3.314 GB, free: 51.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/10.64, allocations: 54.89 kB / 3.314 GB, free: 51.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/10.64, allocations: 31.7 kB / 3.314 GB, free: 51.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0006431/10.64, allocations: 363.4 kB / 3.314 GB, free: 51.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009836/10.65, allocations: 1.792 MB / 3.316 GB, free: 51.7 MB / 442.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 (40): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01214/10.66, allocations: 1.968 MB / 3.318 GB, free: 51.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005445/10.67, allocations: 1.841 MB / 3.32 GB, free: 51.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/10.67, allocations: 0 / 3.32 GB, free: 51.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/10.67, allocations: 1.172 MB / 3.321 GB, free: 51.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/10.67, allocations: 248.9 kB / 3.321 GB, free: 51.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06434/10.73, allocations: 14.74 MB / 3.336 GB, free: 50.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009622/10.74, allocations: 1.146 MB / 3.337 GB, free: 49.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/10.74, allocations: 2.438 kB / 3.337 GB, free: 49.73 MB / 442.7 MB