Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_5_0_1_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.543/4.543, allocations: 404 MB / 410.9 MB, free: 4.891 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2687/4.812, allocations: 95 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/5.424, allocations: 92.69 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.144/11.57, allocations: 2.164 GB / 2.748 GB, free: 77.11 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004892/11.57, allocations: 95 kB / 2.748 GB, free: 77.05 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.316/11.88, allocations: 58.54 MB / 2.805 GB, free: 22.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/11.88, allocations: 12 kB / 2.805 GB, free: 22.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006465/11.89, allocations: 354.3 kB / 2.806 GB, free: 22.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/11.89, allocations: 0.5276 MB / 2.806 GB, free: 21.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/11.89, allocations: 28 kB / 2.806 GB, free: 21.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/11.89, allocations: 44 kB / 2.806 GB, free: 21.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00333/11.9, allocations: 1.058 MB / 2.807 GB, free: 20.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/11.9, allocations: 0.7199 MB / 2.808 GB, free: 20.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/11.9, allocations: 0 / 2.808 GB, free: 20.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/11.9, allocations: 7.906 kB / 2.808 GB, free: 20.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/11.9, allocations: 16 kB / 2.808 GB, free: 20.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007542/11.91, allocations: 2.298 MB / 2.81 GB, free: 17.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003914/11.91, allocations: 0.7781 MB / 2.811 GB, free: 16.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/11.91, allocations: 282.7 kB / 2.811 GB, free: 16.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/11.91, allocations: 482.1 kB / 2.812 GB, free: 16.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/11.91, allocations: 430.8 kB / 2.812 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=73): time 4.458e-06/11.91, allocations: 0 / 2.812 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73): time 0.004215/11.92, allocations: 0.7732 MB / 2.813 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/11.92, allocations: 162.9 kB / 2.813 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009227/11.92, allocations: 437.2 kB / 2.814 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/11.92, allocations: 25.7 kB / 2.814 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/11.92, allocations: 276.4 kB / 2.814 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/11.92, allocations: 224.6 kB / 2.814 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/11.92, allocations: 0 / 2.814 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000131/11.92, allocations: 362.8 kB / 2.814 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/11.92, allocations: 233.3 kB / 2.815 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008269/11.92, allocations: 315.8 kB / 2.815 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/11.92, allocations: 349.4 kB / 2.815 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/11.92, allocations: 0 / 2.815 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004178/11.93, allocations: 0.8279 MB / 2.816 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/11.93, allocations: 7.125 kB / 2.816 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/11.93, allocations: 4.062 kB / 2.816 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/11.93, allocations: 84.78 kB / 2.816 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/11.93, allocations: 159.7 kB / 2.816 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/11.93, allocations: 1.469 MB / 2.818 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/11.94, allocations: 71.59 kB / 2.818 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/11.94, allocations: 35.88 kB / 2.818 GB, free: 9.621 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (77): * Single equations (assignments): 74 * 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.0003017/11.94, allocations: 116.9 kB / 2.818 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/11.94, allocations: 63.25 kB / 2.818 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005923/11.94, allocations: 1.067 MB / 2.819 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/11.94, allocations: 8 kB / 2.819 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/11.94, allocations: 0 / 2.819 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/11.94, allocations: 3.984 kB / 2.819 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/11.94, allocations: 0.7359 MB / 2.82 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/11.94, allocations: 4 kB / 2.82 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/11.95, allocations: 159.8 kB / 2.82 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/11.95, allocations: 84.77 kB / 2.82 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/11.95, allocations: 19.97 kB / 2.82 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/11.95, allocations: 1.488 MB / 2.821 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/11.95, allocations: 0 / 2.821 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0042/11.96, allocations: 0.8732 MB / 2.822 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004233/11.96, allocations: 1.269 MB / 2.824 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/11.96, allocations: 276 kB / 2.824 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/11.96, allocations: 4 kB / 2.824 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/11.96, allocations: 63.88 kB / 2.824 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/11.96, allocations: 52.7 kB / 2.824 GB, free: 3.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/11.96, allocations: 27.98 kB / 2.824 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.000686/11.96, allocations: 350.9 kB / 2.824 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004181/11.97, allocations: 475 kB / 2.825 GB, free: 2.27 MB / 0.7761 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003426/11.97, allocations: 1.229 MB / 2.826 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002669/11.97, allocations: 0.775 MB / 2.827 GB, free: 400 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/11.97, allocations: 0 / 2.827 GB, free: 400 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.3347/12.31, allocations: 464.3 kB / 2.827 GB, free: 330.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/12.31, allocations: 151.1 kB / 2.827 GB, free: 330.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/12.32, allocations: 1.282 MB / 2.829 GB, free: 330.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/12.32, allocations: 1.087 MB / 2.83 GB, free: 329.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.683e-06/12.32, allocations: 0 / 2.83 GB, free: 329.7 MB / 0.7761 GB