Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_8_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.8 MB / 297.1 MB, free: 9.008 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.001075/0.001075, allocations: 181.2 kB / 366.3 MB, free: 11.3 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.405/1.405, allocations: 205.1 MB / 0.6255 GB, free: 11.36 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009475/0.0009476, allocations: 87.27 kB / 0.7396 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5559/0.5569, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.7918, allocations: 116.3 MB / 0.9726 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.178/5.97, allocations: 2.36 GB / 3.332 GB, free: 327.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/5.97, allocations: 95 kB / 3.332 GB, free: 327.8 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: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 15.34/21.31, allocations: 4.178 GB / 7.51 GB, free: 98.19 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/21.31, allocations: 10.69 kB / 7.51 GB, free: 98.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03218/21.34, allocations: 4.136 MB / 7.515 GB, free: 96.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09614/21.44, allocations: 29.28 MB / 7.543 GB, free: 94.29 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001406/21.44, allocations: 0.5292 MB / 7.544 GB, free: 94.29 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009539/21.45, allocations: 0.9802 MB / 7.545 GB, free: 94.28 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06877/21.52, allocations: 20.07 MB / 7.564 GB, free: 94.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1036/21.62, allocations: 22.8 MB / 7.586 GB, free: 91.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001769/21.62, allocations: 63.95 kB / 7.586 GB, free: 91.55 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01107/21.63, allocations: 46.75 kB / 7.587 GB, free: 91.54 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00157/21.64, allocations: 0.9055 MB / 7.587 GB, free: 91.5 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2461/21.88, allocations: 96.7 MB / 7.682 GB, free: 18.34 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02958/21.91, allocations: 13.77 MB / 7.695 GB, free: 4.992 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.047/22.96, allocations: 7.834 MB / 7.703 GB, free: 193.4 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002968/22.96, allocations: 2.033 MB / 7.705 GB, free: 191.4 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01689/22.98, allocations: 7.323 MB / 7.712 GB, free: 191.2 MB / 1.011 GB Notification: Performance of pre-optimization done (n=1035): time 1.729e-05/22.98, allocations: 0 / 7.712 GB, free: 191.2 MB / 1.011 GB Notification: Performance of matching and sorting (n=1035): time 0.05536/23.03, allocations: 15.3 MB / 7.727 GB, free: 190.9 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000252/23.03, allocations: 417.7 kB / 7.727 GB, free: 190.6 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04263/23.08, allocations: 15.19 MB / 7.742 GB, free: 189.9 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.003995/23.08, allocations: 46.42 kB / 7.742 GB, free: 189.8 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.02392/23.1, allocations: 6.649 MB / 7.749 GB, free: 188.2 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.02124/23.13, allocations: 3.482 MB / 7.752 GB, free: 186.2 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00306/23.13, allocations: 0 / 7.752 GB, free: 186.2 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001733/23.13, allocations: 0.8352 MB / 7.753 GB, free: 185.9 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01297/23.14, allocations: 6.318 MB / 7.759 GB, free: 185.9 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01792/23.16, allocations: 9.872 MB / 7.769 GB, free: 181.8 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04339/23.21, allocations: 11.7 MB / 7.78 GB, free: 181.7 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002208/23.21, allocations: 29.19 kB / 7.78 GB, free: 181.7 MB / 1.011 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07432/23.28, allocations: 20.84 MB / 7.801 GB, free: 180.6 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.01545/23.3, allocations: 68.12 MB / 7.867 GB, free: 110.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000558/23.3, allocations: 106.9 kB / 7.867 GB, free: 110.1 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/23.3, allocations: 189 kB / 7.867 GB, free: 110.1 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02005/23.32, allocations: 3.528 MB / 7.871 GB, free: 110.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004771/23.32, allocations: 246.9 kB / 7.871 GB, free: 110.1 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02587/23.34, allocations: 1.882 MB / 7.873 GB, free: 109.4 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005049/23.35, allocations: 0.6251 MB / 7.874 GB, free: 109.4 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/23.35, allocations: 3.844 kB / 7.874 GB, free: 109.4 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06983/23.42, allocations: 19.29 MB / 7.892 GB, free: 109.2 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005874/23.42, allocations: 108.8 kB / 7.893 GB, free: 109.2 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/23.42, allocations: 187.8 kB / 7.893 GB, free: 109.2 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02078/23.44, allocations: 3.528 MB / 7.896 GB, free: 109.2 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003581/23.44, allocations: 238.1 kB / 7.896 GB, free: 109.2 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02505/23.47, allocations: 1.645 MB / 7.898 GB, free: 108.6 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005383/23.47, allocations: 0.6272 MB / 7.899 GB, free: 108.6 MB / 1.011 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.conTimMin.tNext,weaDat.conTimMin.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 (1657): * Single equations (assignments): 1657 * 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.007788/23.48, allocations: 483.9 kB / 7.899 GB, free: 108.4 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008891/23.49, allocations: 1.529 MB / 7.901 GB, free: 107.6 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0575/23.54, allocations: 17.36 MB / 7.918 GB, free: 107.1 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.973e-05/23.54, allocations: 110.6 kB / 7.918 GB, free: 107.1 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/23.54, allocations: 0 / 7.918 GB, free: 107.1 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03665/23.58, allocations: 13.99 MB / 7.931 GB, free: 106.8 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1045/23.69, allocations: 37.44 MB / 7.968 GB, free: 104.8 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/23.69, allocations: 3.906 kB / 7.968 GB, free: 104.8 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01719/23.7, allocations: 2.463 MB / 7.97 GB, free: 104.7 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/23.7, allocations: 35.59 kB / 7.97 GB, free: 104.7 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003426/23.71, allocations: 215.5 kB / 7.97 GB, free: 104.7 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001221/23.71, allocations: 41.44 kB / 7.971 GB, free: 104.7 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/23.71, allocations: 5.094 kB / 7.971 GB, free: 104.7 MB / 1.011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05906/23.77, allocations: 25.04 MB / 7.995 GB, free: 99.22 MB / 1.011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08669/23.85, allocations: 34.55 MB / 8.029 GB, free: 85.98 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01968/23.87, allocations: 4.429 MB / 8.033 GB, free: 83.71 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01021/23.88, allocations: 68.98 kB / 8.033 GB, free: 83.7 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02386/23.91, allocations: 1.113 MB / 8.034 GB, free: 83.61 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00405/23.91, allocations: 0.5192 MB / 8.035 GB, free: 83.52 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004894/23.92, allocations: 0.5387 MB / 8.035 GB, free: 83.43 MB / 1.011 GB Notification: Performance of sort global known variables: time 0.03096/23.95, allocations: 11.69 MB / 8.047 GB, free: 74.46 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.05945/24.01, allocations: 10.64 MB / 8.057 GB, free: 63.88 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1059): * Single equations (assignments): 1051 * 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.01029/24.02, allocations: 1.53 MB / 8.059 GB, free: 63.04 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.05524/24.07, allocations: 23.99 MB / 8.082 GB, free: 41.54 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 4.322e-05/24.07, allocations: 18.3 kB / 8.082 GB, free: 41.52 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.01572/24.09, allocations: 6.656 MB / 8.088 GB, free: 35.54 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05518/24.14, allocations: 8.848 MB / 8.097 GB, free: 29.52 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.117/25.26, allocations: 39.39 MB / 8.136 GB, free: 173.5 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04063/25.3, allocations: 15.2 MB / 8.15 GB, free: 172.3 MB / 1.011 GB Notification: Performance of SimCode: time 2.054e-06/25.3, allocations: 6.078 kB / 8.15 GB, free: 172.3 MB / 1.011 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)