Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_8_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.508/2.508, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001697/0.001697, allocations: 181.2 kB / 360.3 MB, free: 7.531 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.871/1.871, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001184/0.001183, allocations: 90.84 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3448/0.3461, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/1.012, allocations: 115.2 MB / 0.9627 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.474/6.487, allocations: 2.359 GB / 3.321 GB, free: 122.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004049/6.487, allocations: 89.39 kB / 3.321 GB, free: 122.2 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 20.38/26.86, allocations: 4.178 GB / 7.499 GB, free: 19.95 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/26.86, allocations: 8.5 kB / 7.499 GB, free: 19.94 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04127/26.9, allocations: 4.136 MB / 7.504 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.108/28.01, allocations: 29.27 MB / 7.532 GB, free: 173.1 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/28.01, allocations: 0.5332 MB / 7.533 GB, free: 173.1 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01051/28.02, allocations: 0.973 MB / 7.534 GB, free: 173.1 MB / 0.9949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08847/28.11, allocations: 20.07 MB / 7.553 GB, free: 173.1 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09494/28.21, allocations: 22.81 MB / 7.575 GB, free: 170.5 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001687/28.21, allocations: 70.22 kB / 7.576 GB, free: 170.5 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009283/28.22, allocations: 34.91 kB / 7.576 GB, free: 170.5 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001185/28.22, allocations: 0.9092 MB / 7.576 GB, free: 170.5 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.265/28.48, allocations: 96.7 MB / 7.671 GB, free: 134.2 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04865/28.53, allocations: 13.78 MB / 7.684 GB, free: 133.7 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02202/28.56, allocations: 7.829 MB / 7.692 GB, free: 133.5 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004192/28.56, allocations: 2.04 MB / 7.694 GB, free: 131.6 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02499/28.58, allocations: 7.324 MB / 7.701 GB, free: 131.4 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=1035): time 1.591e-05/28.58, allocations: 0 / 7.701 GB, free: 131.4 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1035): time 0.07672/28.66, allocations: 15.3 MB / 7.716 GB, free: 130.3 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/28.66, allocations: 412.6 kB / 7.716 GB, free: 129.9 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05375/28.72, allocations: 15.2 MB / 7.731 GB, free: 129 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.004199/28.72, allocations: 41.67 kB / 7.731 GB, free: 129 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0269/28.75, allocations: 6.648 MB / 7.738 GB, free: 125.4 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0256/28.77, allocations: 3.478 MB / 7.741 GB, free: 123.1 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003893/28.78, allocations: 3.625 kB / 7.741 GB, free: 123.1 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001746/28.78, allocations: 0.8373 MB / 7.742 GB, free: 122.8 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01959/28.8, allocations: 6.315 MB / 7.748 GB, free: 122.8 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0236/28.82, allocations: 9.876 MB / 7.758 GB, free: 118.7 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0771/28.9, allocations: 11.7 MB / 7.769 GB, free: 117.6 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002633/28.9, allocations: 30.78 kB / 7.769 GB, free: 117.6 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1134/29.01, allocations: 20.84 MB / 7.79 GB, free: 111.8 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.9943/30.01, allocations: 68.12 MB / 7.856 GB, free: 166.1 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006573/30.01, allocations: 107.5 kB / 7.856 GB, free: 166.1 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/30.01, allocations: 192.2 kB / 7.856 GB, free: 166.1 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03516/30.04, allocations: 3.528 MB / 7.86 GB, free: 166.1 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003479/30.04, allocations: 241.1 kB / 7.86 GB, free: 166.1 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0437/30.09, allocations: 1.874 MB / 7.862 GB, free: 166.1 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004951/30.09, allocations: 0.6262 MB / 7.863 GB, free: 166.1 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/30.09, allocations: 3.969 kB / 7.863 GB, free: 166.1 MB / 0.995 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1133/30.21, allocations: 19.29 MB / 7.881 GB, free: 165.9 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005668/30.21, allocations: 104.9 kB / 7.882 GB, free: 165.9 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/30.21, allocations: 194 kB / 7.882 GB, free: 165.9 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03576/30.24, allocations: 3.533 MB / 7.885 GB, free: 165.9 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003762/30.24, allocations: 240.2 kB / 7.885 GB, free: 165.9 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03599/30.28, allocations: 1.643 MB / 7.887 GB, free: 165.9 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005313/30.28, allocations: 0.6239 MB / 7.888 GB, free: 165.9 MB / 0.995 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.009024/30.29, allocations: 476.9 kB / 7.888 GB, free: 165.7 MB / 0.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009824/30.3, allocations: 1.529 MB / 7.89 GB, free: 165.7 MB / 0.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09538/30.4, allocations: 17.37 MB / 7.907 GB, free: 165.3 MB / 0.995 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/30.4, allocations: 102.7 kB / 7.907 GB, free: 165.3 MB / 0.995 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-05/30.4, allocations: 0 / 7.907 GB, free: 165.3 MB / 0.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08147/30.48, allocations: 13.99 MB / 7.92 GB, free: 165 MB / 0.995 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1774/30.66, allocations: 37.45 MB / 7.957 GB, free: 163.5 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.336e-05/30.66, allocations: 1.469 kB / 7.957 GB, free: 163.5 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03843/30.7, allocations: 2.468 MB / 7.959 GB, free: 163.5 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/30.7, allocations: 35 kB / 7.959 GB, free: 163.5 MB / 0.995 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004429/30.7, allocations: 220.7 kB / 7.96 GB, free: 163.5 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001897/30.7, allocations: 36.44 kB / 7.96 GB, free: 163.5 MB / 0.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/30.7, allocations: 3.688 kB / 7.96 GB, free: 163.5 MB / 0.995 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1094/30.81, allocations: 25.04 MB / 7.984 GB, free: 161.5 MB / 0.995 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1347/30.95, allocations: 34.56 MB / 8.018 GB, free: 159 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02082/30.97, allocations: 4.43 MB / 8.022 GB, free: 158.1 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01255/30.98, allocations: 59.62 kB / 8.022 GB, free: 158.1 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0391/31.02, allocations: 1.116 MB / 8.023 GB, free: 158.1 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00441/31.02, allocations: 0.514 MB / 8.024 GB, free: 158.1 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005699/31.03, allocations: 0.5394 MB / 8.024 GB, free: 158.1 MB / 0.995 GB Notification: Performance of sort global known variables: time 0.03757/31.07, allocations: 11.69 MB / 8.036 GB, free: 157.7 MB / 0.995 GB Notification: Performance of remove unused functions: time 0.06492/31.13, allocations: 10.65 MB / 8.046 GB, free: 156 MB / 0.995 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.008441/31.14, allocations: 1.508 MB / 8.048 GB, free: 155.8 MB / 0.995 GB Notification: Performance of simCode: created initialization part: time 0.06975/31.21, allocations: 24 MB / 8.071 GB, free: 155.5 MB / 0.995 GB Notification: Performance of simCode: created event and clocks part: time 4.173e-05/31.21, allocations: 25.36 kB / 8.071 GB, free: 155.5 MB / 0.995 GB Notification: Performance of simCode: created simulation system equations: time 0.02107/31.23, allocations: 6.654 MB / 8.077 GB, free: 155.3 MB / 0.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09335/31.32, allocations: 8.854 MB / 8.086 GB, free: 155.2 MB / 0.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1586/31.48, allocations: 39.19 MB / 8.124 GB, free: 130.9 MB / 0.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04945/31.53, allocations: 15.21 MB / 8.139 GB, free: 119.6 MB / 0.995 GB Notification: Performance of SimCode: time 1.723e-06/31.53, allocations: 0 / 8.139 GB, free: 119.6 MB / 0.995 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)