Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_2_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 2.081/2.081, allocations: 234.9 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1895/2.271, allocations: 57.21 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/2.569, allocations: 54.85 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.453/9.022, allocations: 2.595 GB / 2.941 GB, free: 101 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/9.022, allocations: 86.08 kB / 2.941 GB, free: 101 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 1.941/10.96, allocations: 416.2 MB / 3.347 GB, free: 41.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/10.96, allocations: 8.844 kB / 3.347 GB, free: 41.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006431/10.97, allocations: 313.4 kB / 3.348 GB, free: 41.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/10.97, allocations: 0.5352 MB / 3.348 GB, free: 41.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/10.97, allocations: 23.88 kB / 3.348 GB, free: 41.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/10.97, allocations: 30.09 kB / 3.348 GB, free: 41.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002533/10.98, allocations: 0.5176 MB / 3.349 GB, free: 41.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/10.98, allocations: 0.6333 MB / 3.349 GB, free: 40.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/10.98, allocations: 4.469 kB / 3.349 GB, free: 40.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/10.98, allocations: 2.719 kB / 3.349 GB, free: 40.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/10.98, allocations: 23.69 kB / 3.349 GB, free: 40.91 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1683/11.15, allocations: 36.81 MB / 3.385 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/11.15, allocations: 333 kB / 3.386 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/11.15, allocations: 185.5 kB / 3.386 GB, free: 5.402 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2986/11.45, allocations: 20.1 MB / 3.405 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/11.45, allocations: 41.56 kB / 3.405 GB, free: 100 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 3.988e-06/11.45, allocations: 0 / 3.405 GB, free: 100 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.0155/11.46, allocations: 2.412 MB / 3.408 GB, free: 99.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/11.46, allocations: 111.5 kB / 3.408 GB, free: 99.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/11.46, allocations: 368.1 kB / 3.408 GB, free: 99.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/11.46, allocations: 25.7 kB / 3.408 GB, free: 99.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/11.46, allocations: 287.8 kB / 3.409 GB, free: 99.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/11.46, allocations: 177.3 kB / 3.409 GB, free: 99.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/11.46, allocations: 5.062 kB / 3.409 GB, free: 99.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/11.46, allocations: 365.4 kB / 3.409 GB, free: 98.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006869/11.46, allocations: 237.3 kB / 3.409 GB, free: 98.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/11.47, allocations: 442.4 kB / 3.41 GB, free: 98.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/11.47, allocations: 355.5 kB / 3.41 GB, free: 98.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/11.47, allocations: 0 / 3.41 GB, free: 98.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.007104/11.47, allocations: 1.349 MB / 3.411 GB, free: 98.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006375/11.48, allocations: 2.351 MB / 3.414 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/11.48, allocations: 8.125 kB / 3.414 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/11.48, allocations: 420.2 kB / 3.414 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/11.48, allocations: 150.9 kB / 3.414 GB, free: 95.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/11.49, allocations: 1.631 MB / 3.416 GB, free: 94.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/11.49, allocations: 93.88 kB / 3.416 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/11.49, allocations: 39.2 kB / 3.416 GB, free: 94.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/11.49, allocations: 7.688 kB / 3.416 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008578/11.5, allocations: 0.9515 MB / 3.417 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/11.5, allocations: 3.438 kB / 3.417 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/11.5, allocations: 358.5 kB / 3.417 GB, free: 94.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/11.5, allocations: 155.2 kB / 3.417 GB, free: 94.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/11.51, allocations: 1.561 MB / 3.419 GB, free: 93.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/11.51, allocations: 83.58 kB / 3.419 GB, free: 93.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/11.51, allocations: 34.52 kB / 3.419 GB, free: 93.8 MB / 490.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.0005614/11.51, allocations: 131.9 kB / 3.419 GB, free: 93.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/11.51, allocations: 263 kB / 3.419 GB, free: 93.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008769/11.52, allocations: 2.638 MB / 3.422 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-05/11.52, allocations: 25.12 kB / 3.422 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/11.52, allocations: 0 / 3.422 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/11.52, allocations: 7.5 kB / 3.422 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/11.53, allocations: 3.751 MB / 3.426 GB, free: 93.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/11.53, allocations: 0 / 3.426 GB, free: 93.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/11.53, allocations: 90.97 kB / 3.426 GB, free: 93.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/11.53, allocations: 0.5815 MB / 3.426 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/11.53, allocations: 14.94 kB / 3.426 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/11.54, allocations: 1.786 MB / 3.428 GB, free: 91.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/11.54, allocations: 10.12 kB / 3.428 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00632/11.54, allocations: 2.278 MB / 3.43 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00675/11.55, allocations: 2.743 MB / 3.433 GB, free: 90.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/11.55, allocations: 274.2 kB / 3.433 GB, free: 90.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/11.55, allocations: 2.906 kB / 3.433 GB, free: 90.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/11.55, allocations: 77.34 kB / 3.433 GB, free: 90.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/11.55, allocations: 50.66 kB / 3.433 GB, free: 90.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/11.55, allocations: 26.97 kB / 3.433 GB, free: 90.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006074/11.55, allocations: 338 kB / 3.434 GB, free: 90.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01047/11.56, allocations: 1.631 MB / 3.435 GB, free: 90.65 MB / 490.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.0125/11.58, allocations: 1.871 MB / 3.437 GB, free: 90.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005348/11.58, allocations: 1.66 MB / 3.439 GB, free: 90.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/11.58, allocations: 3.688 kB / 3.439 GB, free: 90.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002285/11.58, allocations: 1.056 MB / 3.44 GB, free: 90.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/11.59, allocations: 232.7 kB / 3.44 GB, free: 90.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06908/11.66, allocations: 15 MB / 3.455 GB, free: 90.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009094/11.66, allocations: 1.125 MB / 3.456 GB, free: 89.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/11.66, allocations: 0 / 3.456 GB, free: 89.36 MB / 490.7 MB