Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.167/2.167, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 181.2 kB / 360.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 0.6188 GB, free: 12.38 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001258, allocations: 90.78 kB / 0.7318 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.456e-06, allocations: 0 / 0.8503 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6055, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.71, allocations: 478.3 MB / 1.43 GB, free: 84.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.71, allocations: 99.56 kB / 1.43 GB, free: 84.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.826/8.536, allocations: 1.545 GB / 2.975 GB, free: 88.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0008966/8.537, allocations: 110 kB / 2.975 GB, free: 88.78 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.01361/8.551, allocations: 3.759 MB / 2.978 GB, free: 86.56 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/8.551, allocations: 9.812 kB / 2.978 GB, free: 86.56 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/8.555, allocations: 0.5541 MB / 2.979 GB, free: 86.33 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/8.575, allocations: 4.792 MB / 2.984 GB, free: 83.91 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/8.575, allocations: 78.25 kB / 2.984 GB, free: 83.91 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/8.576, allocations: 172.6 kB / 2.984 GB, free: 83.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007191/8.583, allocations: 1.709 MB / 2.986 GB, free: 83.09 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008805/8.592, allocations: 2.269 MB / 2.988 GB, free: 81.69 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.794e-05/8.592, allocations: 11.78 kB / 2.988 GB, free: 81.68 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/8.593, allocations: 5.594 kB / 2.988 GB, free: 81.68 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/8.593, allocations: 89.19 kB / 2.988 GB, free: 81.67 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03001/8.623, allocations: 14.27 MB / 3.002 GB, free: 69.34 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/8.625, allocations: 0.859 MB / 3.003 GB, free: 68.93 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/8.627, allocations: 0.6366 MB / 3.003 GB, free: 68.63 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/8.639, allocations: 4.84 MB / 3.008 GB, free: 64.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/8.641, allocations: 0.702 MB / 3.009 GB, free: 63.62 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 4.378e-06/8.641, allocations: 0 / 3.009 GB, free: 63.62 MB / 0.9792 GB Notification: Performance of matching and sorting (n=126): time 0.007149/8.648, allocations: 1.567 MB / 3.01 GB, free: 62.84 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/8.648, allocations: 143.2 kB / 3.01 GB, free: 62.69 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007171/8.655, allocations: 2.298 MB / 3.013 GB, free: 61.52 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006113/8.656, allocations: 34.77 kB / 3.013 GB, free: 61.48 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/8.658, allocations: 1.1 MB / 3.014 GB, free: 60.56 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/8.659, allocations: 408 kB / 3.014 GB, free: 60.21 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/8.659, allocations: 2.781 kB / 3.014 GB, free: 60.21 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001793/8.659, allocations: 381.7 kB / 3.014 GB, free: 59.85 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/8.661, allocations: 0.5553 MB / 3.015 GB, free: 59.59 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/8.664, allocations: 1.264 MB / 3.016 GB, free: 58.29 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/8.668, allocations: 0.9846 MB / 3.017 GB, free: 57.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-05/8.668, allocations: 4 kB / 3.017 GB, free: 57.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.009252/8.678, allocations: 2.203 MB / 3.019 GB, free: 55.08 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001608/8.679, allocations: 7.182 MB / 3.026 GB, free: 47.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.891e-05/8.679, allocations: 19.98 kB / 3.026 GB, free: 47.22 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/8.68, allocations: 60.84 kB / 3.026 GB, free: 47.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/8.683, allocations: 375.4 kB / 3.027 GB, free: 46.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/8.685, allocations: 1.494 MB / 3.028 GB, free: 45.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/8.691, allocations: 375.5 kB / 3.029 GB, free: 44.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/8.691, allocations: 112 kB / 3.029 GB, free: 44.71 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/8.692, allocations: 5.719 kB / 3.029 GB, free: 44.71 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007605/8.699, allocations: 1.82 MB / 3.03 GB, free: 42.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.274e-05/8.699, allocations: 16.94 kB / 3.03 GB, free: 42.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/8.699, allocations: 72.84 kB / 3.031 GB, free: 42.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/8.702, allocations: 371.3 kB / 3.031 GB, free: 42.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/8.705, allocations: 1.484 MB / 3.032 GB, free: 40.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/8.711, allocations: 330.5 kB / 3.033 GB, free: 40.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007548/8.711, allocations: 104 kB / 3.033 GB, free: 40.41 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.0008687/8.712, allocations: 179.8 kB / 3.033 GB, free: 40.23 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/8.714, allocations: 308.1 kB / 3.033 GB, free: 39.93 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/8.722, allocations: 1.996 MB / 3.035 GB, free: 37.93 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.732e-05/8.723, allocations: 15.98 kB / 3.035 GB, free: 37.92 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/8.723, allocations: 4 kB / 3.035 GB, free: 37.91 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004911/8.728, allocations: 1.403 MB / 3.037 GB, free: 36.46 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/8.744, allocations: 4.702 MB / 3.041 GB, free: 31.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/8.744, allocations: 4 kB / 3.041 GB, free: 31.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/8.747, allocations: 244 kB / 3.041 GB, free: 31.42 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/8.747, allocations: 50.25 kB / 3.041 GB, free: 31.37 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003002/8.747, allocations: 23.97 kB / 3.041 GB, free: 31.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/8.75, allocations: 1.463 MB / 3.043 GB, free: 29.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/8.75, allocations: 9.469 kB / 3.043 GB, free: 29.77 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008053/8.758, allocations: 3.025 MB / 3.046 GB, free: 26.62 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002683/8.761, allocations: 0.606 MB / 3.046 GB, free: 25.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/8.762, allocations: 12 kB / 3.046 GB, free: 25.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004208/8.766, allocations: 155.7 kB / 3.047 GB, free: 25.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/8.767, allocations: 93.08 kB / 3.047 GB, free: 25.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/8.767, allocations: 67.95 kB / 3.047 GB, free: 25.67 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.004736/8.772, allocations: 1.711 MB / 3.048 GB, free: 23.97 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01635/8.788, allocations: 2.073 MB / 3.05 GB, free: 21.89 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.005119/8.793, allocations: 2.126 MB / 3.053 GB, free: 19.91 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007567/8.801, allocations: 2.803 MB / 3.055 GB, free: 17.07 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/8.801, allocations: 8.125 kB / 3.055 GB, free: 17.07 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/8.803, allocations: 0.7758 MB / 3.056 GB, free: 16.28 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01253/8.815, allocations: 1.369 MB / 3.057 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/8.833, allocations: 4.811 MB / 3.062 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004629/8.838, allocations: 2.446 MB / 3.064 GB, free: 7.672 MB / 0.9792 GB Notification: Performance of SimCode: time 1.603e-06/8.838, allocations: 0 / 3.064 GB, free: 7.672 MB / 0.9792 GB Notification: Performance of Templates: time 0.6873/9.525, allocations: 74.14 MB / 3.137 GB, free: 207.8 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)