Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"dynamic"}) [: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(Buildings): time 4.275/4.275, allocations: 404 MB / 410.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3034/4.579, allocations: 95 MB / 0.4941 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/5.164, allocations: 92.67 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.98/6.144, allocations: 343.4 MB / 0.9199 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.144, allocations: 62.22 kB / 0.92 GB, free: 87.85 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.05618/6.2, allocations: 12.34 MB / 0.932 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/6.201, allocations: 8 kB / 0.932 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/6.201, allocations: 4 kB / 0.932 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/6.201, allocations: 170.9 kB / 0.9322 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/6.201, allocations: 0 / 0.9322 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/6.201, allocations: 4 kB / 0.9322 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/6.201, allocations: 15.98 kB / 0.9322 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/6.201, allocations: 49.61 kB / 0.9323 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/6.201, allocations: 7.938 kB / 0.9323 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/6.201, allocations: 0 / 0.9323 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/6.201, allocations: 3.906 kB / 0.9323 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/6.202, allocations: 134.1 kB / 0.9324 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/6.202, allocations: 41.33 kB / 0.9324 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/6.202, allocations: 12.86 kB / 0.9325 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/6.203, allocations: 0.6096 MB / 0.9331 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/6.203, allocations: 38.55 kB / 0.9331 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.705e-06/6.203, allocations: 0 / 0.9331 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0008428/6.204, allocations: 277.8 kB / 0.9334 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/6.204, allocations: 55.41 kB / 0.9334 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/6.204, allocations: 92.88 kB / 0.9335 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/6.204, allocations: 33.64 kB / 0.9335 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/6.204, allocations: 84.05 kB / 0.9336 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/6.204, allocations: 27.45 kB / 0.9336 GB, free: 76.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/6.204, allocations: 0 / 0.9336 GB, free: 76.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/6.204, allocations: 318.4 kB / 0.9339 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/6.204, allocations: 15.88 kB / 0.934 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/6.204, allocations: 48.52 kB / 0.934 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.08e-05/6.205, allocations: 23.86 kB / 0.934 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/6.205, allocations: 0 / 0.934 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002684/6.205, allocations: 77.42 kB / 0.9341 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/6.205, allocations: 8.125 kB / 0.9341 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/6.205, allocations: 4 kB / 0.9341 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/6.205, allocations: 3.984 kB / 0.9341 GB, free: 75.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/6.205, allocations: 23.95 kB / 0.9341 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/6.205, allocations: 8.062 kB / 0.9341 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/6.205, allocations: 3.984 kB / 0.9341 GB, free: 75.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/6.205, allocations: 7.875 kB / 0.9342 GB, free: 75.83 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/6.205, allocations: 108.9 kB / 0.9343 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/6.206, allocations: 7.891 kB / 0.9343 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/6.206, allocations: 11.88 kB / 0.9343 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/6.206, allocations: 4 kB / 0.9343 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/6.206, allocations: 0 / 0.9343 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/6.206, allocations: 0 / 0.9343 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/6.206, allocations: 150.2 kB / 0.9344 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/6.206, allocations: 0 / 0.9344 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/6.207, allocations: 12 kB / 0.9344 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/6.207, allocations: 0 / 0.9344 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/6.207, allocations: 0 / 0.9344 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/6.207, allocations: 3.906 kB / 0.9344 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/6.207, allocations: 8 kB / 0.9344 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002559/6.207, allocations: 167.1 kB / 0.9346 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003523/6.207, allocations: 0.5382 MB / 0.9351 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/6.207, allocations: 85.09 kB / 0.9352 GB, free: 74.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/6.207, allocations: 0 / 0.9352 GB, free: 74.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/6.208, allocations: 7.906 kB / 0.9352 GB, free: 74.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/6.208, allocations: 11.92 kB / 0.9352 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/6.208, allocations: 4 kB / 0.9352 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.263e-05/6.208, allocations: 75.28 kB / 0.9353 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002509/6.21, allocations: 19.88 kB / 0.9353 GB, free: 74.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002538/6.211, allocations: 134.7 kB / 0.9355 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001847/6.211, allocations: 31.81 kB / 0.9355 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/6.211, allocations: 0 / 0.9355 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/6.211, allocations: 15.81 kB / 0.9355 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/6.211, allocations: 8.188 kB / 0.9355 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/6.212, allocations: 278.2 kB / 0.9358 GB, free: 74.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/6.213, allocations: 0.6997 MB / 0.9365 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of SimCode: time 1.432e-06/6.213, allocations: 0 / 0.9365 GB, free: 73.37 MB / 0.6823 GB