Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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.316/4.316, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2705/4.587, allocations: 95 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/5.155, allocations: 92.69 MB / 0.5846 GB, free: 3.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/6.225, allocations: 394 MB / 0.9693 GB, free: 35.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/6.226, allocations: 90.08 kB / 0.9694 GB, free: 35.16 MB / 0.6823 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:38:63-38:71:writable] Warning: Non-array modification '"W"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:43:6-43:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:44:6-44:41:writable] Warning: Non-array modification '"ThermodynamicTemperature"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:43:6-43:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:44:6-44:41:writable] Warning: Non-array modification '"ThermodynamicTemperature"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:43:6-43:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:44:6-44:41:writable] Warning: Non-array modification '"ThermodynamicTemperature"' for array component, possibly due to missing 'each'. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 758 * Number of variables: 758 Notification: Performance of Generate backend data structure: time 4.239/10.46, allocations: 0.7368 GB / 1.706 GB, free: 90.67 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/10.46, allocations: 10.78 kB / 1.706 GB, free: 90.67 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02436/10.49, allocations: 1.739 MB / 1.708 GB, free: 90.45 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06621/10.56, allocations: 15.2 MB / 1.723 GB, free: 89.4 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/10.56, allocations: 94.84 kB / 1.723 GB, free: 89.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001687/10.56, allocations: 179.1 kB / 1.723 GB, free: 89.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01468/10.57, allocations: 3.445 MB / 1.726 GB, free: 89.38 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/10.59, allocations: 3.675 MB / 1.73 GB, free: 88.87 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/10.59, allocations: 9.344 kB / 1.73 GB, free: 88.87 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009464/10.59, allocations: 7.625 kB / 1.73 GB, free: 88.87 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/10.59, allocations: 87.22 kB / 1.73 GB, free: 88.87 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04769/10.64, allocations: 16.23 MB / 1.746 GB, free: 81.77 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/10.64, allocations: 1.408 MB / 1.747 GB, free: 81.68 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004117/10.65, allocations: 1.303 MB / 1.749 GB, free: 81.63 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002425/10.65, allocations: 1.157 MB / 1.75 GB, free: 80.41 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/10.65, allocations: 58.81 kB / 1.75 GB, free: 80.37 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=191): time 5.6e-06/10.65, allocations: 3.359 kB / 1.75 GB, free: 80.37 MB / 0.7917 GB Notification: Performance of matching and sorting (n=197): time 0.07824/10.73, allocations: 9.462 MB / 1.759 GB, free: 78.16 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/10.73, allocations: 153.5 kB / 1.759 GB, free: 78 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006786/10.73, allocations: 2.293 MB / 1.761 GB, free: 77.77 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0008838/10.73, allocations: 28.67 kB / 1.761 GB, free: 77.73 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/10.74, allocations: 1.146 MB / 1.763 GB, free: 77.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/10.74, allocations: 0.6478 MB / 1.763 GB, free: 76.66 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004667/10.74, allocations: 0 / 1.763 GB, free: 76.66 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002378/10.74, allocations: 400.5 kB / 1.764 GB, free: 76.35 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004289/10.74, allocations: 1.162 MB / 1.765 GB, free: 76.34 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004987/10.75, allocations: 1.664 MB / 1.766 GB, free: 75.79 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03458/10.78, allocations: 2.786 MB / 1.769 GB, free: 75.77 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/10.78, allocations: 2.844 kB / 1.769 GB, free: 75.77 MB / 0.7917 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.04425/10.83, allocations: 4.74 MB / 1.774 GB, free: 75.53 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001429/10.83, allocations: 5.864 MB / 1.779 GB, free: 69.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.267e-05/10.83, allocations: 13.31 kB / 1.779 GB, free: 69.33 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/10.83, allocations: 266.5 kB / 1.78 GB, free: 69.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/10.84, allocations: 0.7356 MB / 1.78 GB, free: 69.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006133/10.85, allocations: 3.31 MB / 1.784 GB, free: 66.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/10.86, allocations: 301.8 kB / 1.784 GB, free: 66.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/10.86, allocations: 130.3 kB / 1.784 GB, free: 66.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/10.86, allocations: 3.344 kB / 1.784 GB, free: 66.9 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04342/10.9, allocations: 4.418 MB / 1.788 GB, free: 66.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.051e-05/10.9, allocations: 15.41 kB / 1.788 GB, free: 66.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/10.9, allocations: 273.9 kB / 1.789 GB, free: 66.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/10.91, allocations: 0.7237 MB / 1.789 GB, free: 66.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/10.92, allocations: 3.325 MB / 1.793 GB, free: 64.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009705/10.93, allocations: 263.1 kB / 1.793 GB, free: 64.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/10.93, allocations: 127.4 kB / 1.793 GB, free: 64.41 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 297 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001206/10.93, allocations: 170.3 kB / 1.793 GB, free: 64.29 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/10.93, allocations: 282.2 kB / 1.793 GB, free: 64.14 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/10.95, allocations: 4.809 MB / 1.798 GB, free: 63.75 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/10.95, allocations: 23.5 kB / 1.798 GB, free: 63.75 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/10.95, allocations: 0 / 1.798 GB, free: 63.75 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01144/10.97, allocations: 2.695 MB / 1.801 GB, free: 63.32 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/10.99, allocations: 7.075 MB / 1.808 GB, free: 62.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/10.99, allocations: 6.781 kB / 1.808 GB, free: 62.37 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007319/11, allocations: 496.3 kB / 1.808 GB, free: 62.37 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/11, allocations: 264 kB / 1.808 GB, free: 62.32 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000589/11, allocations: 53.59 kB / 1.808 GB, free: 62.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/11, allocations: 3.569 MB / 1.812 GB, free: 59.21 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-05/11, allocations: 14.91 kB / 1.812 GB, free: 59.21 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01739/11.02, allocations: 5.267 MB / 1.817 GB, free: 57.45 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0319/11.05, allocations: 7.148 MB / 1.824 GB, free: 55.31 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004889/11.06, allocations: 0.7722 MB / 1.825 GB, free: 55.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002634/11.06, allocations: 22.53 kB / 1.825 GB, free: 55.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009452/11.07, allocations: 253.7 kB / 1.825 GB, free: 55.05 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006974/11.07, allocations: 122.7 kB / 1.825 GB, free: 55.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005297/11.07, allocations: 87.67 kB / 1.825 GB, free: 55.04 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.005921/11.08, allocations: 1.896 MB / 1.827 GB, free: 54.89 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01432/11.09, allocations: 1.621 MB / 1.829 GB, free: 54.85 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 163 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00267/11.1, allocations: 0.7246 MB / 1.829 GB, free: 54.67 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01763/11.11, allocations: 4.871 MB / 1.834 GB, free: 54.23 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/11.11, allocations: 0 / 1.834 GB, free: 54.23 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004719/11.12, allocations: 1.226 MB / 1.835 GB, free: 54.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01339/11.13, allocations: 1.187 MB / 1.837 GB, free: 54.19 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/11.16, allocations: 5.973 MB / 1.842 GB, free: 52.79 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008485/11.17, allocations: 2.902 MB / 1.845 GB, free: 52.02 MB / 0.7917 GB Notification: Performance of SimCode: time 1.473e-06/11.17, allocations: 0 / 1.845 GB, free: 52.02 MB / 0.7917 GB