Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.873/1.873, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.255/2.129, allocations: 51.04 MB / 267.3 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/2.243, allocations: 48.69 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/8.198, allocations: 2.485 GB / 2.793 GB, free: 103.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/8.199, allocations: 86.38 kB / 2.793 GB, free: 103.4 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 1.962/10.16, allocations: 405.8 MB / 3.19 GB, free: 37.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/10.16, allocations: 12.72 kB / 3.19 GB, free: 37.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/10.17, allocations: 303.9 kB / 3.19 GB, free: 37.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/10.17, allocations: 0.5445 MB / 3.19 GB, free: 37.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/10.17, allocations: 28.06 kB / 3.19 GB, free: 37.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/10.17, allocations: 30.16 kB / 3.19 GB, free: 37.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003216/10.17, allocations: 0.5136 MB / 3.191 GB, free: 37.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/10.18, allocations: 0.6305 MB / 3.192 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/10.18, allocations: 3.938 kB / 3.192 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/10.18, allocations: 9.844 kB / 3.192 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.953e-05/10.18, allocations: 20.69 kB / 3.192 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1819/10.36, allocations: 36.78 MB / 3.228 GB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008824/10.36, allocations: 342.2 kB / 3.228 GB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/10.36, allocations: 189.5 kB / 3.228 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2792/10.64, allocations: 20.04 MB / 3.248 GB, free: 91.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/10.64, allocations: 39.83 kB / 3.248 GB, free: 91.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.166e-06/10.64, allocations: 0 / 3.248 GB, free: 91.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.01822/10.66, allocations: 2.41 MB / 3.25 GB, free: 90.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/10.66, allocations: 110.4 kB / 3.25 GB, free: 90.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/10.66, allocations: 372.6 kB / 3.25 GB, free: 90.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002184/10.66, allocations: 25.7 kB / 3.25 GB, free: 90.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/10.66, allocations: 286.1 kB / 3.251 GB, free: 90.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/10.66, allocations: 180.6 kB / 3.251 GB, free: 90.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/10.66, allocations: 2.516 kB / 3.251 GB, free: 90.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/10.66, allocations: 362.7 kB / 3.251 GB, free: 90.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/10.66, allocations: 234.5 kB / 3.251 GB, free: 90.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/10.66, allocations: 449.2 kB / 3.252 GB, free: 89.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/10.67, allocations: 356 kB / 3.252 GB, free: 89.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/10.67, allocations: 0 / 3.252 GB, free: 89.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.007251/10.67, allocations: 1.347 MB / 3.254 GB, free: 89.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000588/10.67, allocations: 2.344 MB / 3.256 GB, free: 87.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/10.67, allocations: 6.812 kB / 3.256 GB, free: 87.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003879/10.68, allocations: 426.6 kB / 3.256 GB, free: 87.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/10.68, allocations: 151.9 kB / 3.256 GB, free: 87.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/10.68, allocations: 1.642 MB / 3.258 GB, free: 86.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/10.68, allocations: 94.8 kB / 3.258 GB, free: 86.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/10.68, allocations: 42.05 kB / 3.258 GB, free: 86.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/10.68, allocations: 3.906 kB / 3.258 GB, free: 86.24 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005794/10.69, allocations: 0.9507 MB / 3.259 GB, free: 86.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/10.69, allocations: 7.562 kB / 3.259 GB, free: 86.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/10.69, allocations: 352.2 kB / 3.259 GB, free: 86.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/10.69, allocations: 159 kB / 3.26 GB, free: 86.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/10.7, allocations: 1.548 MB / 3.261 GB, free: 85.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/10.7, allocations: 89.7 kB / 3.261 GB, free: 85.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/10.7, allocations: 33.8 kB / 3.261 GB, free: 85.14 MB / 442.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.0004901/10.7, allocations: 125.2 kB / 3.261 GB, free: 85.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/10.7, allocations: 271 kB / 3.262 GB, free: 85.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/10.71, allocations: 2.645 MB / 3.264 GB, free: 84.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/10.71, allocations: 27.33 kB / 3.264 GB, free: 84.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/10.71, allocations: 10.14 kB / 3.264 GB, free: 84.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/10.71, allocations: 3.938 kB / 3.264 GB, free: 84.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008691/10.71, allocations: 3.735 MB / 3.268 GB, free: 84.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/10.72, allocations: 3.75 kB / 3.268 GB, free: 84.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/10.72, allocations: 85.25 kB / 3.268 GB, free: 84.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/10.72, allocations: 0.5827 MB / 3.269 GB, free: 84.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/10.72, allocations: 13.48 kB / 3.269 GB, free: 84.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/10.72, allocations: 1.791 MB / 3.27 GB, free: 83.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/10.72, allocations: 3.844 kB / 3.27 GB, free: 83.32 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007593/10.73, allocations: 2.29 MB / 3.273 GB, free: 82.97 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007296/10.74, allocations: 2.74 MB / 3.275 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007484/10.74, allocations: 266.7 kB / 3.275 GB, free: 82.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/10.74, allocations: 0 / 3.275 GB, free: 82.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/10.74, allocations: 71.53 kB / 3.276 GB, free: 82.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/10.74, allocations: 59.06 kB / 3.276 GB, free: 82.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.938e-05/10.74, allocations: 31.33 kB / 3.276 GB, free: 82.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0006219/10.74, allocations: 333.1 kB / 3.276 GB, free: 82.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01053/10.75, allocations: 1.617 MB / 3.277 GB, free: 82.01 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 (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.01624/10.77, allocations: 1.87 MB / 3.279 GB, free: 81.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007803/10.77, allocations: 1.659 MB / 3.281 GB, free: 81.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/10.78, allocations: 1.719 kB / 3.281 GB, free: 81.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00368/10.78, allocations: 1.053 MB / 3.282 GB, free: 81.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/10.78, allocations: 245.4 kB / 3.282 GB, free: 81.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06734/10.85, allocations: 14.6 MB / 3.296 GB, free: 81.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/10.85, allocations: 1.124 MB / 3.298 GB, free: 80.68 MB / 442.7 MB Notification: Performance of SimCode: time 2.144e-06/10.85, allocations: 2.719 kB / 3.298 GB, free: 80.68 MB / 442.7 MB