Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001063/0.001063, allocations: 185.2 kB / 366.3 MB, free: 2.016 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.528/1.528, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0009223/0.0009222, allocations: 89.44 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2927/0.2937, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.9925, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.791/5.783, allocations: 2.356 GB / 3.329 GB, free: 97.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/5.784, allocations: 92.47 kB / 3.329 GB, free: 97.03 MB / 0.948 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 16.33/22.11, allocations: 4.175 GB / 7.504 GB, free: 164.5 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/22.11, allocations: 11.12 kB / 7.504 GB, free: 164.5 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03057/22.14, allocations: 3.877 MB / 7.508 GB, free: 163.2 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08727/22.23, allocations: 29.14 MB / 7.536 GB, free: 160.9 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/22.23, allocations: 0.5285 MB / 7.537 GB, free: 160.9 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009607/22.24, allocations: 0.9701 MB / 7.537 GB, free: 160.9 MB / 1.011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05409/22.3, allocations: 19.86 MB / 7.557 GB, free: 160.8 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07561/22.37, allocations: 22.75 MB / 7.579 GB, free: 158.3 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009923/22.37, allocations: 66.34 kB / 7.579 GB, free: 158.3 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008243/22.38, allocations: 37.78 kB / 7.579 GB, free: 158.3 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007291/22.38, allocations: 0.9075 MB / 7.58 GB, free: 158.2 MB / 1.011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1819/22.56, allocations: 96.67 MB / 7.674 GB, free: 121.5 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02498/22.59, allocations: 13.8 MB / 7.688 GB, free: 120.9 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01206/22.6, allocations: 7.742 MB / 7.695 GB, free: 120.8 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002651/22.6, allocations: 2.031 MB / 7.697 GB, free: 118.8 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01609/22.62, allocations: 7.723 MB / 7.705 GB, free: 118.6 MB / 1.011 GB Notification: Performance of pre-optimization done (n=1020): time 2.217e-05/22.62, allocations: 0 / 7.705 GB, free: 118.6 MB / 1.011 GB Notification: Performance of matching and sorting (n=1020): time 0.05061/22.67, allocations: 15.17 MB / 7.72 GB, free: 117.6 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/22.67, allocations: 415.9 kB / 7.72 GB, free: 117.2 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03616/22.71, allocations: 15.17 MB / 7.735 GB, free: 116.4 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.003428/22.71, allocations: 37.67 kB / 7.735 GB, free: 116.3 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.02173/22.73, allocations: 6.638 MB / 7.742 GB, free: 112.8 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.02123/22.75, allocations: 3.437 MB / 7.745 GB, free: 110.5 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003281/22.76, allocations: 0 / 7.745 GB, free: 110.5 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001842/22.76, allocations: 0.8296 MB / 7.746 GB, free: 110.2 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01535/22.77, allocations: 6.265 MB / 7.752 GB, free: 110.1 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01947/22.79, allocations: 9.804 MB / 7.761 GB, free: 106.1 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03279/22.83, allocations: 10.55 MB / 7.772 GB, free: 103.9 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002649/22.83, allocations: 34.31 kB / 7.772 GB, free: 103.9 MB / 1.011 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.0649/22.89, allocations: 19.59 MB / 7.791 GB, free: 98.22 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.8981/23.79, allocations: 67.82 MB / 7.857 GB, free: 144.2 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006857/23.79, allocations: 109.8 kB / 7.857 GB, free: 144.2 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/23.79, allocations: 186.2 kB / 7.857 GB, free: 144.2 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0207/23.81, allocations: 3.462 MB / 7.861 GB, free: 144.2 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004855/23.81, allocations: 239.4 kB / 7.861 GB, free: 144.2 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0267/23.84, allocations: 1.843 MB / 7.863 GB, free: 144.2 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004813/23.84, allocations: 0.6176 MB / 7.863 GB, free: 144.2 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/23.84, allocations: 3.844 kB / 7.863 GB, free: 144.2 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05537/23.9, allocations: 18.07 MB / 7.881 GB, free: 144 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003437/23.9, allocations: 105 kB / 7.881 GB, free: 144 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/23.9, allocations: 185 kB / 7.881 GB, free: 144 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01957/23.92, allocations: 3.461 MB / 7.885 GB, free: 144 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002798/23.92, allocations: 243.2 kB / 7.885 GB, free: 144 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02607/23.95, allocations: 1.601 MB / 7.887 GB, free: 144 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005255/23.95, allocations: 0.6121 MB / 7.887 GB, free: 144 MB / 1.011 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.007646/23.96, allocations: 470.1 kB / 7.888 GB, free: 143.9 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008669/23.97, allocations: 1.518 MB / 7.889 GB, free: 143.9 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0579/24.02, allocations: 17.22 MB / 7.906 GB, free: 143.4 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.003e-05/24.02, allocations: 101.3 kB / 7.906 GB, free: 143.4 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/24.02, allocations: 3.062 kB / 7.906 GB, free: 143.4 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03882/24.06, allocations: 13.87 MB / 7.919 GB, free: 143.1 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09643/24.16, allocations: 37.28 MB / 7.956 GB, free: 141.7 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/24.16, allocations: 15.41 kB / 7.956 GB, free: 141.7 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01499/24.18, allocations: 2.421 MB / 7.958 GB, free: 141.7 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/24.18, allocations: 50.97 kB / 7.958 GB, free: 141.7 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002354/24.18, allocations: 233.2 kB / 7.959 GB, free: 141.7 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.248e-05/24.18, allocations: 56.59 kB / 7.959 GB, free: 141.7 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.612e-05/24.18, allocations: 23.53 kB / 7.959 GB, free: 141.7 MB / 1.011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05548/24.23, allocations: 30.34 MB / 7.988 GB, free: 133.4 MB / 1.011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06773/24.3, allocations: 39.56 MB / 8.027 GB, free: 124.4 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01746/24.32, allocations: 4.434 MB / 8.031 GB, free: 123.5 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008217/24.33, allocations: 85.45 kB / 8.031 GB, free: 123.5 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02114/24.35, allocations: 0.9518 MB / 8.032 GB, free: 123.5 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002829/24.35, allocations: 0.5492 MB / 8.033 GB, free: 123.4 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002296/24.35, allocations: 0.547 MB / 8.033 GB, free: 123.4 MB / 1.011 GB Notification: Performance of sort global known variables: time 0.02681/24.38, allocations: 11.67 MB / 8.045 GB, free: 123 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.05076/24.43, allocations: 10.58 MB / 8.055 GB, free: 121.3 MB / 1.011 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.005774/24.44, allocations: 1.339 MB / 8.056 GB, free: 121.1 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.05025/24.49, allocations: 23.58 MB / 8.079 GB, free: 120.9 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 5.186e-05/24.49, allocations: 24.33 kB / 8.079 GB, free: 120.9 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0116/24.5, allocations: 6.494 MB / 8.086 GB, free: 120.8 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05075/24.55, allocations: 8.836 MB / 8.094 GB, free: 120.6 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1094/24.66, allocations: 39.37 MB / 8.133 GB, free: 110 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0392/24.7, allocations: 15.13 MB / 8.148 GB, free: 101.2 MB / 1.011 GB Notification: Performance of SimCode: time 2.545e-06/24.7, allocations: 0 / 8.148 GB, free: 101.2 MB / 1.011 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)