Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.893/1.893, allocations: 209.3 MB / 216.3 MB, free: 5.426 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1415/2.034, allocations: 51.04 MB / 267.3 MB, free: 2.297 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/2.267, allocations: 48.68 MB / 316 MB, free: 4.977 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.916/8.183, allocations: 2.501 GB / 2.81 GB, free: 77.55 MB / 434.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004474/8.184, allocations: 81.38 kB / 2.81 GB, free: 77.51 MB / 434.8 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.303/10.49, allocations: 424.6 MB / 3.225 GB, free: 36.73 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/10.49, allocations: 7.531 kB / 3.225 GB, free: 36.73 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/10.49, allocations: 336.5 kB / 3.225 GB, free: 36.7 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/10.49, allocations: 0.5834 MB / 3.226 GB, free: 36.46 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/10.49, allocations: 28.19 kB / 3.226 GB, free: 36.46 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/10.49, allocations: 35 kB / 3.226 GB, free: 36.46 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/10.49, allocations: 0.5427 MB / 3.226 GB, free: 36.45 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/10.5, allocations: 0.6603 MB / 3.227 GB, free: 36.25 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/10.5, allocations: 6.594 kB / 3.227 GB, free: 36.25 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/10.5, allocations: 0 / 3.227 GB, free: 36.25 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/10.5, allocations: 20.69 kB / 3.227 GB, free: 36.25 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/10.51, allocations: 5.975 MB / 3.233 GB, free: 32.08 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/10.51, allocations: 329.8 kB / 3.233 GB, free: 32.06 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/10.51, allocations: 218.8 kB / 3.233 GB, free: 32.05 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3782/10.89, allocations: 81.98 MB / 3.313 GB, free: 32.34 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/10.89, allocations: 41.91 kB / 3.313 GB, free: 32.3 MB / 482.8 MB Notification: Performance of pre-optimization done (n=47): time 3.626e-06/10.89, allocations: 0 / 3.313 GB, free: 32.3 MB / 482.8 MB Notification: Performance of matching and sorting (n=51): time 0.01612/10.91, allocations: 1.832 MB / 3.315 GB, free: 31.89 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/10.91, allocations: 109.5 kB / 3.315 GB, free: 31.77 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/10.91, allocations: 384.5 kB / 3.316 GB, free: 31.64 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/10.91, allocations: 25.7 kB / 3.316 GB, free: 31.61 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/10.91, allocations: 279.1 kB / 3.316 GB, free: 31.43 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/10.91, allocations: 170.7 kB / 3.316 GB, free: 31.32 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/10.91, allocations: 0 / 3.316 GB, free: 31.32 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001741/10.91, allocations: 370.1 kB / 3.316 GB, free: 31 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/10.91, allocations: 217.9 kB / 3.317 GB, free: 30.99 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/10.91, allocations: 404.3 kB / 3.317 GB, free: 30.77 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/10.91, allocations: 360.8 kB / 3.317 GB, free: 30.76 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/10.91, allocations: 0 / 3.317 GB, free: 30.76 MB / 482.8 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004975/10.92, allocations: 1.118 MB / 3.318 GB, free: 30.68 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008602/10.92, allocations: 2.175 MB / 3.32 GB, free: 28.4 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/10.92, allocations: 7.75 kB / 3.32 GB, free: 28.39 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/10.92, allocations: 311.8 kB / 3.321 GB, free: 28.38 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/10.92, allocations: 152.8 kB / 3.321 GB, free: 28.37 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/10.92, allocations: 1.007 MB / 3.322 GB, free: 27.84 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/10.92, allocations: 91.14 kB / 3.322 GB, free: 27.82 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/10.92, allocations: 36.5 kB / 3.322 GB, free: 27.82 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/10.92, allocations: 3.938 kB / 3.322 GB, free: 27.82 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003342/10.93, allocations: 0.7645 MB / 3.323 GB, free: 27.8 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/10.93, allocations: 6.906 kB / 3.323 GB, free: 27.8 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/10.93, allocations: 286.9 kB / 3.323 GB, free: 27.78 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/10.93, allocations: 157.4 kB / 3.323 GB, free: 27.78 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/10.93, allocations: 0.9118 MB / 3.324 GB, free: 27.25 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/10.93, allocations: 87.2 kB / 3.324 GB, free: 27.23 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/10.93, allocations: 35.06 kB / 3.324 GB, free: 27.23 MB / 482.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (61): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0005607/10.94, allocations: 125 kB / 3.324 GB, free: 27.12 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001877/10.94, allocations: 269.6 kB / 3.325 GB, free: 27.09 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005837/10.94, allocations: 2.604 MB / 3.327 GB, free: 26.86 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.969e-05/10.94, allocations: 25.66 kB / 3.327 GB, free: 26.86 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/10.94, allocations: 8.594 kB / 3.327 GB, free: 26.85 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/10.94, allocations: 3.844 kB / 3.327 GB, free: 26.85 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006809/10.95, allocations: 3.432 MB / 3.331 GB, free: 26.47 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/10.95, allocations: 3.969 kB / 3.331 GB, free: 26.47 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/10.95, allocations: 151.1 kB / 3.331 GB, free: 26.47 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/10.95, allocations: 69.47 kB / 3.331 GB, free: 26.46 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/10.95, allocations: 16.55 kB / 3.331 GB, free: 26.46 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/10.95, allocations: 1.214 MB / 3.332 GB, free: 25.34 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/10.95, allocations: 1.406 kB / 3.332 GB, free: 25.34 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005834/10.96, allocations: 2.697 MB / 3.335 GB, free: 25.04 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007382/10.97, allocations: 3.742 MB / 3.338 GB, free: 24.35 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000654/10.97, allocations: 262.1 kB / 3.338 GB, free: 24.2 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/10.97, allocations: 7.781 kB / 3.338 GB, free: 24.2 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/10.97, allocations: 69.05 kB / 3.339 GB, free: 24.19 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/10.97, allocations: 57.95 kB / 3.339 GB, free: 24.18 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/10.97, allocations: 30.08 kB / 3.339 GB, free: 24.18 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0006104/10.97, allocations: 321.8 kB / 3.339 GB, free: 24.1 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.009698/10.98, allocations: 1.643 MB / 3.341 GB, free: 23.91 MB / 482.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01217/10.99, allocations: 1.892 MB / 3.342 GB, free: 23.5 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.004068/11, allocations: 1.593 MB / 3.344 GB, free: 23.46 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/11, allocations: 0 / 3.344 GB, free: 23.46 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002222/11, allocations: 1.104 MB / 3.345 GB, free: 23.46 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/11, allocations: 260.7 kB / 3.345 GB, free: 23.44 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06328/11.06, allocations: 14.79 MB / 3.36 GB, free: 22.37 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/11.07, allocations: 1.169 MB / 3.361 GB, free: 21.63 MB / 482.8 MB Notification: Performance of SimCode: time 1.302e-06/11.07, allocations: 0 / 3.361 GB, free: 21.63 MB / 482.8 MB