Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_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 2.274/2.274, allocations: 234.9 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2461/2.521, allocations: 57.22 MB / 299.1 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/2.812, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.563/9.375, allocations: 2.612 GB / 2.958 GB, free: 80.35 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/9.375, allocations: 83.28 kB / 2.958 GB, free: 80.31 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 2.184/11.56, allocations: 435.4 MB / 3.383 GB, free: 7.879 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/11.56, allocations: 8 kB / 3.383 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/11.57, allocations: 350.7 kB / 3.383 GB, free: 7.527 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/11.57, allocations: 0.5792 MB / 3.384 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/11.57, allocations: 24 kB / 3.384 GB, free: 6.895 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/11.57, allocations: 36 kB / 3.384 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002052/11.57, allocations: 0.5414 MB / 3.384 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/11.57, allocations: 0.6634 MB / 3.385 GB, free: 5.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/11.57, allocations: 3.938 kB / 3.385 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/11.57, allocations: 7.906 kB / 3.385 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/11.57, allocations: 24.94 kB / 3.385 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/11.59, allocations: 5.991 MB / 3.391 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/11.59, allocations: 319.1 kB / 3.391 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/11.59, allocations: 230.1 kB / 3.391 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6042/12.2, allocations: 82.01 MB / 3.472 GB, free: 50.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/12.2, allocations: 40.41 kB / 3.472 GB, free: 50.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.106e-06/12.2, allocations: 0 / 3.472 GB, free: 50.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.009929/12.21, allocations: 1.83 MB / 3.473 GB, free: 49.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/12.21, allocations: 114.3 kB / 3.473 GB, free: 49.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/12.21, allocations: 378.1 kB / 3.474 GB, free: 49.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/12.21, allocations: 29.52 kB / 3.474 GB, free: 49.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/12.21, allocations: 286.9 kB / 3.474 GB, free: 49.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/12.21, allocations: 167.3 kB / 3.474 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/12.21, allocations: 3.531 kB / 3.474 GB, free: 49.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/12.21, allocations: 366.4 kB / 3.475 GB, free: 48.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/12.21, allocations: 216.8 kB / 3.475 GB, free: 48.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/12.21, allocations: 404.5 kB / 3.475 GB, free: 48.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/12.21, allocations: 357.1 kB / 3.476 GB, free: 48.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/12.21, allocations: 3.875 kB / 3.476 GB, free: 48.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.006093/12.22, allocations: 1.124 MB / 3.477 GB, free: 48.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004618/12.22, allocations: 2.179 MB / 3.479 GB, free: 46.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/12.22, allocations: 7.562 kB / 3.479 GB, free: 46.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/12.22, allocations: 295 kB / 3.479 GB, free: 46.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/12.22, allocations: 151.8 kB / 3.479 GB, free: 46.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/12.23, allocations: 1.012 MB / 3.48 GB, free: 45.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/12.23, allocations: 86.16 kB / 3.48 GB, free: 45.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/12.23, allocations: 46.11 kB / 3.48 GB, free: 45.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/12.23, allocations: 3.75 kB / 3.48 GB, free: 45.74 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003457/12.23, allocations: 0.7628 MB / 3.481 GB, free: 45.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/12.23, allocations: 7.375 kB / 3.481 GB, free: 45.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/12.23, allocations: 282.6 kB / 3.481 GB, free: 45.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/12.23, allocations: 152 kB / 3.482 GB, free: 45.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/12.24, allocations: 0.9178 MB / 3.482 GB, free: 45.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/12.24, allocations: 82.12 kB / 3.482 GB, free: 45.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/12.24, allocations: 37.95 kB / 3.483 GB, free: 45.16 MB / 490.7 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.0003063/12.24, allocations: 122 kB / 3.483 GB, free: 45.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/12.24, allocations: 276.5 kB / 3.483 GB, free: 45.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005831/12.25, allocations: 2.603 MB / 3.485 GB, free: 44.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.102e-05/12.25, allocations: 29.12 kB / 3.485 GB, free: 44.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/12.25, allocations: 0 / 3.485 GB, free: 44.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/12.25, allocations: 9.516 kB / 3.485 GB, free: 44.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/12.26, allocations: 3.433 MB / 3.489 GB, free: 44.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/12.26, allocations: 0 / 3.489 GB, free: 44.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/12.26, allocations: 157.3 kB / 3.489 GB, free: 44.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/12.26, allocations: 62.47 kB / 3.489 GB, free: 44.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/12.26, allocations: 14.73 kB / 3.489 GB, free: 44.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/12.26, allocations: 1.214 MB / 3.49 GB, free: 43.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/12.26, allocations: 3.625 kB / 3.49 GB, free: 43.29 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00841/12.27, allocations: 2.697 MB / 3.493 GB, free: 42.97 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007353/12.28, allocations: 3.744 MB / 3.497 GB, free: 42.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006589/12.28, allocations: 262.6 kB / 3.497 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/12.28, allocations: 3.562 kB / 3.497 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/12.28, allocations: 66.95 kB / 3.497 GB, free: 42.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/12.28, allocations: 57.66 kB / 3.497 GB, free: 42.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/12.28, allocations: 26.23 kB / 3.497 GB, free: 42.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005751/12.28, allocations: 325.8 kB / 3.497 GB, free: 42.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009932/12.29, allocations: 1.656 MB / 3.499 GB, free: 42.04 MB / 490.7 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.01223/12.3, allocations: 1.9 MB / 3.501 GB, free: 41.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004078/12.31, allocations: 1.586 MB / 3.502 GB, free: 41.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/12.31, allocations: 3.969 kB / 3.502 GB, free: 41.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002295/12.31, allocations: 1.105 MB / 3.503 GB, free: 41.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/12.31, allocations: 262.9 kB / 3.504 GB, free: 41.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07147/12.38, allocations: 15.22 MB / 3.518 GB, free: 40.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/12.38, allocations: 1.162 MB / 3.52 GB, free: 40.02 MB / 490.7 MB Notification: Performance of SimCode: time 2.124e-06/12.38, allocations: 4 kB / 3.52 GB, free: 40.02 MB / 490.7 MB