Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.579/2.579, allocations: 284.8 MB / 292.1 MB, free: 10.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001652, allocations: 193.2 kB / 360.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.1 MB / 0.6187 GB, free: 13.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001343/0.001342, allocations: 86.84 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.285/0.2864, allocations: 121.4 MB / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.9582, allocations: 115.2 MB / 0.9627 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.51/6.468, allocations: 2.355 GB / 3.318 GB, free: 34.69 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/6.468, allocations: 91.94 kB / 3.318 GB, free: 34.64 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 20.91/27.38, allocations: 4.175 GB / 7.493 GB, free: 90.98 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/27.38, allocations: 7.969 kB / 7.493 GB, free: 90.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05344/27.44, allocations: 3.874 MB / 7.497 GB, free: 89.74 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1592/27.59, allocations: 29.14 MB / 7.525 GB, free: 87.39 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001583/27.6, allocations: 0.5269 MB / 7.526 GB, free: 87.39 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009908/27.61, allocations: 0.97 MB / 7.526 GB, free: 87.38 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08297/27.69, allocations: 19.85 MB / 7.546 GB, free: 87.31 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1046/27.79, allocations: 22.75 MB / 7.568 GB, free: 84.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001765/27.8, allocations: 69.28 kB / 7.568 GB, free: 84.74 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01084/27.81, allocations: 38.55 kB / 7.568 GB, free: 84.74 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001491/27.81, allocations: 0.9056 MB / 7.569 GB, free: 84.71 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2983/28.11, allocations: 96.67 MB / 7.663 GB, free: 45.83 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04716/28.15, allocations: 13.79 MB / 7.677 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02398/28.18, allocations: 7.746 MB / 7.684 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004393/28.18, allocations: 2.028 MB / 7.686 GB, free: 36.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0266/28.21, allocations: 7.728 MB / 7.694 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1020): time 1.884e-05/28.21, allocations: 0 / 7.694 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1020): time 0.1032/28.31, allocations: 15.16 MB / 7.709 GB, free: 23.53 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002804/28.31, allocations: 419.8 kB / 7.709 GB, free: 23.05 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06518/28.38, allocations: 15.16 MB / 7.724 GB, free: 26.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003986/28.38, allocations: 37.7 kB / 7.724 GB, free: 25.98 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.02657/28.41, allocations: 6.649 MB / 7.731 GB, free: 20.22 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.04914/28.46, allocations: 3.435 MB / 7.734 GB, free: 17.05 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004843/28.46, allocations: 0 / 7.734 GB, free: 17.05 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.00292/28.47, allocations: 0.8301 MB / 7.735 GB, free: 16.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03112/28.5, allocations: 6.27 MB / 7.741 GB, free: 10.84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04101/28.54, allocations: 9.806 MB / 7.75 GB, free: 500 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06018/28.6, allocations: 10.61 MB / 7.761 GB, free: 8.352 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001862/28.6, allocations: 28 kB / 7.761 GB, free: 8.324 MB / 1.026 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 1.029/29.63, allocations: 19.61 MB / 7.78 GB, free: 211.8 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0161/29.64, allocations: 67.82 MB / 7.846 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004812/29.64, allocations: 112.8 kB / 7.846 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/29.64, allocations: 186.8 kB / 7.846 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0395/29.68, allocations: 3.464 MB / 7.85 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003358/29.68, allocations: 239.1 kB / 7.85 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04451/29.73, allocations: 1.838 MB / 7.852 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005303/29.73, allocations: 0.6184 MB / 7.852 GB, free: 141.9 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/29.73, allocations: 5.906 kB / 7.852 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08792/29.82, allocations: 18.06 MB / 7.87 GB, free: 141.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004687/29.82, allocations: 103.8 kB / 7.87 GB, free: 141.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/29.82, allocations: 188.9 kB / 7.87 GB, free: 141.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03447/29.86, allocations: 3.464 MB / 7.874 GB, free: 141.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003235/29.86, allocations: 239.8 kB / 7.874 GB, free: 141.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04661/29.9, allocations: 1.606 MB / 7.876 GB, free: 141.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004699/29.91, allocations: 0.6158 MB / 7.876 GB, free: 141.6 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1636): * Single equations (assignments): 1636 * 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.01008/29.92, allocations: 468.5 kB / 7.877 GB, free: 141.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01287/29.93, allocations: 1.527 MB / 7.878 GB, free: 140.9 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1236/30.06, allocations: 17.22 MB / 7.895 GB, free: 140.4 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000132/30.06, allocations: 96.59 kB / 7.895 GB, free: 140.4 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-05/30.06, allocations: 0 / 7.895 GB, free: 140.4 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0675/30.12, allocations: 13.87 MB / 7.909 GB, free: 140 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1792/30.3, allocations: 37.27 MB / 7.945 GB, free: 138.4 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.641e-05/30.3, allocations: 17.44 kB / 7.945 GB, free: 138.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02931/30.33, allocations: 2.424 MB / 7.947 GB, free: 138.4 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/30.33, allocations: 52.5 kB / 7.947 GB, free: 138.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003226/30.34, allocations: 230.4 kB / 7.948 GB, free: 138.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001246/30.34, allocations: 60.73 kB / 7.948 GB, free: 138.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-05/30.34, allocations: 24.47 kB / 7.948 GB, free: 138.4 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1169/30.45, allocations: 30.34 MB / 7.977 GB, free: 129.9 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1227/30.58, allocations: 39.55 MB / 8.016 GB, free: 120.9 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02109/30.6, allocations: 4.432 MB / 8.02 GB, free: 120 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0102/30.61, allocations: 86.38 kB / 8.02 GB, free: 120 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03419/30.64, allocations: 0.9469 MB / 8.021 GB, free: 120 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003625/30.65, allocations: 0.5534 MB / 8.022 GB, free: 120 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00609/30.65, allocations: 0.5453 MB / 8.022 GB, free: 120 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.05076/30.7, allocations: 11.67 MB / 8.034 GB, free: 119.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.07558/30.78, allocations: 10.58 MB / 8.044 GB, free: 118.3 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1040): * Single equations (assignments): 1034 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.01235/30.79, allocations: 1.336 MB / 8.045 GB, free: 118.1 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.08438/30.87, allocations: 23.58 MB / 8.068 GB, free: 117.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.622e-05/30.87, allocations: 20.55 kB / 8.068 GB, free: 117.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.02908/30.9, allocations: 6.494 MB / 8.075 GB, free: 117.2 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1259/31.03, allocations: 8.839 MB / 8.083 GB, free: 115.5 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1643/31.19, allocations: 39.38 MB / 8.122 GB, free: 81.45 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05359/31.25, allocations: 15.13 MB / 8.137 GB, free: 70.23 MB / 1.026 GB Notification: Performance of SimCode: time 1.352e-06/31.25, allocations: 0 / 8.137 GB, free: 70.23 MB / 1.026 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)