Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") [: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.338/2.338, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.002164/0.002164, allocations: 185.2 kB / 360.4 MB, free: 7.512 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.736/1.736, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001267/0.001266, allocations: 89.73 kB / 0.7318 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.539e-05, allocations: 4 kB / 0.8502 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6527, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.311/5.964, allocations: 2.358 GB / 3.32 GB, free: 31.33 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/5.964, allocations: 87.77 kB / 3.321 GB, free: 31.29 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.289/13.25, allocations: 1.477 GB / 4.798 GB, free: 90.21 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001331/13.26, allocations: 192.8 kB / 4.798 GB, free: 90.18 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03007/13.29, allocations: 6.648 MB / 4.804 GB, free: 87.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/13.29, allocations: 14.16 kB / 4.804 GB, free: 87.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0299/13.32, allocations: 2.702 MB / 4.807 GB, free: 87.23 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03347/13.35, allocations: 7.952 MB / 4.815 GB, free: 86.26 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/13.35, allocations: 189.4 kB / 4.815 GB, free: 86.26 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/13.35, allocations: 343.9 kB / 4.815 GB, free: 86.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02577/13.38, allocations: 6.943 MB / 4.822 GB, free: 86.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03098/13.41, allocations: 7.133 MB / 4.829 GB, free: 85.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000417/13.41, allocations: 15.25 kB / 4.829 GB, free: 85.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002913/13.41, allocations: 10.34 kB / 4.829 GB, free: 85.49 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003195/13.41, allocations: 272.1 kB / 4.829 GB, free: 85.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09008/13.5, allocations: 31.32 MB / 4.86 GB, free: 74.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/13.52, allocations: 4.682 MB / 4.864 GB, free: 74.08 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007656/13.52, allocations: 2.614 MB / 4.867 GB, free: 74.05 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003714/13.53, allocations: 2.41 MB / 4.869 GB, free: 71.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00929/13.54, allocations: 2.853 MB / 4.872 GB, free: 71.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=421): time 9.948e-06/13.54, allocations: 0 / 4.872 GB, free: 71.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=421): time 0.03966/13.58, allocations: 6.161 MB / 4.878 GB, free: 70.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/13.58, allocations: 382.1 kB / 4.878 GB, free: 70.57 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/13.59, allocations: 4.596 MB / 4.883 GB, free: 70.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001567/13.59, allocations: 28.89 kB / 4.883 GB, free: 70.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003756/13.6, allocations: 2.119 MB / 4.885 GB, free: 69.06 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003502/13.6, allocations: 1.356 MB / 4.886 GB, free: 68.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006765/13.6, allocations: 0 / 4.886 GB, free: 68.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003828/13.6, allocations: 484.3 kB / 4.887 GB, free: 67.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006531/13.61, allocations: 2.091 MB / 4.889 GB, free: 67.82 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008428/13.62, allocations: 3.033 MB / 4.892 GB, free: 66.82 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02984/13.65, allocations: 3.931 MB / 4.896 GB, free: 66.77 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.604e-05/13.65, allocations: 11.06 kB / 4.896 GB, free: 66.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.04291/13.69, allocations: 7.122 MB / 4.903 GB, free: 66.38 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002419/13.69, allocations: 10.56 MB / 4.913 GB, free: 55.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/13.69, allocations: 21.94 kB / 4.913 GB, free: 55.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/13.69, allocations: 48.19 kB / 4.913 GB, free: 55.21 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01493/13.71, allocations: 1.282 MB / 4.914 GB, free: 55.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001119/13.71, allocations: 65 kB / 4.914 GB, free: 55.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01458/13.72, allocations: 0.6728 MB / 4.915 GB, free: 54.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/13.72, allocations: 222 kB / 4.915 GB, free: 54.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/13.72, allocations: 3.969 kB / 4.915 GB, free: 54.98 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04012/13.76, allocations: 6.54 MB / 4.922 GB, free: 54.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.102e-05/13.76, allocations: 26.91 kB / 4.922 GB, free: 54.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.446e-05/13.76, allocations: 48.44 kB / 4.922 GB, free: 54.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0146/13.78, allocations: 1.286 MB / 4.923 GB, free: 54.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/13.78, allocations: 57.95 kB / 4.923 GB, free: 54.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/13.79, allocations: 0.6081 MB / 4.924 GB, free: 54.72 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/13.79, allocations: 230.4 kB / 4.924 GB, free: 54.72 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (562): * Single equations (assignments): 562 * 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.002436/13.8, allocations: 209.3 kB / 4.924 GB, free: 54.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003743/13.8, allocations: 0.5522 MB / 4.925 GB, free: 54.31 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04978/13.85, allocations: 7.424 MB / 4.932 GB, free: 54.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.864e-05/13.85, allocations: 49.16 kB / 4.932 GB, free: 54.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/13.85, allocations: 3.75 kB / 4.932 GB, free: 54.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03715/13.89, allocations: 5.809 MB / 4.938 GB, free: 53.83 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06661/13.95, allocations: 14.56 MB / 4.952 GB, free: 52.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/13.95, allocations: 6.562 kB / 4.952 GB, free: 52.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01318/13.97, allocations: 1.046 MB / 4.953 GB, free: 52.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.166e-05/13.97, allocations: 25.44 kB / 4.953 GB, free: 52.75 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00149/13.97, allocations: 99.73 kB / 4.953 GB, free: 52.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-05/13.97, allocations: 24.73 kB / 4.953 GB, free: 52.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/13.97, allocations: 13.34 kB / 4.953 GB, free: 52.75 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0493/14.02, allocations: 10.73 MB / 4.963 GB, free: 50.77 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00698/14.03, allocations: 1.618 MB / 4.965 GB, free: 50.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003207/14.03, allocations: 29.8 kB / 4.965 GB, free: 50.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01335/14.04, allocations: 421.4 kB / 4.965 GB, free: 50.29 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/14.04, allocations: 252.5 kB / 4.966 GB, free: 50.28 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001074/14.04, allocations: 204.7 kB / 4.966 GB, free: 50.28 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.01017/14.06, allocations: 3.549 MB / 4.969 GB, free: 50.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02066/14.08, allocations: 3.496 MB / 4.973 GB, free: 49.44 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].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 (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005267/14.08, allocations: 1.541 MB / 4.974 GB, free: 49.13 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0256/14.11, allocations: 8.246 MB / 4.982 GB, free: 49.04 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/14.11, allocations: 7.781 kB / 4.982 GB, free: 49.04 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.008547/14.12, allocations: 2.564 MB / 4.985 GB, free: 49.03 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02397/14.14, allocations: 2.441 MB / 4.987 GB, free: 48.97 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04564/14.19, allocations: 11.63 MB / 4.999 GB, free: 46.63 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01565/14.2, allocations: 5.092 MB / 5.004 GB, free: 45.78 MB / 0.9636 GB Notification: Performance of SimCode: time 1.142e-06/14.2, allocations: 3.094 kB / 5.004 GB, free: 45.78 MB / 0.9636 GB Notification: Performance of Templates: time 0.3912/14.59, allocations: 154.9 MB / 5.155 GB, free: 14.23 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)