Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.225/4.225, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.28/4.505, allocations: 95.02 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/5.011, allocations: 92.68 MB / 0.5846 GB, free: 3.426 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/5.247, allocations: 119.9 MB / 0.7017 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004305/5.248, allocations: 83.94 kB / 0.7018 GB, free: 13.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004944/5.253, allocations: 0.97 MB / 0.7027 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/5.253, allocations: 12 kB / 0.7028 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/5.253, allocations: 7.906 kB / 0.7028 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/5.253, allocations: 178.9 kB / 0.7029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/5.253, allocations: 0 / 0.7029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/5.253, allocations: 7.984 kB / 0.7029 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/5.253, allocations: 23.94 kB / 0.703 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/5.253, allocations: 49.62 kB / 0.703 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/5.253, allocations: 0 / 0.703 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/5.253, allocations: 4 kB / 0.703 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/5.253, allocations: 0 / 0.703 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/5.254, allocations: 245.4 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/5.254, allocations: 42.56 kB / 0.7033 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/5.254, allocations: 16.98 kB / 0.7033 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/5.254, allocations: 4 kB / 0.7033 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/5.254, allocations: 63.25 kB / 0.7034 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 4.599e-06/5.254, allocations: 0 / 0.7034 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002318/5.254, allocations: 65.69 kB / 0.7034 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/5.254, allocations: 55.41 kB / 0.7035 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/5.255, allocations: 108.9 kB / 0.7036 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/5.255, allocations: 25.7 kB / 0.7036 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/5.255, allocations: 92.14 kB / 0.7037 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/5.255, allocations: 7.812 kB / 0.7037 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/5.255, allocations: 4 kB / 0.7037 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000129/5.255, allocations: 318.8 kB / 0.704 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/5.255, allocations: 12 kB / 0.704 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/5.255, allocations: 30.52 kB / 0.7041 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/5.255, allocations: 16.39 kB / 0.7041 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/5.255, allocations: 0 / 0.7041 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001875/5.255, allocations: 73.52 kB / 0.7041 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/5.255, allocations: 4 kB / 0.7041 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/5.255, allocations: 4 kB / 0.7041 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/5.255, allocations: 3.984 kB / 0.7042 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/5.255, allocations: 4 kB / 0.7042 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/5.256, allocations: 0 / 0.7042 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/5.256, allocations: 20.05 kB / 0.7042 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/5.256, allocations: 4 kB / 0.7042 GB, free: 11.05 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001001/5.256, allocations: 112.9 kB / 0.7043 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/5.256, allocations: 3.938 kB / 0.7043 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/5.256, allocations: 16.28 kB / 0.7043 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/5.256, allocations: 0 / 0.7043 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/5.256, allocations: 8 kB / 0.7043 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/5.256, allocations: 3.984 kB / 0.7043 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/5.256, allocations: 146.4 kB / 0.7045 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/5.256, allocations: 0 / 0.7045 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/5.256, allocations: 7.938 kB / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/5.256, allocations: 0 / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/5.256, allocations: 0 / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/5.256, allocations: 0 / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/5.256, allocations: 3.906 kB / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001941/5.257, allocations: 97.02 kB / 0.7046 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003709/5.257, allocations: 473.4 kB / 0.705 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/5.257, allocations: 81.11 kB / 0.7051 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/5.257, allocations: 7.844 kB / 0.7051 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/5.257, allocations: 15.98 kB / 0.7051 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/5.257, allocations: 11.97 kB / 0.7051 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/5.257, allocations: 4 kB / 0.7051 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.047e-05/5.257, allocations: 87.28 kB / 0.7052 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00129/5.259, allocations: 8 kB / 0.7052 GB, free: 9.883 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000158/5.259, allocations: 110.5 kB / 0.7053 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001842/5.259, allocations: 47.92 kB / 0.7054 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/5.259, allocations: 0 / 0.7054 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/5.259, allocations: 16 kB / 0.7054 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/5.26, allocations: 12.94 kB / 0.7054 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/5.26, allocations: 97.61 kB / 0.7055 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/5.26, allocations: 0.7037 MB / 0.7062 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/5.26, allocations: 0 / 0.7062 GB, free: 8.848 MB / 0.5886 GB