Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",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.506/4.506, allocations: 404 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.265/4.771, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/5.367, allocations: 92.67 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.306/11.67, allocations: 2.442 GB / 3.027 GB, free: 180.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/11.67, allocations: 86.83 kB / 3.027 GB, free: 180.4 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableValueNoDer. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2329 * Number of variables: 2329 Notification: Performance of Generate backend data structure: time 10.9/22.57, allocations: 2.018 GB / 5.046 GB, free: 85.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/22.57, allocations: 10.5 kB / 5.046 GB, free: 85.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02609/22.6, allocations: 2.318 MB / 5.048 GB, free: 84.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1032/22.7, allocations: 23.08 MB / 5.07 GB, free: 83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006993/22.7, allocations: 292.4 kB / 5.071 GB, free: 83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00508/22.7, allocations: 0.5404 MB / 5.071 GB, free: 83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04143/22.75, allocations: 10.62 MB / 5.081 GB, free: 82.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05118/22.8, allocations: 11.63 MB / 5.093 GB, free: 81.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007597/22.8, allocations: 41.28 kB / 5.093 GB, free: 81.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004883/22.8, allocations: 19.06 kB / 5.093 GB, free: 81.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005359/22.8, allocations: 306.7 kB / 5.093 GB, free: 81.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1445/22.95, allocations: 49.29 MB / 5.141 GB, free: 59.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/22.96, allocations: 4.353 MB / 5.146 GB, free: 59.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01202/22.97, allocations: 4.146 MB / 5.15 GB, free: 59.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/22.98, allocations: 1.183 MB / 5.151 GB, free: 58.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01395/22.99, allocations: 4.262 MB / 5.155 GB, free: 57.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=588): time 1.362e-05/22.99, allocations: 0 / 5.155 GB, free: 57.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=618): time 0.1431/23.13, allocations: 24.5 MB / 5.179 GB, free: 50.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/23.13, allocations: 319.4 kB / 5.179 GB, free: 50.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.024/23.16, allocations: 7.498 MB / 5.187 GB, free: 47.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.002392/23.16, allocations: 29.36 kB / 5.187 GB, free: 47.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.009657/23.17, allocations: 3.33 MB / 5.19 GB, free: 45.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.01234/23.18, allocations: 2.058 MB / 5.192 GB, free: 43.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002446/23.18, allocations: 0 / 5.192 GB, free: 43.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.001332/23.19, allocations: 0.6044 MB / 5.192 GB, free: 43.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01788/23.2, allocations: 3.812 MB / 5.196 GB, free: 41.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01577/23.22, allocations: 5.551 MB / 5.202 GB, free: 38.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0549/23.27, allocations: 6.691 MB / 5.208 GB, free: 36.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/23.27, allocations: 14.19 kB / 5.208 GB, free: 36.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.1062/23.38, allocations: 13.43 MB / 5.221 GB, free: 28.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.01073/23.39, allocations: 25.33 MB / 5.246 GB, free: 17.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003502/23.39, allocations: 52 kB / 5.246 GB, free: 17.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02735/23.42, allocations: 1.808 MB / 5.248 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0305/23.45, allocations: 1.868 MB / 5.25 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04997/23.5, allocations: 9.297 MB / 5.259 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0302/23.53, allocations: 0.5329 MB / 5.259 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004126/23.53, allocations: 360.5 kB / 5.26 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/23.53, allocations: 6.812 kB / 5.26 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09187/23.63, allocations: 12.64 MB / 5.272 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002104/23.63, allocations: 52 kB / 5.272 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02159/23.65, allocations: 1.914 MB / 5.274 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04403/23.69, allocations: 1.859 MB / 5.276 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7649/24.46, allocations: 9.478 MB / 5.285 GB, free: 176.5 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02098/24.48, allocations: 0.5252 MB / 5.285 GB, free: 176.5 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00298/24.48, allocations: 359.3 kB / 5.286 GB, free: 176.5 MB / 0.8074 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 226 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$PRE.datRea.nextTimeEvent,$whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (888): * Single equations (assignments): 883 * Array equations: 0 * Algorithm blocks: 3 * 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 59,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004038/24.49, allocations: 294.7 kB / 5.286 GB, free: 176.4 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004049/24.49, allocations: 0.7998 MB / 5.287 GB, free: 176.4 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06665/24.56, allocations: 12.01 MB / 5.298 GB, free: 175.8 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001337/24.56, allocations: 75.78 kB / 5.299 GB, free: 175.8 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/24.56, allocations: 3.469 kB / 5.299 GB, free: 175.8 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05236/24.61, allocations: 9.676 MB / 5.308 GB, free: 175.3 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09932/24.71, allocations: 22.65 MB / 5.33 GB, free: 173.6 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.928e-05/24.71, allocations: 14.16 kB / 5.33 GB, free: 173.6 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01838/24.73, allocations: 1.362 MB / 5.331 GB, free: 173.6 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006787/24.73, allocations: 1.413 MB / 5.333 GB, free: 173.4 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002019/24.74, allocations: 150.9 kB / 5.333 GB, free: 173.4 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/24.76, allocations: 19.61 MB / 5.352 GB, free: 156.7 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-05/24.76, allocations: 22.25 kB / 5.352 GB, free: 156.7 MB / 0.8074 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06664/24.82, allocations: 19.18 MB / 5.371 GB, free: 151.8 MB / 0.8074 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0888/24.91, allocations: 25 MB / 5.395 GB, free: 146.4 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01059/24.92, allocations: 2.234 MB / 5.398 GB, free: 145.8 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004924/24.93, allocations: 54.67 kB / 5.398 GB, free: 145.8 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01977/24.95, allocations: 0.5865 MB / 5.398 GB, free: 145.8 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002239/24.95, allocations: 387.6 kB / 5.399 GB, free: 145.8 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002214/24.95, allocations: 292.7 kB / 5.399 GB, free: 145.8 MB / 0.8074 GB Notification: Performance of sort global known variables: time 0.01789/24.97, allocations: 5.736 MB / 5.404 GB, free: 145.5 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.03689/25.01, allocations: 4.86 MB / 5.409 GB, free: 145.5 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 30 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,weaDat.conTim.tStart,weaDat.conTim1.tStart,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (601): * Single equations (assignments): 566 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 31 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 31 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007484/25.01, allocations: 1.989 MB / 5.411 GB, free: 145.3 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.05706/25.07, allocations: 15.7 MB / 5.426 GB, free: 144.5 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 3.041e-05/25.07, allocations: 4.906 kB / 5.426 GB, free: 144.5 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.01734/25.09, allocations: 4.556 MB / 5.431 GB, free: 144.3 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04945/25.14, allocations: 4.578 MB / 5.435 GB, free: 144.2 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0945/25.23, allocations: 21.95 MB / 5.457 GB, free: 140.4 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02856/25.26, allocations: 8.338 MB / 5.465 GB, free: 139.4 MB / 0.8074 GB Notification: Performance of SimCode: time 1.783e-06/25.26, allocations: 0 / 5.465 GB, free: 139.4 MB / 0.8074 GB