Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.054/4.054, allocations: 404 MB / 410.9 MB, free: 8.883 MB / 338.8 MB Notification: Performance of FrontEnd - loaded program: time 0.4478/4.502, allocations: 95.01 MB / 0.4941 GB, free: 7.078 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/4.722, allocations: 92.67 MB / 0.5846 GB, free: 10.21 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.391/6.112, allocations: 340.8 MB / 0.9174 GB, free: 219.5 MB / 0.7527 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004467/6.113, allocations: 87.31 kB / 0.9175 GB, free: 219.5 MB / 0.7527 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.04816/6.161, allocations: 10.56 MB / 0.9278 GB, free: 218.3 MB / 0.7527 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/6.161, allocations: 11.56 kB / 0.9278 GB, free: 218.3 MB / 0.7527 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/6.161, allocations: 27.44 kB / 0.9278 GB, free: 218.3 MB / 0.7527 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/6.162, allocations: 267.9 kB / 0.9281 GB, free: 218 MB / 0.7527 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/6.162, allocations: 3.906 kB / 0.9281 GB, free: 218 MB / 0.7527 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/6.162, allocations: 3.938 kB / 0.9281 GB, free: 218 MB / 0.7527 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003814/6.163, allocations: 95.88 kB / 0.9282 GB, free: 218 MB / 0.7527 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/6.163, allocations: 117 kB / 0.9283 GB, free: 218 MB / 0.7527 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/6.163, allocations: 0 / 0.9283 GB, free: 218 MB / 0.7527 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/6.163, allocations: 0 / 0.9283 GB, free: 218 MB / 0.7527 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/6.163, allocations: 0 / 0.9283 GB, free: 218 MB / 0.7527 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/6.165, allocations: 468.6 kB / 0.9287 GB, free: 217.7 MB / 0.7527 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/6.165, allocations: 83.09 kB / 0.9288 GB, free: 217.7 MB / 0.7527 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/6.165, allocations: 58.14 kB / 0.9289 GB, free: 217.7 MB / 0.7527 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/6.166, allocations: 0.5143 MB / 0.9294 GB, free: 217.1 MB / 0.7527 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/6.166, allocations: 30.56 kB / 0.9294 GB, free: 217.1 MB / 0.7527 GB Notification: Performance of pre-optimization done (n=11): time 2.745e-06/6.166, allocations: 4 kB / 0.9294 GB, free: 217.1 MB / 0.7527 GB Notification: Performance of matching and sorting (n=11): time 0.006979/6.173, allocations: 466.9 kB / 0.9298 GB, free: 217 MB / 0.7527 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/6.173, allocations: 51.41 kB / 0.9299 GB, free: 217 MB / 0.7527 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/6.174, allocations: 190.5 kB / 0.9301 GB, free: 216.9 MB / 0.7527 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/6.174, allocations: 25.7 kB / 0.9301 GB, free: 216.8 MB / 0.7527 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/6.174, allocations: 119.9 kB / 0.9302 GB, free: 216.8 MB / 0.7527 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/6.174, allocations: 34.2 kB / 0.9302 GB, free: 216.7 MB / 0.7527 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/6.174, allocations: 0 / 0.9302 GB, free: 216.7 MB / 0.7527 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/6.174, allocations: 332.2 kB / 0.9306 GB, free: 216.4 MB / 0.7527 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/6.174, allocations: 45.14 kB / 0.9306 GB, free: 216.4 MB / 0.7527 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/6.174, allocations: 48.89 kB / 0.9306 GB, free: 216.4 MB / 0.7527 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006524/6.181, allocations: 359.5 kB / 0.931 GB, free: 216.4 MB / 0.7527 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/6.181, allocations: 3.906 kB / 0.931 GB, free: 216.4 MB / 0.7527 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.006934/6.188, allocations: 464.5 kB / 0.9314 GB, free: 216.3 MB / 0.7527 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/6.188, allocations: 7.906 kB / 0.9314 GB, free: 216.3 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/6.188, allocations: 3.906 kB / 0.9314 GB, free: 216.3 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/6.188, allocations: 3.906 kB / 0.9314 GB, free: 216.3 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/6.189, allocations: 64.5 kB / 0.9315 GB, free: 216.3 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/6.189, allocations: 0 / 0.9315 GB, free: 216.3 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/6.189, allocations: 42.5 kB / 0.9315 GB, free: 216.3 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/6.189, allocations: 7.328 kB / 0.9316 GB, free: 216.3 MB / 0.7527 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001114/6.189, allocations: 108.3 kB / 0.9317 GB, free: 216.2 MB / 0.7527 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/6.189, allocations: 23.47 kB / 0.9317 GB, free: 216.2 MB / 0.7527 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007112/6.197, allocations: 0.4896 MB / 0.9322 GB, free: 216.1 MB / 0.7527 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/6.197, allocations: 7.844 kB / 0.9322 GB, free: 216.1 MB / 0.7527 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/6.197, allocations: 4 kB / 0.9322 GB, free: 216.1 MB / 0.7527 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/6.197, allocations: 3.984 kB / 0.9322 GB, free: 216.1 MB / 0.7527 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/6.197, allocations: 241.8 kB / 0.9324 GB, free: 216 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/6.197, allocations: 0 / 0.9324 GB, free: 216 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/6.198, allocations: 61.31 kB / 0.9325 GB, free: 216 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/6.198, allocations: 0 / 0.9325 GB, free: 216 MB / 0.7527 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/6.198, allocations: 7.109 kB / 0.9325 GB, free: 216 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/6.198, allocations: 3.906 kB / 0.9325 GB, free: 216 MB / 0.7527 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/6.198, allocations: 0 / 0.9325 GB, free: 216 MB / 0.7527 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007013/6.205, allocations: 0.5504 MB / 0.933 GB, free: 215.8 MB / 0.7527 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007771/6.213, allocations: 0.9432 MB / 0.9339 GB, free: 215.3 MB / 0.7527 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/6.213, allocations: 121.4 kB / 0.934 GB, free: 215.1 MB / 0.7527 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/6.213, allocations: 0 / 0.934 GB, free: 215.1 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/6.214, allocations: 41.98 kB / 0.9341 GB, free: 215.1 MB / 0.7527 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/6.214, allocations: 14.12 kB / 0.9341 GB, free: 215.1 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/6.214, allocations: 7.906 kB / 0.9341 GB, free: 215.1 MB / 0.7527 GB Notification: Performance of sort global known variables: time 0.0001875/6.214, allocations: 152 kB / 0.9343 GB, free: 215.1 MB / 0.7527 GB Notification: Performance of remove unused functions: time 0.001587/6.216, allocations: 73.61 kB / 0.9343 GB, free: 215 MB / 0.7527 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.000454/6.216, allocations: 184.8 kB / 0.9345 GB, free: 214.9 MB / 0.7527 GB Notification: Performance of simCode: created initialization part: time 0.0006237/6.217, allocations: 117.2 kB / 0.9346 GB, free: 214.9 MB / 0.7527 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/6.217, allocations: 3.938 kB / 0.9346 GB, free: 214.9 MB / 0.7527 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/6.217, allocations: 69.91 kB / 0.9347 GB, free: 214.9 MB / 0.7527 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/6.218, allocations: 22.52 kB / 0.9347 GB, free: 214.9 MB / 0.7527 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/6.219, allocations: 240.9 kB / 0.9349 GB, free: 214.8 MB / 0.7527 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/6.219, allocations: 0.7704 MB / 0.9357 GB, free: 214.1 MB / 0.7527 GB Notification: Performance of SimCode: time 1.683e-06/6.219, allocations: 0 / 0.9357 GB, free: 214.1 MB / 0.7527 GB