Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7774/0.7774, allocations: 141.8 MB / 149.1 MB, free: 1.41 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 193.2 kB / 182 MB, free: 0.75 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 436 MB, free: 5.453 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 96.59 kB / 0.507 GB, free: 2.109 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 277.7 kB / 0.5884 GB, free: 47.26 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.649e-06/9.679e-06, allocations: 2.281 kB / 0.6759 GB, free: 59.56 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2178, allocations: 82.78 MB / 0.7567 GB, free: 0.7148 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.534/4.752, allocations: 1.892 GB / 2.648 GB, free: 75.11 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/4.752, allocations: 87.94 kB / 2.648 GB, free: 75.02 MB / 0.6982 GB Notification: Performance of FrontEnd: time 4.987/9.739, allocations: 1.355 GB / 4.004 GB, free: 49.26 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.0003466/9.739, allocations: 60.33 kB / 4.004 GB, free: 49.2 MB / 0.7294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.01068/9.75, allocations: 2.171 MB / 4.006 GB, free: 47 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 8.812e-05/9.75, allocations: 17.28 kB / 4.006 GB, free: 46.98 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006095/9.756, allocations: 0.5289 MB / 4.006 GB, free: 46.45 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008205/9.765, allocations: 1.436 MB / 4.008 GB, free: 44.99 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/9.765, allocations: 122.2 kB / 4.008 GB, free: 44.86 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/9.766, allocations: 95.91 kB / 4.008 GB, free: 44.77 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004251/9.771, allocations: 1.22 MB / 4.009 GB, free: 43.54 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004511/9.775, allocations: 1.486 MB / 4.01 GB, free: 41.98 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.746e-05/9.775, allocations: 3.984 kB / 4.01 GB, free: 41.98 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/9.776, allocations: 4 kB / 4.01 GB, free: 41.98 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.301e-05/9.776, allocations: 50.7 kB / 4.011 GB, free: 41.93 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/9.792, allocations: 8.238 MB / 4.019 GB, free: 33.1 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/9.793, allocations: 0.5487 MB / 4.019 GB, free: 32.55 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/9.793, allocations: 0.4981 MB / 4.02 GB, free: 32.04 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/9.794, allocations: 401.1 kB / 4.02 GB, free: 31.57 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/9.794, allocations: 51.34 kB / 4.02 GB, free: 31.51 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=96): time 6.342e-06/9.794, allocations: 0 / 4.02 GB, free: 31.51 MB / 0.7294 GB Notification: Performance of matching and sorting (n=102): time 0.008014/9.802, allocations: 2.658 MB / 4.023 GB, free: 28.8 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/9.802, allocations: 64.41 kB / 4.023 GB, free: 28.73 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/9.804, allocations: 0.8822 MB / 4.024 GB, free: 27.84 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/9.805, allocations: 29.7 kB / 4.024 GB, free: 27.8 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/9.805, allocations: 0.59 MB / 4.024 GB, free: 27.2 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/9.806, allocations: 350.7 kB / 4.025 GB, free: 26.85 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/9.806, allocations: 0 / 4.025 GB, free: 26.85 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.000124/9.806, allocations: 357.9 kB / 4.025 GB, free: 26.5 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/9.806, allocations: 386.5 kB / 4.025 GB, free: 26.12 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/9.807, allocations: 0.7717 MB / 4.026 GB, free: 25.17 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/9.808, allocations: 0.5673 MB / 4.027 GB, free: 24.61 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/9.808, allocations: 0 / 4.027 GB, free: 24.61 MB / 0.7294 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002179/9.81, allocations: 1.283 MB / 4.028 GB, free: 23.32 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001085/9.811, allocations: 3.631 MB / 4.031 GB, free: 19.46 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/9.811, allocations: 12 kB / 4.031 GB, free: 19.45 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.181e-05/9.811, allocations: 16 kB / 4.031 GB, free: 19.44 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/9.813, allocations: 287.5 kB / 4.032 GB, free: 19.16 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.8e-05/9.813, allocations: 15.94 kB / 4.032 GB, free: 19.14 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/9.815, allocations: 147.5 kB / 4.032 GB, free: 19 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/9.815, allocations: 59.98 kB / 4.032 GB, free: 18.94 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/9.815, allocations: 4 kB / 4.032 GB, free: 18.93 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001663/9.817, allocations: 1.08 MB / 4.033 GB, free: 17.86 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/9.817, allocations: 15.98 kB / 4.033 GB, free: 17.84 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/9.817, allocations: 19.91 kB / 4.033 GB, free: 17.82 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/9.818, allocations: 276.2 kB / 4.033 GB, free: 17.55 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/9.818, allocations: 23.92 kB / 4.033 GB, free: 17.53 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/9.82, allocations: 151.5 kB / 4.033 GB, free: 17.38 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.263e-05/9.82, allocations: 48 kB / 4.033 GB, free: 17.33 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002973/9.82, allocations: 144.5 kB / 4.034 GB, free: 17.18 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/9.821, allocations: 162 kB / 4.034 GB, free: 17.03 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/9.823, allocations: 1.081 MB / 4.035 GB, free: 15.93 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/9.823, allocations: 16 kB / 4.035 GB, free: 15.91 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/9.823, allocations: 3.906 kB / 4.035 GB, free: 15.91 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/9.824, allocations: 1.026 MB / 4.036 GB, free: 14.83 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/9.828, allocations: 2.544 MB / 4.038 GB, free: 12.21 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/9.828, allocations: 8.219 kB / 4.038 GB, free: 12.2 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/9.83, allocations: 251.7 kB / 4.039 GB, free: 11.96 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/9.83, allocations: 4 kB / 4.039 GB, free: 11.95 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/9.83, allocations: 15.98 kB / 4.039 GB, free: 11.94 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/9.83, allocations: 11.94 kB / 4.039 GB, free: 11.93 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/9.83, allocations: 7.906 kB / 4.039 GB, free: 11.92 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002315/9.832, allocations: 1.819 MB / 4.04 GB, free: 10.01 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/9.833, allocations: 323.2 kB / 4.041 GB, free: 9.676 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/9.833, allocations: 11.98 kB / 4.041 GB, free: 9.664 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/9.835, allocations: 135.6 kB / 4.041 GB, free: 9.531 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/9.835, allocations: 52.7 kB / 4.041 GB, free: 9.48 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.764e-05/9.835, allocations: 43.88 kB / 4.041 GB, free: 9.438 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.000942/9.836, allocations: 0.6562 MB / 4.041 GB, free: 8.781 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.003094/9.839, allocations: 0.9217 MB / 4.042 GB, free: 7.859 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.004991/9.844, allocations: 3.365 MB / 4.046 GB, free: 4.285 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.002588/9.847, allocations: 1.612 MB / 4.047 GB, free: 2.68 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/9.847, allocations: 0.875 kB / 4.047 GB, free: 2.68 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.000602/9.847, allocations: 487 kB / 4.048 GB, free: 2.207 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/9.852, allocations: 0.8295 MB / 4.049 GB, free: 1.387 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/9.858, allocations: 2.767 MB / 4.051 GB, free: 14.54 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/9.859, allocations: 1.614 MB / 4.053 GB, free: 12.89 MB / 0.745 GB Notification: Performance of SimCode: time 1.061e-06/9.86, allocations: 0 / 4.053 GB, free: 12.89 MB / 0.745 GB Notification: Performance of Templates: time 0.6369/10.5, allocations: 48.83 MB / 4.1 GB, free: 129.4 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)