Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.169/4.169, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2539/4.423, allocations: 95.02 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/4.983, allocations: 92.68 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/5.226, allocations: 120.9 MB / 0.7026 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/5.226, allocations: 95.86 kB / 0.7027 GB, free: 12.77 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01325/5.239, allocations: 2.195 MB / 0.7049 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/5.239, allocations: 12.19 kB / 0.7049 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/5.24, allocations: 19.81 kB / 0.7049 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/5.24, allocations: 200.3 kB / 0.7051 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/5.24, allocations: 4 kB / 0.7051 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/5.24, allocations: 7.906 kB / 0.7051 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003678/5.24, allocations: 83.97 kB / 0.7052 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/5.241, allocations: 105.5 kB / 0.7053 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/5.241, allocations: 0 / 0.7053 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/5.241, allocations: 0 / 0.7053 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/5.241, allocations: 4 kB / 0.7053 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/5.242, allocations: 385 kB / 0.7056 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/5.243, allocations: 134.5 kB / 0.7058 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/5.244, allocations: 52.97 kB / 0.7058 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/5.244, allocations: 0 / 0.7058 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/5.244, allocations: 34.56 kB / 0.7058 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/5.244, allocations: 0 / 0.7058 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.000548/5.244, allocations: 125.6 kB / 0.706 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/5.244, allocations: 51.41 kB / 0.706 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/5.244, allocations: 136.4 kB / 0.7061 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/5.244, allocations: 25.7 kB / 0.7062 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/5.245, allocations: 96.05 kB / 0.7063 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/5.245, allocations: 27.55 kB / 0.7063 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/5.245, allocations: 0 / 0.7063 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001427/5.245, allocations: 326.8 kB / 0.7066 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/5.245, allocations: 35.98 kB / 0.7066 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/5.245, allocations: 35.94 kB / 0.7067 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/5.245, allocations: 43.91 kB / 0.7067 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/5.245, allocations: 0 / 0.7067 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005083/5.246, allocations: 129.7 kB / 0.7068 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/5.246, allocations: 12 kB / 0.7068 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/5.246, allocations: 0 / 0.7068 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/5.246, allocations: 0 / 0.7068 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/5.247, allocations: 51.89 kB / 0.7069 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/5.247, allocations: 0 / 0.7069 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/5.247, allocations: 35.97 kB / 0.7069 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/5.247, allocations: 11.89 kB / 0.7069 GB, free: 8.223 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001181/5.247, allocations: 108.5 kB / 0.707 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/5.247, allocations: 7.906 kB / 0.7071 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/5.247, allocations: 16.5 kB / 0.7071 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/5.247, allocations: 0 / 0.7071 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/5.247, allocations: 3.906 kB / 0.7071 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/5.247, allocations: 3.984 kB / 0.7071 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/5.248, allocations: 206.1 kB / 0.7073 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/5.248, allocations: 0 / 0.7073 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/5.248, allocations: 51.89 kB / 0.7073 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/5.248, allocations: 11.98 kB / 0.7073 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/5.249, allocations: 3.906 kB / 0.7073 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/5.249, allocations: 0 / 0.7073 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/5.249, allocations: 0 / 0.7073 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005431/5.249, allocations: 223.3 kB / 0.7076 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006218/5.25, allocations: 0.5896 MB / 0.7081 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/5.25, allocations: 96.78 kB / 0.7082 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/5.25, allocations: 4.281 kB / 0.7082 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/5.25, allocations: 27.97 kB / 0.7082 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/5.251, allocations: 35.91 kB / 0.7083 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/5.251, allocations: 7.922 kB / 0.7083 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001208/5.251, allocations: 110.3 kB / 0.7084 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001441/5.252, allocations: 31.91 kB / 0.7084 GB, free: 6.613 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0002043/5.252, allocations: 103 kB / 0.7085 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000459/5.253, allocations: 99.91 kB / 0.7086 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.253, allocations: 0 / 0.7086 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/5.253, allocations: 59.97 kB / 0.7087 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/5.254, allocations: 15.98 kB / 0.7087 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/5.254, allocations: 167.4 kB / 0.7089 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/5.255, allocations: 0.7422 MB / 0.7096 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/5.255, allocations: 0 / 0.7096 GB, free: 5.379 MB / 0.5886 GB