Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") [: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.485/1.485, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001163/0.001163, allocations: 185.2 kB / 366.3 MB, free: 2.016 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.482/1.482, allocations: 205.1 MB / 0.6256 GB, free: 7.5 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.0009599/0.0009601, allocations: 90.3 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.644e-06, allocations: 0 / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7507, allocations: 116.3 MB / 0.9726 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9324/1.683, allocations: 390.1 MB / 1.354 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.683, allocations: 93.39 kB / 1.354 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.564/3.247, allocations: 0.5664 GB / 1.92 GB, free: 69.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.361e-05/3.247, allocations: 23.98 kB / 1.92 GB, free: 69.77 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002659/3.25, allocations: 1.185 MB / 1.921 GB, free: 68.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/3.25, allocations: 8.031 kB / 1.921 GB, free: 68.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/3.253, allocations: 0.5334 MB / 1.922 GB, free: 68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/3.268, allocations: 7.148 MB / 1.929 GB, free: 60.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/3.268, allocations: 16 kB / 1.929 GB, free: 60.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/3.268, allocations: 36 kB / 1.929 GB, free: 60.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000955/3.269, allocations: 494.5 kB / 1.929 GB, free: 60.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/3.27, allocations: 0.607 MB / 1.93 GB, free: 59.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/3.27, allocations: 0 / 1.93 GB, free: 59.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/3.27, allocations: 0 / 1.93 GB, free: 59.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/3.27, allocations: 23.91 kB / 1.93 GB, free: 59.53 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005257/3.276, allocations: 4.559 MB / 1.934 GB, free: 54.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/3.276, allocations: 382.5 kB / 1.935 GB, free: 54.22 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/3.277, allocations: 212.8 kB / 1.935 GB, free: 54.01 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008353/3.277, allocations: 0.9426 MB / 1.936 GB, free: 52.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/3.277, allocations: 34.56 kB / 1.936 GB, free: 52.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/3.277, allocations: 4 kB / 1.936 GB, free: 52.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.001162/3.279, allocations: 0.4922 MB / 1.936 GB, free: 52.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/3.279, allocations: 59.39 kB / 1.936 GB, free: 52.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006158/3.279, allocations: 0.5393 MB / 1.937 GB, free: 51.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/3.279, allocations: 29.7 kB / 1.937 GB, free: 51.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/3.279, allocations: 319.6 kB / 1.937 GB, free: 51.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.177e-05/3.28, allocations: 118.2 kB / 1.937 GB, free: 51.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/3.28, allocations: 4 kB / 1.937 GB, free: 51.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/3.28, allocations: 326 kB / 1.938 GB, free: 50.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/3.28, allocations: 181 kB / 1.938 GB, free: 50.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/3.28, allocations: 376.6 kB / 1.938 GB, free: 50.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/3.281, allocations: 240.8 kB / 1.938 GB, free: 50.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/3.281, allocations: 0 / 1.938 GB, free: 50.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001085/3.282, allocations: 0.5874 MB / 1.939 GB, free: 49.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004084/3.282, allocations: 1.661 MB / 1.941 GB, free: 47.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/3.282, allocations: 8 kB / 1.941 GB, free: 47.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/3.282, allocations: 8 kB / 1.941 GB, free: 47.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000877/3.283, allocations: 195.7 kB / 1.941 GB, free: 47.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/3.283, allocations: 15.92 kB / 1.941 GB, free: 47.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/3.284, allocations: 163.5 kB / 1.941 GB, free: 47.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/3.285, allocations: 31.89 kB / 1.941 GB, free: 47.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/3.285, allocations: 4 kB / 1.941 GB, free: 47.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009509/3.286, allocations: 491.4 kB / 1.941 GB, free: 46.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/3.286, allocations: 4 kB / 1.941 GB, free: 46.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.762e-06/3.286, allocations: 8 kB / 1.941 GB, free: 46.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008414/3.286, allocations: 204.1 kB / 1.942 GB, free: 46.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/3.286, allocations: 8 kB / 1.942 GB, free: 46.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/3.287, allocations: 155.5 kB / 1.942 GB, free: 46.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/3.287, allocations: 27.98 kB / 1.942 GB, free: 46.35 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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.0001335/3.288, allocations: 124.8 kB / 1.942 GB, free: 46.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/3.288, allocations: 82.97 kB / 1.942 GB, free: 46.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/3.289, allocations: 0.7161 MB / 1.943 GB, free: 45.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/3.289, allocations: 12 kB / 1.943 GB, free: 45.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/3.289, allocations: 3.938 kB / 1.943 GB, free: 45.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/3.289, allocations: 3.984 kB / 1.943 GB, free: 45.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/3.292, allocations: 1.486 MB / 1.944 GB, free: 43.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/3.292, allocations: 0 / 1.944 GB, free: 43.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/3.292, allocations: 163.9 kB / 1.944 GB, free: 43.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/3.292, allocations: 4 kB / 1.944 GB, free: 43.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/3.292, allocations: 7.984 kB / 1.944 GB, free: 43.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/3.292, allocations: 4 kB / 1.944 GB, free: 43.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/3.292, allocations: 0 / 1.944 GB, free: 43.68 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001407/3.294, allocations: 1.039 MB / 1.945 GB, free: 42.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/3.294, allocations: 227.9 kB / 1.946 GB, free: 42.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/3.294, allocations: 0 / 1.946 GB, free: 42.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/3.295, allocations: 131.9 kB / 1.946 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/3.295, allocations: 39.8 kB / 1.946 GB, free: 42.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/3.295, allocations: 15.98 kB / 1.946 GB, free: 42.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004312/3.296, allocations: 419.2 kB / 1.946 GB, free: 41.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001285/3.297, allocations: 447.1 kB / 1.947 GB, free: 41.32 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0008104/3.298, allocations: 0.5049 MB / 1.947 GB, free: 40.81 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001084/3.299, allocations: 0.7809 MB / 1.948 GB, free: 40.03 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/3.299, allocations: 3.938 kB / 1.948 GB, free: 40.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/3.299, allocations: 277.7 kB / 1.948 GB, free: 39.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/3.301, allocations: 300.4 kB / 1.948 GB, free: 39.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/3.306, allocations: 1.726 MB / 1.95 GB, free: 37.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/3.307, allocations: 1.081 MB / 1.951 GB, free: 36.59 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/3.307, allocations: 4 kB / 1.951 GB, free: 36.59 MB / 0.948 GB Notification: Performance of Templates: time 0.03005/3.337, allocations: 19.85 MB / 1.971 GB, free: 16.91 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)