Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) [: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 3.802/3.802, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5177/4.319, allocations: 104.3 MB / 0.5319 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/4.573, allocations: 98.73 MB / 0.6283 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.249/10.82, allocations: 2.469 GB / 3.097 GB, free: 195.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/10.82, allocations: 95.81 kB / 3.097 GB, free: 195.8 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4494 * Number of variables: 4494 Notification: Performance of Generate backend data structure: time 20.46/31.28, allocations: 4.05 GB / 7.147 GB, free: 69.11 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/31.28, allocations: 9.406 kB / 7.147 GB, free: 69.11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04562/31.33, allocations: 4.251 MB / 7.151 GB, free: 67.76 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1444/31.47, allocations: 28.86 MB / 7.179 GB, free: 49.39 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001574/31.47, allocations: 0.5273 MB / 7.18 GB, free: 48.87 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01094/31.49, allocations: 0.9802 MB / 7.181 GB, free: 47.89 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07599/31.56, allocations: 20.15 MB / 7.2 GB, free: 27.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09025/31.65, allocations: 22.23 MB / 7.222 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001476/31.65, allocations: 67.42 kB / 7.222 GB, free: 4.609 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008887/31.66, allocations: 35.91 kB / 7.222 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009836/31.66, allocations: 0.9069 MB / 7.223 GB, free: 3.664 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.279/32.94, allocations: 96.1 MB / 7.317 GB, free: 75.37 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04666/32.99, allocations: 13.87 MB / 7.331 GB, free: 74.8 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0294/33.02, allocations: 7.831 MB / 7.338 GB, free: 74.68 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/33.02, allocations: 2.035 MB / 7.34 GB, free: 72.7 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02605/33.05, allocations: 6.896 MB / 7.347 GB, free: 72.48 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=1031): time 1.696e-05/33.05, allocations: 0 / 7.347 GB, free: 72.48 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1031): time 0.07938/33.13, allocations: 15.59 MB / 7.362 GB, free: 71.41 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/33.13, allocations: 393.7 kB / 7.362 GB, free: 71.06 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04955/33.18, allocations: 15.16 MB / 7.377 GB, free: 70.28 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.003422/33.18, allocations: 42.95 kB / 7.377 GB, free: 70.25 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.02632/33.21, allocations: 6.659 MB / 7.384 GB, free: 67.73 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.03303/33.24, allocations: 3.465 MB / 7.387 GB, free: 65.46 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003829/33.25, allocations: 0 / 7.387 GB, free: 65.46 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.001727/33.25, allocations: 0.8426 MB / 7.388 GB, free: 65.13 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01991/33.27, allocations: 6.364 MB / 7.394 GB, free: 65.1 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02402/33.29, allocations: 9.916 MB / 7.404 GB, free: 61.04 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07539/33.37, allocations: 12.01 MB / 7.416 GB, free: 60.89 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001979/33.37, allocations: 28.62 kB / 7.416 GB, free: 60.89 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1664) (initialization): time 0.1326/33.5, allocations: 21.24 MB / 7.436 GB, free: 59.86 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.02728/33.53, allocations: 67.8 MB / 7.503 GB, free: 53.31 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005429/33.53, allocations: 107.1 kB / 7.503 GB, free: 53.31 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/33.53, allocations: 190 kB / 7.503 GB, free: 53.31 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03678/33.57, allocations: 3.547 MB / 7.506 GB, free: 53.21 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003638/33.57, allocations: 241.6 kB / 7.507 GB, free: 53.21 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03834/33.6, allocations: 1.899 MB / 7.508 GB, free: 52.48 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004898/33.61, allocations: 0.6378 MB / 7.509 GB, free: 52.37 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/33.61, allocations: 3.719 kB / 7.509 GB, free: 52.37 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1163/33.73, allocations: 19.7 MB / 7.528 GB, free: 46.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005596/33.73, allocations: 106.5 kB / 7.528 GB, free: 46.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/33.73, allocations: 190 kB / 7.529 GB, free: 46.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03641/33.76, allocations: 3.545 MB / 7.532 GB, free: 46.59 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004056/33.76, allocations: 237.8 kB / 7.532 GB, free: 46.55 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04406/33.81, allocations: 1.657 MB / 7.534 GB, free: 45.99 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005678/33.81, allocations: 0.6274 MB / 7.535 GB, free: 45.89 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1660): * Single equations (assignments): 1657 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01113/33.82, allocations: 473.5 kB / 7.535 GB, free: 45.48 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0107/33.84, allocations: 1.514 MB / 7.536 GB, free: 44.69 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1/33.94, allocations: 17.69 MB / 7.554 GB, free: 39.51 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002055/33.94, allocations: 103.6 kB / 7.554 GB, free: 39.51 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.504e-05/33.94, allocations: 0 / 7.554 GB, free: 39.51 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1069/34.04, allocations: 14.31 MB / 7.568 GB, free: 33.79 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2246/34.27, allocations: 37.07 MB / 7.604 GB, free: 5.332 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.479e-05/34.27, allocations: 0 / 7.604 GB, free: 5.332 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04895/34.32, allocations: 2.463 MB / 7.606 GB, free: 3.41 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/34.32, allocations: 32 kB / 7.606 GB, free: 3.379 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004569/34.32, allocations: 224.7 kB / 7.607 GB, free: 3.238 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002043/34.32, allocations: 39.75 kB / 7.607 GB, free: 3.203 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/34.32, allocations: 0 / 7.607 GB, free: 3.203 MB / 0.9637 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.159/35.48, allocations: 26.17 MB / 7.632 GB, free: 162.4 MB / 0.9638 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1298/35.61, allocations: 34.5 MB / 7.666 GB, free: 160.7 MB / 0.9638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02023/35.63, allocations: 4.198 MB / 7.67 GB, free: 159.8 MB / 0.9638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01009/35.64, allocations: 63.23 kB / 7.67 GB, free: 159.8 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03446/35.68, allocations: 1.119 MB / 7.671 GB, free: 159.8 MB / 0.9638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004894/35.68, allocations: 0.5123 MB / 7.672 GB, free: 159.7 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004634/35.69, allocations: 382.3 kB / 7.672 GB, free: 159.7 MB / 0.9638 GB Notification: Performance of sort global known variables: time 0.03631/35.72, allocations: 11.66 MB / 7.683 GB, free: 159.3 MB / 0.9638 GB Notification: Performance of remove unused functions: time 0.06096/35.78, allocations: 10.63 MB / 7.694 GB, free: 158.4 MB / 0.9638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1051): * Single equations (assignments): 1043 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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.007039/35.79, allocations: 1.555 MB / 7.695 GB, free: 158.2 MB / 0.9638 GB Notification: Performance of simCode: created initialization part: time 0.07079/35.86, allocations: 24.29 MB / 7.719 GB, free: 157.8 MB / 0.9638 GB Notification: Performance of simCode: created event and clocks part: time 2.452e-05/35.86, allocations: 13.47 kB / 7.719 GB, free: 157.8 MB / 0.9638 GB Notification: Performance of simCode: created simulation system equations: time 0.01978/35.88, allocations: 6.664 MB / 7.726 GB, free: 157.7 MB / 0.9638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08336/35.96, allocations: 8.785 MB / 7.734 GB, free: 157.6 MB / 0.9638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1513/36.12, allocations: 39.1 MB / 7.772 GB, free: 151.1 MB / 0.9638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05322/36.17, allocations: 15.17 MB / 7.787 GB, free: 149.6 MB / 0.9638 GB Notification: Performance of SimCode: time 1.844e-06/36.17, allocations: 0 / 7.787 GB, free: 149.6 MB / 0.9638 GB