Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",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.216/4.216, allocations: 403.9 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3068/4.523, allocations: 95 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/5.057, allocations: 92.68 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.402/11.46, allocations: 2.444 GB / 3.028 GB, free: 178.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/11.46, allocations: 91.77 kB / 3.028 GB, free: 178.6 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: 4488 * Number of variables: 4488 Notification: Performance of Generate backend data structure: time 22.23/33.69, allocations: 3.981 GB / 7.009 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/33.69, allocations: 11.72 kB / 7.009 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04969/33.74, allocations: 4.314 MB / 7.013 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2065/33.94, allocations: 44.74 MB / 7.057 GB, free: 59.99 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001364/33.95, allocations: 0.552 MB / 7.058 GB, free: 59.99 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01013/33.96, allocations: 1.036 MB / 7.059 GB, free: 59.98 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08038/34.04, allocations: 20.19 MB / 7.078 GB, free: 59.91 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09555/34.13, allocations: 22.6 MB / 7.1 GB, free: 56.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001495/34.13, allocations: 82.27 kB / 7.1 GB, free: 56.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008202/34.14, allocations: 36.34 kB / 7.1 GB, free: 56.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007474/34.14, allocations: 0.5666 MB / 7.101 GB, free: 56.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2468/34.39, allocations: 96.37 MB / 7.195 GB, free: 28.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02486/34.41, allocations: 8.163 MB / 7.203 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02424/34.44, allocations: 7.999 MB / 7.211 GB, free: 28.49 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003923/34.44, allocations: 1.4 MB / 7.212 GB, free: 27.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0275/34.47, allocations: 8.102 MB / 7.22 GB, free: 26.87 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1101): time 2.422e-05/34.47, allocations: 0 / 7.22 GB, free: 26.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1161): time 0.2975/34.77, allocations: 53.11 MB / 7.272 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003233/34.77, allocations: 462.5 kB / 7.272 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0574/34.82, allocations: 14.49 MB / 7.287 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.005221/34.83, allocations: 37.7 kB / 7.287 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.02288/34.85, allocations: 6.426 MB / 7.293 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.02997/34.88, allocations: 3.873 MB / 7.297 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004903/34.89, allocations: 2.406 kB / 7.297 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.002367/34.89, allocations: 0.8914 MB / 7.298 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02862/34.92, allocations: 7.371 MB / 7.305 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.9262/35.85, allocations: 12.59 MB / 7.317 GB, free: 170.1 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1322/35.98, allocations: 13 MB / 7.33 GB, free: 170 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001855/35.98, allocations: 31.03 kB / 7.33 GB, free: 170 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1818) (initialization): time 0.1706/36.15, allocations: 25.96 MB / 7.355 GB, free: 169.7 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.01285/36.16, allocations: 62.63 MB / 7.416 GB, free: 104.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000542/36.16, allocations: 100.3 kB / 7.416 GB, free: 104.9 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0354/36.2, allocations: 3.511 MB / 7.42 GB, free: 104.8 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04193/36.24, allocations: 3.576 MB / 7.423 GB, free: 104.8 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08653/36.33, allocations: 17.09 MB / 7.44 GB, free: 101.2 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04738/36.37, allocations: 1.018 MB / 7.441 GB, free: 101.2 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006248/36.38, allocations: 0.677 MB / 7.442 GB, free: 101.2 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/36.38, allocations: 3.906 kB / 7.442 GB, free: 101.2 MB / 0.9012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1578/36.54, allocations: 24.36 MB / 7.465 GB, free: 100.9 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004648/36.54, allocations: 97.28 kB / 7.466 GB, free: 100.9 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03651/36.57, allocations: 3.706 MB / 7.469 GB, free: 100.9 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04158/36.62, allocations: 3.558 MB / 7.473 GB, free: 100.9 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06855/36.68, allocations: 17.12 MB / 7.489 GB, free: 97.19 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03792/36.72, allocations: 1.018 MB / 7.49 GB, free: 97.19 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006085/36.73, allocations: 0.673 MB / 7.491 GB, free: 97.19 MB / 0.9012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * 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 (1694): * Single equations (assignments): 1688 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 59,1 2,1 59} Notification: Performance of prepare postOptimizeDAE: time 0.008834/36.74, allocations: 456 kB / 7.491 GB, free: 97.08 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008522/36.75, allocations: 1.524 MB / 7.493 GB, free: 97.08 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1272/36.87, allocations: 22.85 MB / 7.515 GB, free: 96.08 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003445/36.87, allocations: 147.2 kB / 7.515 GB, free: 96.08 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.077e-05/36.87, allocations: 1.594 kB / 7.515 GB, free: 96.08 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0973/36.97, allocations: 18.53 MB / 7.534 GB, free: 95.27 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2066/37.18, allocations: 43.76 MB / 7.576 GB, free: 91.86 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001681/37.18, allocations: 31.31 kB / 7.576 GB, free: 91.86 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03123/37.21, allocations: 2.565 MB / 7.579 GB, free: 91.79 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/37.22, allocations: 2.735 MB / 7.581 GB, free: 91.29 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0039/37.22, allocations: 288.5 kB / 7.582 GB, free: 91.29 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03605/37.26, allocations: 37.75 MB / 7.619 GB, free: 58.81 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.594e-05/37.26, allocations: 46.8 kB / 7.619 GB, free: 58.8 MB / 0.9012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1459/37.41, allocations: 41.72 MB / 7.659 GB, free: 42.28 MB / 0.9012 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 1.037/38.44, allocations: 52.4 MB / 7.711 GB, free: 155.7 MB / 0.9013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02106/38.47, allocations: 4.187 MB / 7.715 GB, free: 155.7 MB / 0.9013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009754/38.48, allocations: 101.6 kB / 7.715 GB, free: 155.7 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03692/38.51, allocations: 1.097 MB / 7.716 GB, free: 155.7 MB / 0.9013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003912/38.52, allocations: 0.7296 MB / 7.717 GB, free: 155.6 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004185/38.52, allocations: 0.5297 MB / 7.717 GB, free: 155.6 MB / 0.9013 GB Notification: Performance of sort global known variables: time 0.03707/38.56, allocations: 11.08 MB / 7.728 GB, free: 155.3 MB / 0.9013 GB Notification: Performance of remove unused functions: time 0.07146/38.63, allocations: 8.989 MB / 7.737 GB, free: 155.3 MB / 0.9013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 127 * Number of states: 60 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.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 (1116): * Single equations (assignments): 1051 * 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: 61 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 61 {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,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.01126/38.64, allocations: 2.366 MB / 7.739 GB, free: 155 MB / 0.9013 GB Notification: Performance of simCode: created initialization part: time 0.1133/38.75, allocations: 29.9 MB / 7.768 GB, free: 153.9 MB / 0.9013 GB Notification: Performance of simCode: created event and clocks part: time 4.51e-05/38.75, allocations: 13.69 kB / 7.768 GB, free: 153.9 MB / 0.9013 GB Notification: Performance of simCode: created simulation system equations: time 0.03219/38.79, allocations: 8.561 MB / 7.777 GB, free: 153.7 MB / 0.9013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1086/38.89, allocations: 9.004 MB / 7.785 GB, free: 153.5 MB / 0.9013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/39.1, allocations: 42.93 MB / 7.827 GB, free: 145.5 MB / 0.9013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0568/39.16, allocations: 15.6 MB / 7.842 GB, free: 144 MB / 0.9013 GB Notification: Performance of SimCode: time 3.386e-06/39.16, allocations: 0 / 7.842 GB, free: 144 MB / 0.9013 GB