Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.565/1.565, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.001418/0.001418, allocations: 189.2 kB / 361.1 MB, free: 7.098 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.495/1.495, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.000965/0.0009648, allocations: 93.72 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.913e-06, allocations: 0 / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5913/0.5913, allocations: 115.3 MB / 0.9637 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8546/1.446, allocations: 478.5 MB / 1.431 GB, free: 82.66 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.446, allocations: 99.56 kB / 1.431 GB, free: 82.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.044/6.491, allocations: 1.545 GB / 2.976 GB, free: 95.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0009118/6.492, allocations: 107.7 kB / 2.976 GB, free: 95.93 MB / 1.01 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.01055/6.502, allocations: 3.768 MB / 2.979 GB, free: 93.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/6.502, allocations: 10.62 kB / 2.979 GB, free: 93.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/6.504, allocations: 0.5509 MB / 2.98 GB, free: 93.74 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00993/6.514, allocations: 4.794 MB / 2.985 GB, free: 92.98 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/6.514, allocations: 80.12 kB / 2.985 GB, free: 92.98 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/6.515, allocations: 173.4 kB / 2.985 GB, free: 92.98 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003023/6.518, allocations: 1.707 MB / 2.987 GB, free: 92.96 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/6.521, allocations: 2.267 MB / 2.989 GB, free: 92.54 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/6.521, allocations: 10.31 kB / 2.989 GB, free: 92.54 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/6.521, allocations: 9.922 kB / 2.989 GB, free: 92.54 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/6.521, allocations: 89.06 kB / 2.989 GB, free: 92.53 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/6.536, allocations: 14.27 MB / 3.003 GB, free: 82.56 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/6.537, allocations: 0.8615 MB / 3.004 GB, free: 82.21 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/6.538, allocations: 0.6367 MB / 3.004 GB, free: 81.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005988/6.544, allocations: 4.845 MB / 3.009 GB, free: 78.05 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008937/6.545, allocations: 0.6893 MB / 3.01 GB, free: 77.75 MB / 1.01 GB Notification: Performance of pre-optimization done (n=126): time 4.439e-06/6.545, allocations: 0 / 3.01 GB, free: 77.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=126): time 0.003454/6.549, allocations: 1.563 MB / 3.011 GB, free: 77.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/6.549, allocations: 146.5 kB / 3.011 GB, free: 77.02 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/6.552, allocations: 2.298 MB / 3.014 GB, free: 76.06 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/6.552, allocations: 38.03 kB / 3.014 GB, free: 76.03 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009723/6.553, allocations: 1.089 MB / 3.015 GB, free: 75.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00042/6.553, allocations: 419.4 kB / 3.015 GB, free: 74.96 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/6.553, allocations: 5.5 kB / 3.015 GB, free: 74.96 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001007/6.554, allocations: 372.8 kB / 3.015 GB, free: 74.63 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008538/6.554, allocations: 0.5569 MB / 3.016 GB, free: 74.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/6.556, allocations: 1.26 MB / 3.017 GB, free: 73.27 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/6.559, allocations: 0.9855 MB / 3.018 GB, free: 72.96 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/6.559, allocations: 4.781 kB / 3.018 GB, free: 72.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004845/6.564, allocations: 2.207 MB / 3.02 GB, free: 72.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001094/6.565, allocations: 7.178 MB / 3.027 GB, free: 64.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/6.565, allocations: 15.31 kB / 3.027 GB, free: 64.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/6.565, allocations: 70.25 kB / 3.027 GB, free: 64.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/6.566, allocations: 378 kB / 3.028 GB, free: 64.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/6.568, allocations: 1.496 MB / 3.029 GB, free: 62.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/6.571, allocations: 372.4 kB / 3.03 GB, free: 62.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/6.571, allocations: 110.4 kB / 3.03 GB, free: 62.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.181e-06/6.571, allocations: 2.562 kB / 3.03 GB, free: 62.82 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00393/6.575, allocations: 1.817 MB / 3.032 GB, free: 62.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/6.575, allocations: 16.31 kB / 3.032 GB, free: 62.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/6.575, allocations: 68.14 kB / 3.032 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/6.576, allocations: 371.4 kB / 3.032 GB, free: 62.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/6.578, allocations: 1.49 MB / 3.033 GB, free: 60.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/6.58, allocations: 326.6 kB / 3.034 GB, free: 60.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/6.581, allocations: 106 kB / 3.034 GB, free: 60.66 MB / 1.01 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.000413/6.581, allocations: 182 kB / 3.034 GB, free: 60.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/6.581, allocations: 311.2 kB / 3.034 GB, free: 60.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/6.586, allocations: 1.999 MB / 3.036 GB, free: 59.64 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/6.586, allocations: 26.05 kB / 3.036 GB, free: 59.63 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/6.586, allocations: 0 / 3.036 GB, free: 59.63 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002375/6.588, allocations: 1.399 MB / 3.038 GB, free: 59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008023/6.596, allocations: 4.711 MB / 3.042 GB, free: 56.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/6.596, allocations: 3.344 kB / 3.042 GB, free: 56.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000997/6.597, allocations: 229.8 kB / 3.042 GB, free: 56.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/6.597, allocations: 54.83 kB / 3.043 GB, free: 56.12 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.989e-05/6.597, allocations: 24.2 kB / 3.043 GB, free: 56.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/6.599, allocations: 1.463 MB / 3.044 GB, free: 54.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/6.599, allocations: 7.062 kB / 3.044 GB, free: 54.68 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004225/6.603, allocations: 3.019 MB / 3.047 GB, free: 52.75 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/6.604, allocations: 0.6074 MB / 3.048 GB, free: 52.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/6.605, allocations: 10.33 kB / 3.048 GB, free: 52.24 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/6.606, allocations: 160.5 kB / 3.048 GB, free: 52.18 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/6.607, allocations: 89.72 kB / 3.048 GB, free: 52.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/6.607, allocations: 67.8 kB / 3.048 GB, free: 52.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.002522/6.609, allocations: 1.711 MB / 3.05 GB, free: 51.21 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008753/6.618, allocations: 2.074 MB / 3.052 GB, free: 50.71 MB / 1.01 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.003392/6.621, allocations: 2.119 MB / 3.054 GB, free: 49.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004188/6.626, allocations: 2.807 MB / 3.056 GB, free: 46.78 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/6.626, allocations: 5.125 kB / 3.056 GB, free: 46.77 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009221/6.627, allocations: 0.7804 MB / 3.057 GB, free: 45.99 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00611/6.633, allocations: 1.377 MB / 3.058 GB, free: 44.68 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009103/6.642, allocations: 4.811 MB / 3.063 GB, free: 39.82 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/6.644, allocations: 2.438 MB / 3.066 GB, free: 37.37 MB / 1.01 GB Notification: Performance of SimCode: time 7.91e-07/6.644, allocations: 4 kB / 3.066 GB, free: 37.36 MB / 1.01 GB Notification: Performance of Templates: time 0.5184/7.162, allocations: 74.13 MB / 3.138 GB, free: 222.9 MB / 1.042 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)