Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.989/1.989, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2625/2.252, allocations: 51.04 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/2.376, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.389/8.765, allocations: 2.501 GB / 2.81 GB, free: 99.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/8.766, allocations: 85.14 kB / 2.81 GB, free: 99.25 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 2.156/10.92, allocations: 424.1 MB / 3.224 GB, free: 6.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/10.92, allocations: 8 kB / 3.224 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/10.93, allocations: 338.6 kB / 3.225 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/10.93, allocations: 0.5833 MB / 3.225 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/10.93, allocations: 27.94 kB / 3.225 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/10.93, allocations: 36 kB / 3.225 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001531/10.93, allocations: 0.5414 MB / 3.226 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/10.93, allocations: 0.6582 MB / 3.226 GB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/10.93, allocations: 0 / 3.226 GB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/10.93, allocations: 7.938 kB / 3.226 GB, free: 4.375 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/10.93, allocations: 21 kB / 3.226 GB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5079/11.44, allocations: 68.9 MB / 3.294 GB, free: 57.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/11.44, allocations: 320.1 kB / 3.294 GB, free: 57.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/11.44, allocations: 170.5 kB / 3.294 GB, free: 57.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05839/11.5, allocations: 17.02 MB / 3.311 GB, free: 46.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/11.5, allocations: 38.97 kB / 3.311 GB, free: 46.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 4.519e-06/11.5, allocations: 6.75 kB / 3.311 GB, free: 46.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.04914/11.55, allocations: 3.423 MB / 3.314 GB, free: 45.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/11.55, allocations: 113.9 kB / 3.314 GB, free: 45.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008706/11.55, allocations: 426.4 kB / 3.315 GB, free: 45.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/11.55, allocations: 25.7 kB / 3.315 GB, free: 45.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/11.55, allocations: 320.6 kB / 3.315 GB, free: 44.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/11.55, allocations: 179 kB / 3.315 GB, free: 44.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/11.55, allocations: 0 / 3.315 GB, free: 44.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/11.55, allocations: 370.1 kB / 3.315 GB, free: 44.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/11.55, allocations: 286.7 kB / 3.316 GB, free: 44.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/11.55, allocations: 498.9 kB / 3.316 GB, free: 44.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/11.55, allocations: 460.9 kB / 3.317 GB, free: 44.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/11.55, allocations: 3.75 kB / 3.317 GB, free: 44.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00644/11.56, allocations: 1.436 MB / 3.318 GB, free: 44.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006306/11.56, allocations: 2.613 MB / 3.321 GB, free: 41.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/11.56, allocations: 7.875 kB / 3.321 GB, free: 41.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/11.57, allocations: 0.561 MB / 3.321 GB, free: 41.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/11.57, allocations: 188.7 kB / 3.321 GB, free: 41.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00603/11.57, allocations: 1.911 MB / 3.323 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/11.58, allocations: 135.8 kB / 3.323 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/11.58, allocations: 46.56 kB / 3.323 GB, free: 40.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/11.58, allocations: 6.375 kB / 3.323 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004749/11.58, allocations: 0.9342 MB / 3.324 GB, free: 40.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/11.58, allocations: 7.375 kB / 3.324 GB, free: 40.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/11.58, allocations: 376.6 kB / 3.325 GB, free: 40.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/11.59, allocations: 192.4 kB / 3.325 GB, free: 40.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/11.59, allocations: 1.573 MB / 3.326 GB, free: 39.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/11.59, allocations: 110.9 kB / 3.327 GB, free: 39.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/11.59, allocations: 43.45 kB / 3.327 GB, free: 39.19 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: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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 (68): * Single equations (assignments): 66 * 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.000406/11.59, allocations: 133.6 kB / 3.327 GB, free: 39.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/11.59, allocations: 275.7 kB / 3.327 GB, free: 39.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006944/11.6, allocations: 2.343 MB / 3.329 GB, free: 38.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/11.6, allocations: 21.89 kB / 3.329 GB, free: 38.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/11.6, allocations: 0 / 3.329 GB, free: 38.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/11.6, allocations: 2.719 kB / 3.329 GB, free: 38.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007473/11.61, allocations: 3.313 MB / 3.333 GB, free: 38.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/11.61, allocations: 0 / 3.333 GB, free: 38.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/11.61, allocations: 104 kB / 3.333 GB, free: 38.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0041/11.61, allocations: 1.012 MB / 3.334 GB, free: 38.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/11.61, allocations: 17.67 kB / 3.334 GB, free: 38.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/11.62, allocations: 2.308 MB / 3.336 GB, free: 37.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/11.62, allocations: 4.922 kB / 3.336 GB, free: 37.31 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005463/11.62, allocations: 1.971 MB / 3.338 GB, free: 36.9 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005324/11.63, allocations: 2.413 MB / 3.34 GB, free: 36.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/11.63, allocations: 290.2 kB / 3.34 GB, free: 35.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/11.63, allocations: 7.5 kB / 3.34 GB, free: 35.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/11.63, allocations: 100 kB / 3.341 GB, free: 35.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/11.63, allocations: 61.55 kB / 3.341 GB, free: 35.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.886e-05/11.63, allocations: 26.69 kB / 3.341 GB, free: 35.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0008525/11.63, allocations: 440.3 kB / 3.341 GB, free: 35.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01412/11.65, allocations: 1.795 MB / 3.343 GB, free: 35.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01425/11.66, allocations: 1.95 MB / 3.345 GB, free: 35.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00768/11.67, allocations: 1.505 MB / 3.346 GB, free: 35.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/11.67, allocations: 0 / 3.346 GB, free: 35.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00292/11.67, allocations: 0.8172 MB / 3.347 GB, free: 35.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/11.67, allocations: 244.5 kB / 3.347 GB, free: 35.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08075/11.75, allocations: 15.45 MB / 3.362 GB, free: 34.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/11.75, allocations: 1.11 MB / 3.363 GB, free: 33.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/11.75, allocations: 4 kB / 3.363 GB, free: 33.86 MB / 442.7 MB