Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_BooleanReplicator",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.606/4.606, allocations: 404 MB / 410.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.26/4.866, allocations: 95 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/5.434, allocations: 92.67 MB / 0.5846 GB, free: 3.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/5.71, allocations: 120.2 MB / 0.702 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004746/5.71, allocations: 79.94 kB / 0.7021 GB, free: 13.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0122/5.723, allocations: 1.503 MB / 0.7035 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/5.723, allocations: 8 kB / 0.7036 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/5.723, allocations: 7.906 kB / 0.7036 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/5.723, allocations: 182.9 kB / 0.7037 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/5.723, allocations: 0 / 0.7037 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/5.723, allocations: 4 kB / 0.7037 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001519/5.724, allocations: 23.98 kB / 0.7038 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/5.724, allocations: 69.59 kB / 0.7038 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/5.724, allocations: 0 / 0.7038 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/5.724, allocations: 4 kB / 0.7038 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/5.724, allocations: 4 kB / 0.7038 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/5.725, allocations: 253.4 kB / 0.7041 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/5.725, allocations: 38.58 kB / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/5.725, allocations: 32.88 kB / 0.7041 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/5.725, allocations: 0 / 0.7041 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/5.725, allocations: 105 kB / 0.7042 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 3.677e-06/5.725, allocations: 0 / 0.7042 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.000603/5.726, allocations: 89.58 kB / 0.7043 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/5.726, allocations: 110.8 kB / 0.7044 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/5.726, allocations: 104.9 kB / 0.7045 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/5.726, allocations: 29.7 kB / 0.7046 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/5.727, allocations: 80.14 kB / 0.7046 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/5.727, allocations: 19.98 kB / 0.7047 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/5.727, allocations: 4 kB / 0.7047 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002159/5.727, allocations: 314.8 kB / 0.705 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/5.727, allocations: 23.98 kB / 0.705 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/5.727, allocations: 20 kB / 0.705 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/5.727, allocations: 35.92 kB / 0.705 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/5.727, allocations: 0 / 0.705 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005026/5.728, allocations: 97.61 kB / 0.7051 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/5.728, allocations: 8 kB / 0.7051 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/5.728, allocations: 0 / 0.7051 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/5.728, allocations: 4 kB / 0.7051 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.294e-05/5.728, allocations: 0 / 0.7051 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/5.728, allocations: 0 / 0.7051 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/5.728, allocations: 4 kB / 0.7052 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/5.728, allocations: 0 / 0.7052 GB, free: 9.992 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: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.0002179/5.729, allocations: 149.3 kB / 0.7053 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/5.729, allocations: 4 kB / 0.7053 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/5.729, allocations: 20.28 kB / 0.7053 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/5.729, allocations: 0 / 0.7053 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/5.729, allocations: 0 / 0.7053 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/5.729, allocations: 7.875 kB / 0.7053 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/5.729, allocations: 150.2 kB / 0.7055 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/5.729, allocations: 0 / 0.7055 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-06/5.729, allocations: 0 / 0.7055 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/5.729, allocations: 3.984 kB / 0.7055 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/5.729, allocations: 4 kB / 0.7055 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/5.729, allocations: 0 / 0.7055 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/5.729, allocations: 7.844 kB / 0.7055 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005159/5.73, allocations: 133.1 kB / 0.7056 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006551/5.73, allocations: 0.4936 MB / 0.7061 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/5.731, allocations: 77.11 kB / 0.7062 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.401e-05/5.731, allocations: 11.89 kB / 0.7062 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/5.731, allocations: 8.062 kB / 0.7062 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/5.731, allocations: 0 / 0.7062 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/5.731, allocations: 7.984 kB / 0.7062 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001025/5.731, allocations: 87.59 kB / 0.7063 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00227/5.733, allocations: 24 kB / 0.7063 GB, free: 8.711 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: 8 ($whenCondition1,booTab.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * 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.0006015/5.734, allocations: 150.6 kB / 0.7064 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000408/5.734, allocations: 107.4 kB / 0.7065 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/5.734, allocations: 4 kB / 0.7065 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/5.735, allocations: 77.69 kB / 0.7066 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/5.735, allocations: 11.88 kB / 0.7066 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/5.736, allocations: 111.9 kB / 0.7067 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/5.736, allocations: 0.7036 MB / 0.7074 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of SimCode: time 1.383e-06/5.736, allocations: 0 / 0.7074 GB, free: 7.477 MB / 0.5886 GB