Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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.772/1.772, allocations: 209.3 MB / 216.3 MB, free: 6.863 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.258/2.03, allocations: 51.04 MB / 267.3 MB, free: 5.219 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/2.147, allocations: 48.69 MB / 316 MB, free: 4.438 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.129/8.276, allocations: 2.507 GB / 2.815 GB, free: 96.5 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/8.276, allocations: 85.8 kB / 2.815 GB, free: 96.48 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 2.09/10.37, allocations: 424.9 MB / 3.23 GB, free: 0.793 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.116e-05/10.37, allocations: 8 kB / 3.23 GB, free: 0.7852 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007251/10.37, allocations: 362.6 kB / 3.23 GB, free: 440 kB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/10.38, allocations: 0.5829 MB / 3.231 GB, free: 15.81 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/10.38, allocations: 24 kB / 3.231 GB, free: 15.79 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/10.38, allocations: 32 kB / 3.231 GB, free: 15.76 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001896/10.38, allocations: 0.5454 MB / 3.232 GB, free: 15.21 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/10.38, allocations: 0.6705 MB / 3.232 GB, free: 14.48 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/10.38, allocations: 3.938 kB / 3.232 GB, free: 14.47 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/10.38, allocations: 7.984 kB / 3.232 GB, free: 14.46 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/10.38, allocations: 29.25 kB / 3.232 GB, free: 14.43 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3655/10.75, allocations: 37.01 MB / 3.268 GB, free: 68.7 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/10.75, allocations: 309.7 kB / 3.269 GB, free: 68.68 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/10.75, allocations: 210.2 kB / 3.269 GB, free: 68.67 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07443/10.82, allocations: 20.31 MB / 3.289 GB, free: 55.77 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/10.82, allocations: 39.84 kB / 3.289 GB, free: 55.73 MB / 442.8 MB Notification: Performance of pre-optimization done (n=42): time 4.389e-06/10.82, allocations: 0 / 3.289 GB, free: 55.73 MB / 442.8 MB Notification: Performance of matching and sorting (n=58): time 0.05407/10.88, allocations: 3.351 MB / 3.292 GB, free: 55.04 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/10.88, allocations: 111 kB / 3.292 GB, free: 54.92 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/10.88, allocations: 406.5 kB / 3.293 GB, free: 54.8 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/10.88, allocations: 29.67 kB / 3.293 GB, free: 54.77 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/10.88, allocations: 299.2 kB / 3.293 GB, free: 54.6 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/10.88, allocations: 190.5 kB / 3.293 GB, free: 54.5 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/10.88, allocations: 0 / 3.293 GB, free: 54.5 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001328/10.88, allocations: 374.7 kB / 3.293 GB, free: 54.19 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008263/10.88, allocations: 301.5 kB / 3.294 GB, free: 54.18 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/10.88, allocations: 0.4996 MB / 3.294 GB, free: 53.94 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/10.88, allocations: 462.5 kB / 3.295 GB, free: 53.93 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/10.88, allocations: 3.594 kB / 3.295 GB, free: 53.93 MB / 442.8 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006326/10.89, allocations: 1.403 MB / 3.296 GB, free: 53.83 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005823/10.89, allocations: 2.436 MB / 3.298 GB, free: 51.27 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/10.89, allocations: 10.22 kB / 3.298 GB, free: 51.27 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00449/10.89, allocations: 0.5739 MB / 3.299 GB, free: 51.24 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/10.9, allocations: 175.8 kB / 3.299 GB, free: 51.23 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/10.9, allocations: 1.839 MB / 3.301 GB, free: 50.18 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/10.9, allocations: 111.1 kB / 3.301 GB, free: 50.17 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/10.9, allocations: 47.95 kB / 3.301 GB, free: 50.17 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/10.9, allocations: 5.375 kB / 3.301 GB, free: 50.17 MB / 442.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006118/10.91, allocations: 1.041 MB / 3.302 GB, free: 50.12 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/10.91, allocations: 6.562 kB / 3.302 GB, free: 50.12 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/10.91, allocations: 368.6 kB / 3.303 GB, free: 50.09 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/10.91, allocations: 179.3 kB / 3.303 GB, free: 50.09 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/10.92, allocations: 1.558 MB / 3.304 GB, free: 49.03 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/10.92, allocations: 92.77 kB / 3.304 GB, free: 49.02 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/10.92, allocations: 44.75 kB / 3.304 GB, free: 49.02 MB / 442.8 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 (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.0004269/10.92, allocations: 134.2 kB / 3.304 GB, free: 48.91 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/10.92, allocations: 274.3 kB / 3.305 GB, free: 48.88 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/10.93, allocations: 3.108 MB / 3.308 GB, free: 48.62 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.173e-05/10.93, allocations: 25.2 kB / 3.308 GB, free: 48.62 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/10.93, allocations: 0 / 3.308 GB, free: 48.62 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/10.93, allocations: 9.531 kB / 3.308 GB, free: 48.62 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/10.94, allocations: 4.141 MB / 3.312 GB, free: 48.21 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/10.94, allocations: 7.188 kB / 3.312 GB, free: 48.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/10.94, allocations: 93.53 kB / 3.312 GB, free: 48.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004131/10.95, allocations: 1.057 MB / 3.313 GB, free: 48.13 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/10.95, allocations: 21.91 kB / 3.313 GB, free: 48.13 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004088/10.95, allocations: 2.256 MB / 3.315 GB, free: 47.05 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/10.95, allocations: 5.281 kB / 3.315 GB, free: 47.05 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006043/10.96, allocations: 2.537 MB / 3.318 GB, free: 46.67 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006288/10.96, allocations: 2.998 MB / 3.321 GB, free: 45.91 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/10.96, allocations: 289.1 kB / 3.321 GB, free: 45.77 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/10.96, allocations: 6.906 kB / 3.321 GB, free: 45.77 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/10.97, allocations: 85.2 kB / 3.321 GB, free: 45.76 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/10.97, allocations: 57.89 kB / 3.321 GB, free: 45.76 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/10.97, allocations: 34.66 kB / 3.321 GB, free: 45.76 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.0006989/10.97, allocations: 370 kB / 3.321 GB, free: 45.67 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01055/10.98, allocations: 1.801 MB / 3.323 GB, free: 45.66 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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.01361/10.99, allocations: 1.98 MB / 3.325 GB, free: 45.45 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006815/11, allocations: 1.871 MB / 3.327 GB, free: 45.41 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/11, allocations: 0.5625 kB / 3.327 GB, free: 45.41 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003386/11, allocations: 1.189 MB / 3.328 GB, free: 45.4 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004569/11.01, allocations: 248 kB / 3.328 GB, free: 45.39 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09396/11.1, allocations: 14.77 MB / 3.343 GB, free: 44.41 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/11.1, allocations: 1.157 MB / 3.344 GB, free: 43.68 MB / 442.8 MB Notification: Performance of SimCode: time 2.365e-06/11.1, allocations: 0 / 3.344 GB, free: 43.68 MB / 442.8 MB