Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_5_0_1_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.401/4.401, allocations: 403.9 MB / 410.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2807/4.682, allocations: 95 MB / 0.4941 GB, free: 7.379 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/5.269, allocations: 92.69 MB / 0.5846 GB, free: 3.43 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.943/11.21, allocations: 2.167 GB / 2.752 GB, free: 49.07 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/11.21, allocations: 86.14 kB / 2.752 GB, free: 49.03 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.8459/12.06, allocations: 93.24 MB / 2.843 GB, free: 250.3 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/12.06, allocations: 11.69 kB / 2.843 GB, free: 250.3 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03428/12.09, allocations: 2.166 MB / 2.845 GB, free: 249.4 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/12.1, allocations: 0.9512 MB / 2.846 GB, free: 248.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/12.1, allocations: 62.5 kB / 2.846 GB, free: 248.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/12.1, allocations: 111.1 kB / 2.846 GB, free: 248.9 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01309/12.11, allocations: 2.843 MB / 2.849 GB, free: 248.5 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/12.12, allocations: 2.086 MB / 2.851 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/12.12, allocations: 4.75 kB / 2.851 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006027/12.12, allocations: 1.375 kB / 2.851 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/12.12, allocations: 49.16 kB / 2.851 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/12.16, allocations: 6.192 MB / 2.857 GB, free: 245.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007333/12.16, allocations: 1.905 MB / 2.859 GB, free: 243.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003749/12.17, allocations: 1.009 MB / 2.86 GB, free: 242.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/12.17, allocations: 0.5101 MB / 2.861 GB, free: 241.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004754/12.17, allocations: 1.266 MB / 2.862 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=192): time 6.702e-06/12.17, allocations: 0 / 2.862 GB, free: 240.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192): time 0.01404/12.19, allocations: 2.281 MB / 2.864 GB, free: 238.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/12.19, allocations: 180.2 kB / 2.864 GB, free: 238.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/12.19, allocations: 0.5937 MB / 2.865 GB, free: 237.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008863/12.19, allocations: 25.81 kB / 2.865 GB, free: 237.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/12.19, allocations: 0.5045 MB / 2.865 GB, free: 236.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00147/12.19, allocations: 0.5964 MB / 2.866 GB, free: 236.3 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004308/12.19, allocations: 0 / 2.866 GB, free: 236.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003264/12.19, allocations: 414.6 kB / 2.866 GB, free: 235.9 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004026/12.2, allocations: 0.785 MB / 2.867 GB, free: 235.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/12.2, allocations: 0.9381 MB / 2.868 GB, free: 234.2 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/12.21, allocations: 1.089 MB / 2.869 GB, free: 233.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/12.21, allocations: 0 / 2.869 GB, free: 233.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01439/12.22, allocations: 2.372 MB / 2.871 GB, free: 230.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/12.22, allocations: 8 kB / 2.871 GB, free: 230.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/12.22, allocations: 4.156 kB / 2.871 GB, free: 230.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/12.22, allocations: 88.78 kB / 2.871 GB, free: 230.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/12.23, allocations: 0.5683 MB / 2.872 GB, free: 230.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/12.24, allocations: 1.454 MB / 2.873 GB, free: 228.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/12.25, allocations: 290.4 kB / 2.874 GB, free: 228.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/12.25, allocations: 91.8 kB / 2.874 GB, free: 228.1 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 2 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001727/12.25, allocations: 137.1 kB / 2.874 GB, free: 228 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/12.25, allocations: 122.5 kB / 2.874 GB, free: 227.9 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02168/12.28, allocations: 2.963 MB / 2.877 GB, free: 224.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/12.28, allocations: 20 kB / 2.877 GB, free: 224.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/12.28, allocations: 3.906 kB / 2.877 GB, free: 224.9 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.438e-05/12.28, allocations: 11.97 kB / 2.877 GB, free: 224.9 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/12.3, allocations: 4.84 MB / 2.882 GB, free: 220.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/12.3, allocations: 0 / 2.882 GB, free: 220.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00953/12.31, allocations: 0.5548 MB / 2.882 GB, free: 219.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/12.31, allocations: 84.78 kB / 2.882 GB, free: 219.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009434/12.31, allocations: 51.86 kB / 2.882 GB, free: 219.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/12.32, allocations: 1.49 MB / 2.884 GB, free: 217.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/12.32, allocations: 0 / 2.884 GB, free: 217.8 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01581/12.33, allocations: 2.452 MB / 2.886 GB, free: 215.3 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01284/12.34, allocations: 2.872 MB / 2.889 GB, free: 212.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/12.35, allocations: 0.5182 MB / 2.89 GB, free: 211.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/12.35, allocations: 11.42 kB / 2.89 GB, free: 211.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008077/12.36, allocations: 231.7 kB / 2.89 GB, free: 211.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/12.36, allocations: 109.6 kB / 2.89 GB, free: 211.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001066/12.36, allocations: 79.92 kB / 2.89 GB, free: 211.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.002015/12.36, allocations: 0.4952 MB / 2.89 GB, free: 211 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008997/12.37, allocations: 0.693 MB / 2.891 GB, free: 210.3 MB / 0.7605 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 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 199 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0045/12.37, allocations: 1.224 MB / 2.892 GB, free: 209.4 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00827/12.38, allocations: 2.201 MB / 2.894 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/12.38, allocations: 0 / 2.894 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004598/12.39, allocations: 1.24 MB / 2.896 GB, free: 206 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/12.39, allocations: 184.8 kB / 2.896 GB, free: 205.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/12.4, allocations: 2.683 MB / 2.898 GB, free: 203.1 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004731/12.41, allocations: 1.581 MB / 2.9 GB, free: 201.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.673e-06/12.41, allocations: 0 / 2.9 GB, free: 201.5 MB / 0.7605 GB