Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.265/2.265, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001618, allocations: 169.3 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.0013, allocations: 80.88 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.339e-05/1.355e-05, allocations: 4 kB / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.5968, allocations: 115.2 MB / 0.9628 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.396/5.993, allocations: 2.359 GB / 3.321 GB, free: 99.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/5.994, allocations: 90.61 kB / 3.321 GB, free: 99.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 19/24.99, allocations: 4.16 GB / 7.481 GB, free: 15.75 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.005489/25, allocations: 0.5658 MB / 7.482 GB, free: 15.18 MB / 0.9949 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 0.9577/25.96, allocations: 18.19 MB / 7.499 GB, free: 179.4 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/25.96, allocations: 10.44 kB / 7.5 GB, free: 179.4 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04048/26, allocations: 4.129 MB / 7.504 GB, free: 178.2 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1235/26.12, allocations: 29.27 MB / 7.532 GB, free: 176.7 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/26.12, allocations: 0.5275 MB / 7.533 GB, free: 176.7 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008647/26.13, allocations: 0.9756 MB / 7.534 GB, free: 176.7 MB / 0.9949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06945/26.2, allocations: 20.07 MB / 7.553 GB, free: 176.6 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08854/26.29, allocations: 22.81 MB / 7.575 GB, free: 174.1 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001319/26.29, allocations: 65.36 kB / 7.576 GB, free: 174 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008694/26.3, allocations: 36.66 kB / 7.576 GB, free: 174 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001053/26.3, allocations: 0.9026 MB / 7.576 GB, free: 174 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2525/26.55, allocations: 96.7 MB / 7.671 GB, free: 137.3 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0404/26.59, allocations: 13.77 MB / 7.684 GB, free: 136.8 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02131/26.61, allocations: 7.828 MB / 7.692 GB, free: 136.6 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004053/26.62, allocations: 2.036 MB / 7.694 GB, free: 134.6 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02455/26.64, allocations: 7.325 MB / 7.701 GB, free: 134.4 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=1035): time 1.665e-05/26.64, allocations: 0 / 7.701 GB, free: 134.4 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1035): time 0.08132/26.72, allocations: 15.29 MB / 7.716 GB, free: 133.4 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/26.72, allocations: 424.1 kB / 7.716 GB, free: 133 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05153/26.78, allocations: 15.19 MB / 7.731 GB, free: 132.1 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.004254/26.78, allocations: 39.67 kB / 7.731 GB, free: 132.1 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.02745/26.81, allocations: 6.654 MB / 7.738 GB, free: 128.5 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0261/26.83, allocations: 3.483 MB / 7.741 GB, free: 126.2 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003708/26.84, allocations: 2.781 kB / 7.741 GB, free: 126.2 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001768/26.84, allocations: 0.8374 MB / 7.742 GB, free: 125.9 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01943/26.86, allocations: 6.318 MB / 7.748 GB, free: 124.1 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02528/26.88, allocations: 9.869 MB / 7.758 GB, free: 117.5 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07636/26.96, allocations: 11.7 MB / 7.769 GB, free: 114.4 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001869/26.96, allocations: 31.97 kB / 7.769 GB, free: 114.4 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1158/27.08, allocations: 20.83 MB / 7.79 GB, free: 108.6 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0134/27.09, allocations: 68.12 MB / 7.856 GB, free: 37.28 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005525/27.09, allocations: 105.3 kB / 7.856 GB, free: 37.28 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/27.09, allocations: 194 kB / 7.856 GB, free: 37.28 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03639/27.13, allocations: 3.529 MB / 7.86 GB, free: 37.1 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003723/27.13, allocations: 246.4 kB / 7.86 GB, free: 37.05 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03694/27.17, allocations: 1.887 MB / 7.862 GB, free: 36.32 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005212/27.17, allocations: 0.6239 MB / 7.863 GB, free: 36.22 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/27.17, allocations: 2.844 kB / 7.863 GB, free: 36.22 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1245/27.3, allocations: 19.29 MB / 7.881 GB, free: 22.62 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006816/27.3, allocations: 108 kB / 7.882 GB, free: 22.52 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/27.3, allocations: 188 kB / 7.882 GB, free: 22.33 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04559/27.34, allocations: 3.533 MB / 7.885 GB, free: 19.45 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003271/27.34, allocations: 245.1 kB / 7.885 GB, free: 19.23 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03457/27.38, allocations: 1.643 MB / 7.887 GB, free: 17.96 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004611/27.38, allocations: 0.6238 MB / 7.888 GB, free: 17.41 MB / 0.9949 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.00772/27.39, allocations: 483 kB / 7.888 GB, free: 16.93 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009064/27.4, allocations: 1.524 MB / 7.89 GB, free: 15.39 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08685/27.49, allocations: 17.37 MB / 7.907 GB, free: 1.801 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/27.49, allocations: 100 kB / 7.907 GB, free: 1.703 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/27.49, allocations: 0 / 7.907 GB, free: 1.703 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5776/28.06, allocations: 15.59 MB / 7.922 GB, free: 173 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1495/28.21, allocations: 37.44 MB / 7.958 GB, free: 171.5 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/28.21, allocations: 4.562 kB / 7.958 GB, free: 171.5 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02902/28.24, allocations: 2.464 MB / 7.961 GB, free: 171.5 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/28.24, allocations: 34.88 kB / 7.961 GB, free: 171.5 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00302/28.25, allocations: 222.8 kB / 7.961 GB, free: 171.5 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000104/28.25, allocations: 32.69 kB / 7.961 GB, free: 171.5 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/28.25, allocations: 6.969 kB / 7.961 GB, free: 171.5 MB / 0.9949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09479/28.34, allocations: 25.04 MB / 7.986 GB, free: 170.3 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02048/28.36, allocations: 4.428 MB / 7.99 GB, free: 170 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00958/28.37, allocations: 68.81 kB / 7.99 GB, free: 170 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03377/28.4, allocations: 1.117 MB / 7.991 GB, free: 169.9 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003378/28.41, allocations: 0.5163 MB / 7.992 GB, free: 169.9 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004354/28.41, allocations: 0.5368 MB / 7.992 GB, free: 169.9 MB / 0.9949 GB Notification: Performance of sort global known variables: time 0.03803/28.45, allocations: 11.69 MB / 8.003 GB, free: 169.5 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.07272/28.52, allocations: 10.33 MB / 8.014 GB, free: 168.4 MB / 0.9949 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.007713/28.53, allocations: 1.524 MB / 8.015 GB, free: 168.2 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.06687/28.6, allocations: 23.99 MB / 8.039 GB, free: 167.9 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 3.44e-05/28.6, allocations: 17.73 kB / 8.039 GB, free: 167.9 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.01906/28.62, allocations: 6.653 MB / 8.045 GB, free: 167.9 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09507/28.71, allocations: 8.848 MB / 8.054 GB, free: 167.7 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1471/28.86, allocations: 39.1 MB / 8.092 GB, free: 161.2 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05583/28.92, allocations: 15.05 MB / 8.107 GB, free: 159.7 MB / 0.9949 GB Notification: Performance of SimCode: time 2.044e-06/28.92, allocations: 5.531 kB / 8.107 GB, free: 159.7 MB / 0.9949 GB Notification: Performance of Templates: time 1.624/30.54, allocations: 431.1 MB / 8.528 GB, free: 78.81 MB / 0.9949 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)