Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") [: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.616/1.616, allocations: 289.8 MB / 297 MB, free: 6.66 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.0012/0.001201, allocations: 177.3 kB / 366.3 MB, free: 1.98 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.481/1.481, allocations: 205.1 MB / 0.6256 GB, free: 5.883 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.0009037/0.0009038, allocations: 89.41 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.827e-06/8.857e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6976, allocations: 116.3 MB / 0.9725 GB, free: 68.91 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.214/5.912, allocations: 2.358 GB / 3.331 GB, free: 95.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/5.912, allocations: 91.95 kB / 3.331 GB, free: 95.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.935/13.85, allocations: 2.097 GB / 5.428 GB, free: 149.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002625/13.85, allocations: 300.8 kB / 5.429 GB, free: 149.6 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: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.03812/13.89, allocations: 9.603 MB / 5.438 GB, free: 140.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/13.89, allocations: 10.78 kB / 5.438 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/13.9, allocations: 2.144 MB / 5.44 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04711/13.95, allocations: 14.94 MB / 5.455 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000662/13.95, allocations: 284 kB / 5.455 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004664/13.96, allocations: 0.5076 MB / 5.456 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02796/13.98, allocations: 10.5 MB / 5.466 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04204/14.03, allocations: 11.72 MB / 5.477 GB, free: 99.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007542/14.03, allocations: 39.7 kB / 5.477 GB, free: 99.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004746/14.03, allocations: 16 kB / 5.477 GB, free: 99.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004371/14.03, allocations: 480.9 kB / 5.478 GB, free: 99.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09601/14.13, allocations: 49.45 MB / 5.526 GB, free: 48.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/14.14, allocations: 7.016 MB / 5.533 GB, free: 41.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005732/14.15, allocations: 4.022 MB / 5.537 GB, free: 37.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001954/14.15, allocations: 1.504 MB / 5.538 GB, free: 35.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006805/14.15, allocations: 3.833 MB / 5.542 GB, free: 31.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 9.087e-06/14.15, allocations: 4 kB / 5.542 GB, free: 31.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.02058/14.17, allocations: 7.938 MB / 5.55 GB, free: 23.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/14.17, allocations: 347.1 kB / 5.55 GB, free: 23.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01411/14.19, allocations: 7.875 MB / 5.558 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002157/14.19, allocations: 33.7 kB / 5.558 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007291/14.2, allocations: 3.453 MB / 5.561 GB, free: 12.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008431/14.21, allocations: 1.852 MB / 5.563 GB, free: 10.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/14.21, allocations: 4 kB / 5.563 GB, free: 10.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007037/14.21, allocations: 0.5792 MB / 5.564 GB, free: 9.676 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006311/14.21, allocations: 3.254 MB / 5.567 GB, free: 6.418 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008559/14.22, allocations: 5.076 MB / 5.572 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02209/14.25, allocations: 5.972 MB / 5.578 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.083e-05/14.25, allocations: 19.98 kB / 5.578 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.5263/14.77, allocations: 10.71 MB / 5.588 GB, free: 244.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.005313/14.78, allocations: 27.45 MB / 5.615 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/14.78, allocations: 56.25 kB / 5.615 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/14.78, allocations: 94.5 kB / 5.615 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/14.79, allocations: 1.84 MB / 5.617 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001535/14.79, allocations: 117.4 kB / 5.617 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/14.8, allocations: 0.9723 MB / 5.618 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002311/14.8, allocations: 338.5 kB / 5.618 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/14.8, allocations: 6.875 kB / 5.618 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03355/14.84, allocations: 9.893 MB / 5.628 GB, free: 215.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/14.84, allocations: 54.09 kB / 5.628 GB, free: 215.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/14.84, allocations: 98.94 kB / 5.628 GB, free: 215.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/14.85, allocations: 1.829 MB / 5.63 GB, free: 215.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002428/14.85, allocations: 123.6 kB / 5.63 GB, free: 215.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/14.86, allocations: 0.8512 MB / 5.631 GB, free: 215.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002724/14.87, allocations: 335.7 kB / 5.631 GB, free: 215.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * 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 (866): * Single equations (assignments): 866 * 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.002517/14.87, allocations: 296.5 kB / 5.631 GB, free: 215.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003443/14.87, allocations: 0.8069 MB / 5.632 GB, free: 215.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0232/14.89, allocations: 9.111 MB / 5.641 GB, free: 215.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.113e-05/14.9, allocations: 67.42 kB / 5.641 GB, free: 215.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/14.9, allocations: 3.938 kB / 5.641 GB, free: 215.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0174/14.91, allocations: 7.286 MB / 5.648 GB, free: 215.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05107/14.96, allocations: 19.45 MB / 5.667 GB, free: 214.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/14.96, allocations: 7.031 kB / 5.667 GB, free: 214.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00778/14.97, allocations: 1.301 MB / 5.668 GB, free: 214.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-05/14.97, allocations: 21.09 kB / 5.668 GB, free: 214.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001095/14.97, allocations: 116.2 kB / 5.669 GB, free: 214.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.571e-05/14.97, allocations: 22.34 kB / 5.669 GB, free: 214.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/14.97, allocations: 3.938 kB / 5.669 GB, free: 214.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02842/15, allocations: 13.06 MB / 5.681 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01058/15.01, allocations: 2.359 MB / 5.684 GB, free: 212.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00532/15.02, allocations: 36.95 kB / 5.684 GB, free: 212.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01243/15.03, allocations: 0.5844 MB / 5.684 GB, free: 212.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001823/15.03, allocations: 292.6 kB / 5.685 GB, free: 212.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002335/15.03, allocations: 299.1 kB / 5.685 GB, free: 212.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0133/15.05, allocations: 6.042 MB / 5.691 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02645/15.07, allocations: 5.388 MB / 5.696 GB, free: 211.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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) * 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 (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004831/15.08, allocations: 1.147 MB / 5.697 GB, free: 211.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02718/15.11, allocations: 12.44 MB / 5.709 GB, free: 211.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-05/15.11, allocations: 17.78 kB / 5.709 GB, free: 211.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.007885/15.11, allocations: 3.508 MB / 5.713 GB, free: 211.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02752/15.14, allocations: 4.533 MB / 5.717 GB, free: 211.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0574/15.2, allocations: 19.91 MB / 5.737 GB, free: 208.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01404/15.21, allocations: 8.088 MB / 5.744 GB, free: 207.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.743e-06/15.21, allocations: 0 / 5.744 GB, free: 207.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.3705/15.58, allocations: 224.5 MB / 5.964 GB, free: 65.01 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)