Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") [: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 3.0.0/package.mo): time 0.7631/0.7631, allocations: 132.4 MB / 139.7 MB, free: 15.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00122/0.00122, allocations: 170 kB / 171.6 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.638/1.638, allocations: 170.5 MB / 373.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001818/0.001818, allocations: 116.8 kB / 444.4 MB, free: 9.371 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5804/0.5804, allocations: 73.38 MB / 0.666 GB, free: 62.66 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.429/6.009, allocations: 2.478 GB / 3.144 GB, free: 194.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/6.01, allocations: 93.69 kB / 3.144 GB, free: 194.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.742/11.75, allocations: 1.454 GB / 4.597 GB, free: 43.08 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001532/11.75, allocations: 259.1 kB / 4.597 GB, free: 43.05 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1972 * Number of variables: 1972 Notification: Performance of Generate backend data structure: time 0.03214/11.79, allocations: 8.933 MB / 4.606 GB, free: 39.49 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/11.79, allocations: 13.44 kB / 4.606 GB, free: 39.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/11.8, allocations: 2.334 MB / 4.608 GB, free: 38.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04895/11.85, allocations: 18.88 MB / 4.627 GB, free: 37.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008296/11.85, allocations: 398.4 kB / 4.627 GB, free: 37.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003707/11.86, allocations: 488.6 kB / 4.628 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02188/11.88, allocations: 9.179 MB / 4.637 GB, free: 37.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/11.91, allocations: 9.551 MB / 4.646 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006067/11.91, allocations: 27.81 kB / 4.646 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003339/11.91, allocations: 14.97 kB / 4.646 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/11.91, allocations: 233.7 kB / 4.646 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08409/11.99, allocations: 45.7 MB / 4.691 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009163/12, allocations: 4.62 MB / 4.695 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006266/12.01, allocations: 3.867 MB / 4.699 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02613/12.04, allocations: 14.04 MB / 4.713 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005423/12.04, allocations: 3.754 MB / 4.717 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=547): time 7.294e-06/12.04, allocations: 0 / 4.717 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=564): time 0.05361/12.09, allocations: 18.4 MB / 4.735 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/12.09, allocations: 401.2 kB / 4.735 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/12.11, allocations: 6.193 MB / 4.741 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.002031/12.11, allocations: 30.64 kB / 4.741 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00413/12.11, allocations: 2.815 MB / 4.744 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004311/12.12, allocations: 1.863 MB / 4.746 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006833/12.12, allocations: 1.75 kB / 4.746 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0005339/12.12, allocations: 0.5828 MB / 4.746 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007098/12.13, allocations: 3.529 MB / 4.75 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007834/12.13, allocations: 5.137 MB / 4.755 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/12.15, allocations: 5.883 MB / 4.76 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.805e-05/12.15, allocations: 13.38 kB / 4.76 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03206/12.18, allocations: 11.29 MB / 4.771 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.008181/12.19, allocations: 20.82 MB / 4.792 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/12.19, allocations: 43 kB / 4.792 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/12.19, allocations: 0.5092 MB / 4.792 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/12.2, allocations: 1.742 MB / 4.794 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005231/12.21, allocations: 3.09 MB / 4.797 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/12.22, allocations: 0.558 MB / 4.797 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00262/12.22, allocations: 345.8 kB / 4.798 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/12.22, allocations: 4.094 kB / 4.798 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03071/12.25, allocations: 10.47 MB / 4.808 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/12.25, allocations: 46.47 kB / 4.808 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/12.26, allocations: 0.5378 MB / 4.809 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009905/12.27, allocations: 1.715 MB / 4.81 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/12.27, allocations: 3.088 MB / 4.813 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/12.28, allocations: 0.5276 MB / 4.814 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/12.29, allocations: 335 kB / 4.814 GB, free: 11.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 191 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 847 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 17} Notification: Performance of prepare postOptimizeDAE: time 0.003364/12.29, allocations: 281.7 kB / 4.814 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003372/12.29, allocations: 0.7146 MB / 4.815 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02789/12.32, allocations: 10.13 MB / 4.825 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.038e-05/12.32, allocations: 67.66 kB / 4.825 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/12.32, allocations: 3.562 kB / 4.825 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02322/12.35, allocations: 8.451 MB / 4.833 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4926/12.84, allocations: 19.4 MB / 4.852 GB, free: 124.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/12.84, allocations: 9.344 kB / 4.852 GB, free: 124.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00789/12.85, allocations: 1.241 MB / 4.853 GB, free: 124.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/12.85, allocations: 0.7826 MB / 4.854 GB, free: 124.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001521/12.85, allocations: 116.8 kB / 4.854 GB, free: 124.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005693/12.86, allocations: 10.31 MB / 4.864 GB, free: 115.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/12.86, allocations: 19.03 kB / 4.864 GB, free: 115.4 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02697/12.88, allocations: 15.67 MB / 4.88 GB, free: 112.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007217/12.89, allocations: 1.921 MB / 4.882 GB, free: 112 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003476/12.89, allocations: 46.75 kB / 4.882 GB, free: 112 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009971/12.9, allocations: 0.7119 MB / 4.882 GB, free: 112 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/12.9, allocations: 342.5 kB / 4.883 GB, free: 112 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007911/12.9, allocations: 239 kB / 4.883 GB, free: 112 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.01041/12.92, allocations: 4.716 MB / 4.888 GB, free: 111.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.02695/12.94, allocations: 4.103 MB / 4.892 GB, free: 111.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 27 (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,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (578): * Single equations (assignments): 553 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 17 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008799/12.95, allocations: 2.38 MB / 4.894 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.03214/12.98, allocations: 13.8 MB / 4.907 GB, free: 110.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.383e-05/12.98, allocations: 4.531 kB / 4.907 GB, free: 110.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008093/12.99, allocations: 3.799 MB / 4.911 GB, free: 110.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02182/13.01, allocations: 3.537 MB / 4.915 GB, free: 110.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05169/13.07, allocations: 17.82 MB / 4.932 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01372/13.08, allocations: 6.993 MB / 4.939 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.203e-06/13.08, allocations: 0 / 4.939 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.8833/13.96, allocations: 214.9 MB / 5.149 GB, free: 99.21 MB / 0.7292 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)