Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.889/1.889, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2956/2.184, allocations: 51.04 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/2.33, allocations: 48.68 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.136/8.466, allocations: 2.502 GB / 2.81 GB, free: 99.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/8.467, allocations: 82.61 kB / 2.81 GB, free: 99.18 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 1.931/10.4, allocations: 424.6 MB / 3.225 GB, free: 2.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/10.4, allocations: 12 kB / 3.225 GB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/10.4, allocations: 334.7 kB / 3.225 GB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/10.4, allocations: 0.5827 MB / 3.226 GB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/10.4, allocations: 23.91 kB / 3.226 GB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/10.4, allocations: 39.94 kB / 3.226 GB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001593/10.41, allocations: 0.5336 MB / 3.226 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/10.41, allocations: 0.6541 MB / 3.227 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/10.41, allocations: 0 / 3.227 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/10.41, allocations: 7.938 kB / 3.227 GB, free: 188 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/10.41, allocations: 25.31 kB / 3.227 GB, free: 164 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/10.43, allocations: 7.224 MB / 3.234 GB, free: 8.242 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/10.43, allocations: 310.5 kB / 3.234 GB, free: 7.934 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/10.43, allocations: 201.7 kB / 3.235 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5154/10.95, allocations: 78.21 MB / 3.311 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/10.95, allocations: 37.94 kB / 3.311 GB, free: 43.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.897e-06/10.95, allocations: 3.844 kB / 3.311 GB, free: 43.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.01019/10.96, allocations: 1.804 MB / 3.313 GB, free: 42.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/10.96, allocations: 110.7 kB / 3.313 GB, free: 42.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/10.96, allocations: 385.9 kB / 3.313 GB, free: 42.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/10.96, allocations: 25.7 kB / 3.313 GB, free: 42.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/10.96, allocations: 291.4 kB / 3.313 GB, free: 42.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/10.96, allocations: 167.8 kB / 3.314 GB, free: 42.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/10.96, allocations: 0 / 3.314 GB, free: 42.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/10.96, allocations: 367.8 kB / 3.314 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/10.96, allocations: 203.6 kB / 3.314 GB, free: 42.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/10.96, allocations: 398.8 kB / 3.315 GB, free: 41.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/10.96, allocations: 353.8 kB / 3.315 GB, free: 41.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/10.96, allocations: 3.406 kB / 3.315 GB, free: 41.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00564/10.97, allocations: 1.157 MB / 3.316 GB, free: 41.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006166/10.97, allocations: 2.35 MB / 3.318 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/10.97, allocations: 3.875 kB / 3.318 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/10.97, allocations: 314.5 kB / 3.319 GB, free: 39.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/10.97, allocations: 150.9 kB / 3.319 GB, free: 39.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/10.97, allocations: 1.027 MB / 3.32 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/10.97, allocations: 85.78 kB / 3.32 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/10.97, allocations: 37.28 kB / 3.32 GB, free: 38.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/10.97, allocations: 5.844 kB / 3.32 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003718/10.98, allocations: 0.7723 MB / 3.321 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.41e-05/10.98, allocations: 5.156 kB / 3.321 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/10.98, allocations: 273.8 kB / 3.321 GB, free: 38.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/10.98, allocations: 148.7 kB / 3.321 GB, free: 38.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/10.98, allocations: 0.8966 MB / 3.322 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/10.98, allocations: 81.06 kB / 3.322 GB, free: 38.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.966e-05/10.98, allocations: 35.62 kB / 3.322 GB, free: 38.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.000308/10.98, allocations: 126.7 kB / 3.322 GB, free: 38.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/10.99, allocations: 276.5 kB / 3.322 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008117/10.99, allocations: 2.253 MB / 3.325 GB, free: 37.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.316e-05/10.99, allocations: 24.81 kB / 3.325 GB, free: 37.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/10.99, allocations: 3.875 kB / 3.325 GB, free: 37.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/10.99, allocations: 7.797 kB / 3.325 GB, free: 37.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/11, allocations: 3.018 MB / 3.328 GB, free: 37.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/11, allocations: 0 / 3.328 GB, free: 37.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/11, allocations: 132.3 kB / 3.328 GB, free: 37.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/11.01, allocations: 92.45 kB / 3.328 GB, free: 37.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/11.01, allocations: 15.31 kB / 3.328 GB, free: 37.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/11.01, allocations: 1.168 MB / 3.329 GB, free: 36.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/11.01, allocations: 1.969 kB / 3.329 GB, free: 36.38 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005259/11.01, allocations: 2.325 MB / 3.331 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006571/11.02, allocations: 3.249 MB / 3.334 GB, free: 35.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/11.02, allocations: 267.8 kB / 3.335 GB, free: 35.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/11.02, allocations: 3.156 kB / 3.335 GB, free: 35.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/11.02, allocations: 65.62 kB / 3.335 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/11.02, allocations: 56.45 kB / 3.335 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.926e-05/11.02, allocations: 23.42 kB / 3.335 GB, free: 35.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0007317/11.02, allocations: 374.5 kB / 3.335 GB, free: 35.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01033/11.03, allocations: 1.643 MB / 3.337 GB, free: 35.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 15 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01219/11.04, allocations: 1.886 MB / 3.339 GB, free: 34.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003694/11.05, allocations: 1.406 MB / 3.34 GB, free: 34.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/11.05, allocations: 0 / 3.34 GB, free: 34.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/11.05, allocations: 0.8949 MB / 3.341 GB, free: 34.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/11.05, allocations: 256.2 kB / 3.341 GB, free: 34.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0722/11.12, allocations: 15.64 MB / 3.356 GB, free: 33.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009395/11.13, allocations: 1.146 MB / 3.358 GB, free: 33.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.093e-06/11.13, allocations: 0 / 3.358 GB, free: 33.02 MB / 442.7 MB