Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.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.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") [: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.477/1.477, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001075/0.001075, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.4/1.4, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.0008979/0.0008979, allocations: 85.92 kB / 0.7395 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.716e-06, allocations: 0 / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6955, allocations: 116.3 MB / 0.9726 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9422/1.638, allocations: 479.5 MB / 1.441 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/1.638, allocations: 99.59 kB / 1.441 GB, free: 75.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.63/6.268, allocations: 1.545 GB / 2.986 GB, free: 79.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004773/6.269, allocations: 112 kB / 2.986 GB, free: 79.88 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 619 * Number of variables: 619 Notification: Performance of Generate backend data structure: time 0.008136/6.277, allocations: 3.767 MB / 2.989 GB, free: 77.23 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/6.277, allocations: 9.5 kB / 2.989 GB, free: 77.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/6.279, allocations: 0.5554 MB / 2.99 GB, free: 76.96 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009945/6.289, allocations: 4.787 MB / 2.995 GB, free: 73.71 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/6.289, allocations: 78.69 kB / 2.995 GB, free: 73.71 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/6.29, allocations: 167.7 kB / 2.995 GB, free: 73.71 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003334/6.293, allocations: 1.709 MB / 2.996 GB, free: 72.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/6.297, allocations: 2.269 MB / 2.999 GB, free: 71.49 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.368e-05/6.297, allocations: 6.906 kB / 2.999 GB, free: 71.48 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/6.297, allocations: 9.281 kB / 2.999 GB, free: 71.48 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.535e-05/6.297, allocations: 95.31 kB / 2.999 GB, free: 71.47 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/6.315, allocations: 14.27 MB / 3.013 GB, free: 59.11 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/6.316, allocations: 0.8622 MB / 3.014 GB, free: 58.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00094/6.317, allocations: 0.6363 MB / 3.014 GB, free: 58.41 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006742/6.324, allocations: 4.845 MB / 3.019 GB, free: 53.73 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008968/6.325, allocations: 0.6942 MB / 3.02 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 3.346e-06/6.325, allocations: 0 / 3.02 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=126): time 0.003603/6.329, allocations: 1.563 MB / 3.021 GB, free: 51.44 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/6.329, allocations: 145.5 kB / 3.021 GB, free: 51.27 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/6.332, allocations: 2.296 MB / 3.023 GB, free: 48.98 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/6.332, allocations: 33.7 kB / 3.023 GB, free: 48.94 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009648/6.333, allocations: 1.1 MB / 3.025 GB, free: 47.83 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004414/6.333, allocations: 409.9 kB / 3.025 GB, free: 47.42 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/6.333, allocations: 4 kB / 3.025 GB, free: 47.42 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/6.334, allocations: 377.8 kB / 3.025 GB, free: 47.04 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/6.334, allocations: 0.5585 MB / 3.026 GB, free: 46.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/6.336, allocations: 1.26 MB / 3.027 GB, free: 44.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/6.338, allocations: 0.9807 MB / 3.028 GB, free: 43.93 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/6.338, allocations: 8 kB / 3.028 GB, free: 43.92 MB / 0.9792 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004446/6.343, allocations: 2.205 MB / 3.03 GB, free: 41.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001323/6.344, allocations: 7.177 MB / 3.037 GB, free: 33.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/6.344, allocations: 16 kB / 3.037 GB, free: 33.85 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/6.344, allocations: 64.83 kB / 3.037 GB, free: 33.78 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/6.345, allocations: 386 kB / 3.038 GB, free: 33.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/6.347, allocations: 1.492 MB / 3.039 GB, free: 31.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/6.35, allocations: 374 kB / 3.039 GB, free: 31.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/6.35, allocations: 108 kB / 3.04 GB, free: 31.33 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/6.35, allocations: 4 kB / 3.04 GB, free: 31.32 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003863/6.354, allocations: 1.821 MB / 3.041 GB, free: 29.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/6.354, allocations: 20 kB / 3.041 GB, free: 29.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/6.355, allocations: 68.78 kB / 3.041 GB, free: 29.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/6.356, allocations: 363.4 kB / 3.042 GB, free: 29.06 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/6.357, allocations: 1.492 MB / 3.043 GB, free: 27.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/6.36, allocations: 330.5 kB / 3.044 GB, free: 27.13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/6.36, allocations: 104 kB / 3.044 GB, free: 27.03 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.disFlo.conVal.cha.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,disFlo.conVal.swi.u2,$PRE.disFlo.conVal.cha.u,disFlo.conVal.cha.u,disFlo.conVal.cha.y,disFlo.conVal.cha.up,disFlo.conVal.cha.down,$PRE.mSec_flow.booPul.y,mSec_flow.booPul.y,$PRE.modCha.y,modCha.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (218): * Single equations (assignments): 214 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004538/6.361, allocations: 179.3 kB / 3.044 GB, free: 26.85 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/6.361, allocations: 308.1 kB / 3.044 GB, free: 26.55 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/6.365, allocations: 1.995 MB / 3.046 GB, free: 24.57 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/6.365, allocations: 23.98 kB / 3.046 GB, free: 24.54 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/6.365, allocations: 0 / 3.046 GB, free: 24.54 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002183/6.368, allocations: 1.403 MB / 3.047 GB, free: 23.09 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007477/6.375, allocations: 4.703 MB / 3.052 GB, free: 18.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/6.375, allocations: 8.031 kB / 3.052 GB, free: 18.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/6.376, allocations: 235.3 kB / 3.052 GB, free: 18.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/6.376, allocations: 48.78 kB / 3.052 GB, free: 18 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/6.376, allocations: 27.89 kB / 3.052 GB, free: 17.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/6.378, allocations: 1.464 MB / 3.054 GB, free: 16.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/6.378, allocations: 11.92 kB / 3.054 GB, free: 16.38 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004073/6.382, allocations: 3.018 MB / 3.057 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/6.383, allocations: 0.6138 MB / 3.057 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/6.384, allocations: 4 kB / 3.057 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/6.385, allocations: 163.6 kB / 3.058 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/6.385, allocations: 92.33 kB / 3.058 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/6.386, allocations: 67.95 kB / 3.058 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.002457/6.388, allocations: 1.711 MB / 3.059 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008147/6.396, allocations: 2.069 MB / 3.061 GB, free: 8.512 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (disFlo.heaCoo.vol.dynBal.U,disFlo.senTSup.T,disFlo.val.vol.dynBal.U,disFlo.spl.vol.dynBal.U,disFlo.conVal.resConTSup.I.y,senTSecSup.T,senTSecRet.T,senTPriSup.T) * Number of discrete variables: 12 (disFlo.conVal.cha.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,disFlo.conVal.swi.u2,disFlo.conVal.cha.u,disFlo.conVal.cha.up,disFlo.conVal.cha.down,mSec_flow.booPul.y,modCha.y) * Number of discrete states: 1 (disFlo.conVal.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 2 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003044/6.399, allocations: 2.132 MB / 3.063 GB, free: 6.434 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003933/6.403, allocations: 2.806 MB / 3.066 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/6.403, allocations: 0 / 3.066 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008522/6.404, allocations: 0.7778 MB / 3.067 GB, free: 2.812 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/6.409, allocations: 1.365 MB / 3.068 GB, free: 1.508 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009517/6.419, allocations: 4.817 MB / 3.073 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/6.421, allocations: 2.438 MB / 3.075 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of SimCode: time 9.61e-07/6.421, allocations: 4 kB / 3.075 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of Templates: time 0.5719/6.993, allocations: 74.14 MB / 3.148 GB, free: 194.8 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)