Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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: translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.559/1.559, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001122/0.001122, allocations: 177.3 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.574/1.574, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.000955/0.0009548, allocations: 90.72 kB / 0.7396 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.508e-06/9.518e-06, allocations: 4 kB / 0.859 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7949, allocations: 116.3 MB / 0.9726 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.47/6.265, allocations: 2.359 GB / 3.331 GB, free: 91.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/6.266, allocations: 87.95 kB / 3.331 GB, free: 90.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.525/11.79, allocations: 1.477 GB / 4.808 GB, free: 63.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001454/11.79, allocations: 191.8 kB / 4.809 GB, free: 63.31 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.03159/11.82, allocations: 6.65 MB / 4.815 GB, free: 56.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/11.82, allocations: 12.03 kB / 4.815 GB, free: 56.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02003/11.84, allocations: 2.706 MB / 4.818 GB, free: 53.86 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02716/11.87, allocations: 7.949 MB / 4.826 GB, free: 45.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004755/11.87, allocations: 191.9 kB / 4.826 GB, free: 45.69 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003447/11.88, allocations: 339.9 kB / 4.826 GB, free: 45.36 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0222/11.9, allocations: 6.946 MB / 4.833 GB, free: 38.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0295/11.93, allocations: 7.123 MB / 4.84 GB, free: 31.06 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000437/11.93, allocations: 23.78 kB / 4.84 GB, free: 31.04 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003118/11.93, allocations: 8 kB / 4.84 GB, free: 31.03 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002712/11.93, allocations: 271.2 kB / 4.84 GB, free: 30.76 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07504/12.01, allocations: 31.33 MB / 4.871 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/12.02, allocations: 4.67 MB / 4.875 GB, free: 9.695 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006516/12.03, allocations: 2.616 MB / 4.878 GB, free: 7.074 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003677/12.03, allocations: 2.407 MB / 4.88 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008581/12.04, allocations: 2.859 MB / 4.883 GB, free: 1.277 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=421): time 1.09e-05/12.04, allocations: 0 / 4.883 GB, free: 1.277 MB / 0.9792 GB Notification: Performance of matching and sorting (n=421): time 0.5978/12.64, allocations: 6.158 MB / 4.889 GB, free: 209.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/12.64, allocations: 377.8 kB / 4.889 GB, free: 209 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009569/12.65, allocations: 4.593 MB / 4.894 GB, free: 208.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001835/12.65, allocations: 29.67 kB / 4.894 GB, free: 208.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003025/12.65, allocations: 2.117 MB / 4.896 GB, free: 208.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003152/12.65, allocations: 1.363 MB / 4.897 GB, free: 207.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/12.65, allocations: 0 / 4.897 GB, free: 207.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000313/12.65, allocations: 485.2 kB / 4.898 GB, free: 207.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/12.66, allocations: 2.08 MB / 4.9 GB, free: 207.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003928/12.66, allocations: 3.04 MB / 4.903 GB, free: 206.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01663/12.68, allocations: 3.935 MB / 4.907 GB, free: 206.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.753e-05/12.68, allocations: 7.812 kB / 4.907 GB, free: 206.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02539/12.7, allocations: 7.119 MB / 4.914 GB, free: 205.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002281/12.71, allocations: 10.56 MB / 4.924 GB, free: 194.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/12.71, allocations: 25.62 kB / 4.924 GB, free: 194.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.385e-05/12.71, allocations: 47.88 kB / 4.924 GB, free: 194.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00784/12.71, allocations: 1.284 MB / 4.925 GB, free: 194.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-05/12.71, allocations: 57.39 kB / 4.925 GB, free: 194.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009401/12.72, allocations: 0.6654 MB / 4.926 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/12.72, allocations: 234.2 kB / 4.926 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/12.73, allocations: 3.344 kB / 4.926 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02348/12.75, allocations: 6.543 MB / 4.932 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.253e-05/12.75, allocations: 26.5 kB / 4.932 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.818e-05/12.75, allocations: 47 kB / 4.933 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007652/12.76, allocations: 1.278 MB / 4.934 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001136/12.76, allocations: 58.84 kB / 4.934 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/12.77, allocations: 0.6155 MB / 4.934 GB, free: 194.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/12.77, allocations: 226.5 kB / 4.935 GB, free: 194.3 MB / 0.9792 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.002857/12.77, allocations: 211.1 kB / 4.935 GB, free: 194.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003118/12.77, allocations: 0.5563 MB / 4.935 GB, free: 193.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03149/12.81, allocations: 7.417 MB / 4.943 GB, free: 193.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.691e-05/12.81, allocations: 54.95 kB / 4.943 GB, free: 193.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.229e-05/12.81, allocations: 1.594 kB / 4.943 GB, free: 193.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02451/12.83, allocations: 5.794 MB / 4.948 GB, free: 193.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05126/12.88, allocations: 14.57 MB / 4.963 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/12.88, allocations: 6.156 kB / 4.963 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007633/12.89, allocations: 1.048 MB / 4.964 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/12.89, allocations: 20.53 kB / 4.964 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001557/12.89, allocations: 98.86 kB / 4.964 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-05/12.89, allocations: 29.73 kB / 4.964 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/12.89, allocations: 8.125 kB / 4.964 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03536/12.93, allocations: 10.75 MB / 4.974 GB, free: 190.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00747/12.93, allocations: 1.62 MB / 4.976 GB, free: 190.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003936/12.94, allocations: 25.25 kB / 4.976 GB, free: 190.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009052/12.95, allocations: 428.8 kB / 4.976 GB, free: 190 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001311/12.95, allocations: 241.7 kB / 4.977 GB, free: 190 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001659/12.95, allocations: 206.9 kB / 4.977 GB, free: 190 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.009033/12.96, allocations: 3.548 MB / 4.98 GB, free: 189.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01961/12.98, allocations: 3.499 MB / 4.984 GB, free: 189.3 MB / 0.9792 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.004972/12.98, allocations: 1.541 MB / 4.985 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01905/13, allocations: 8.244 MB / 4.993 GB, free: 189 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.221e-05/13, allocations: 5.406 kB / 4.993 GB, free: 189 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006135/13.01, allocations: 2.566 MB / 4.996 GB, free: 189 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01619/13.03, allocations: 2.431 MB / 4.998 GB, free: 188.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04639/13.07, allocations: 11.62 MB / 5.009 GB, free: 186.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01411/13.09, allocations: 5.089 MB / 5.014 GB, free: 185.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.463e-06/13.09, allocations: 2.781 kB / 5.014 GB, free: 185.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.2942/13.38, allocations: 154.9 MB / 5.166 GB, free: 149.4 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)