Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.817/1.817, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3106/2.128, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/2.256, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.933/8.188, allocations: 2.502 GB / 2.811 GB, free: 99.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/8.189, allocations: 92.19 kB / 2.811 GB, free: 99.23 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 2.066/10.25, allocations: 425.1 MB / 3.226 GB, free: 6.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/10.25, allocations: 8 kB / 3.226 GB, free: 6.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/10.26, allocations: 334.8 kB / 3.226 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/10.26, allocations: 0.5871 MB / 3.227 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/10.26, allocations: 24 kB / 3.227 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/10.26, allocations: 39.91 kB / 3.227 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001676/10.26, allocations: 0.561 MB / 3.227 GB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/10.26, allocations: 0.6705 MB / 3.228 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/10.26, allocations: 7.938 kB / 3.228 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/10.26, allocations: 0 / 3.228 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/10.26, allocations: 21.31 kB / 3.228 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3748/10.64, allocations: 36.9 MB / 3.264 GB, free: 72.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/10.64, allocations: 405.6 kB / 3.264 GB, free: 72.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/10.64, allocations: 210.3 kB / 3.265 GB, free: 72.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07189/10.71, allocations: 20.06 MB / 3.284 GB, free: 60.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/10.71, allocations: 40.61 kB / 3.284 GB, free: 60.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.897e-06/10.71, allocations: 0 / 3.284 GB, free: 60.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.0464/10.76, allocations: 3.691 MB / 3.288 GB, free: 59.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/10.76, allocations: 111.3 kB / 3.288 GB, free: 59.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007915/10.76, allocations: 417.3 kB / 3.288 GB, free: 59.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/10.76, allocations: 25.7 kB / 3.288 GB, free: 59.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/10.76, allocations: 309.2 kB / 3.289 GB, free: 59.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/10.76, allocations: 211.6 kB / 3.289 GB, free: 58.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/10.76, allocations: 3.906 kB / 3.289 GB, free: 58.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/10.76, allocations: 366.7 kB / 3.289 GB, free: 58.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009384/10.76, allocations: 354.8 kB / 3.289 GB, free: 58.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/10.76, allocations: 0.5514 MB / 3.29 GB, free: 58.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/10.77, allocations: 0.5308 MB / 3.291 GB, free: 58.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/10.77, allocations: 0 / 3.291 GB, free: 58.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006805/10.77, allocations: 1.6 MB / 3.292 GB, free: 58.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00055/10.78, allocations: 2.433 MB / 3.294 GB, free: 55.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/10.78, allocations: 7.656 kB / 3.294 GB, free: 55.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006264/10.78, allocations: 0.8266 MB / 3.295 GB, free: 55.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/10.78, allocations: 171.5 kB / 3.295 GB, free: 55.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/10.79, allocations: 2.062 MB / 3.297 GB, free: 54.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/10.79, allocations: 134.6 kB / 3.298 GB, free: 54.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/10.79, allocations: 48.61 kB / 3.298 GB, free: 54.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/10.79, allocations: 7.75 kB / 3.298 GB, free: 54.63 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005621/10.8, allocations: 1.052 MB / 3.299 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/10.8, allocations: 11.19 kB / 3.299 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/10.8, allocations: 370.3 kB / 3.299 GB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/10.8, allocations: 205.3 kB / 3.299 GB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/10.81, allocations: 1.565 MB / 3.301 GB, free: 53.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/10.81, allocations: 108.3 kB / 3.301 GB, free: 53.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/10.81, allocations: 47.89 kB / 3.301 GB, free: 53.49 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: 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 (69): * Single equations (assignments): 67 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004397/10.81, allocations: 135.2 kB / 3.301 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002456/10.81, allocations: 271.7 kB / 3.301 GB, free: 53.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/10.82, allocations: 3.194 MB / 3.304 GB, free: 53.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/10.82, allocations: 30.69 kB / 3.304 GB, free: 53.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/10.82, allocations: 0 / 3.304 GB, free: 53.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/10.82, allocations: 7.469 kB / 3.304 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009771/10.83, allocations: 4.397 MB / 3.309 GB, free: 52.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/10.83, allocations: 2.719 kB / 3.309 GB, free: 52.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/10.83, allocations: 90.7 kB / 3.309 GB, free: 52.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005752/10.84, allocations: 1.255 MB / 3.31 GB, free: 52.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/10.84, allocations: 23.03 kB / 3.31 GB, free: 52.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/10.84, allocations: 2.449 MB / 3.312 GB, free: 51.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/10.84, allocations: 4.062 kB / 3.312 GB, free: 51.51 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007377/10.85, allocations: 2.705 MB / 3.315 GB, free: 51.14 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008989/10.86, allocations: 3.168 MB / 3.318 GB, free: 50.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008261/10.86, allocations: 295.8 kB / 3.318 GB, free: 50.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/10.86, allocations: 3.125 kB / 3.318 GB, free: 50.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/10.86, allocations: 97.39 kB / 3.319 GB, free: 50.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/10.86, allocations: 65.22 kB / 3.319 GB, free: 50.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/10.86, allocations: 35.62 kB / 3.319 GB, free: 50.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.00138/10.87, allocations: 382.5 kB / 3.319 GB, free: 50.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01376/10.88, allocations: 1.809 MB / 3.321 GB, free: 50.14 MB / 442.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,$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 (40): * Single equations (assignments): 33 * 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 13,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01469/10.89, allocations: 1.977 MB / 3.323 GB, free: 49.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01552/10.91, allocations: 2.016 MB / 3.325 GB, free: 49.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/10.91, allocations: 3.875 kB / 3.325 GB, free: 49.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004299/10.91, allocations: 1.237 MB / 3.326 GB, free: 49.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/10.92, allocations: 262.8 kB / 3.326 GB, free: 49.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07044/10.99, allocations: 14.82 MB / 3.341 GB, free: 48.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/10.99, allocations: 1.166 MB / 3.342 GB, free: 48.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/10.99, allocations: 3.844 kB / 3.342 GB, free: 48.14 MB / 442.7 MB