Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.32/2.32, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.001618/0.001618, allocations: 185.2 kB / 360.4 MB, free: 7.543 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.722/1.722, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001343/0.001342, allocations: 87.84 kB / 0.7318 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.817e-06, allocations: 0 / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6119/0.6119, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.944/1.556, allocations: 389 MB / 1.343 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.556, allocations: 87.97 kB / 1.343 GB, free: 177 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.237/3.793, allocations: 0.5664 GB / 1.909 GB, free: 56.53 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001116/3.794, allocations: 24 kB / 1.909 GB, free: 56.5 MB / 0.9323 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.003004/3.797, allocations: 1.18 MB / 1.91 GB, free: 55.27 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/3.797, allocations: 12.53 kB / 1.91 GB, free: 55.26 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/3.802, allocations: 0.5333 MB / 1.911 GB, free: 54.73 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02372/3.826, allocations: 7.144 MB / 1.918 GB, free: 47.47 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/3.826, allocations: 20 kB / 1.918 GB, free: 47.45 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/3.826, allocations: 36 kB / 1.918 GB, free: 47.42 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001542/3.827, allocations: 482.6 kB / 1.918 GB, free: 46.95 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/3.829, allocations: 0.614 MB / 1.919 GB, free: 46.29 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/3.829, allocations: 7.875 kB / 1.919 GB, free: 46.28 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/3.829, allocations: 7.984 kB / 1.919 GB, free: 46.27 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/3.829, allocations: 19.91 kB / 1.919 GB, free: 46.25 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008736/3.838, allocations: 4.585 MB / 1.923 GB, free: 41.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009517/3.839, allocations: 370.5 kB / 1.924 GB, free: 40.92 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/3.839, allocations: 222.6 kB / 1.924 GB, free: 40.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009843/3.84, allocations: 0.9337 MB / 1.925 GB, free: 39.57 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/3.84, allocations: 42.5 kB / 1.925 GB, free: 39.52 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=35): time 2.815e-06/3.84, allocations: 4 kB / 1.925 GB, free: 39.51 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.001771/3.842, allocations: 0.4924 MB / 1.925 GB, free: 39.01 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/3.842, allocations: 55.41 kB / 1.925 GB, free: 38.95 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/3.843, allocations: 0.5394 MB / 1.926 GB, free: 38.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/3.843, allocations: 25.7 kB / 1.926 GB, free: 38.37 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/3.843, allocations: 315.7 kB / 1.926 GB, free: 38.05 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/3.844, allocations: 122.1 kB / 1.926 GB, free: 37.93 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/3.844, allocations: 0 / 1.926 GB, free: 37.93 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/3.844, allocations: 326 kB / 1.927 GB, free: 37.61 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/3.844, allocations: 181 kB / 1.927 GB, free: 37.43 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/3.845, allocations: 376.6 kB / 1.927 GB, free: 36.98 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/3.846, allocations: 244.8 kB / 1.927 GB, free: 36.74 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/3.846, allocations: 0 / 1.927 GB, free: 36.74 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001877/3.848, allocations: 0.5952 MB / 1.928 GB, free: 36.14 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/3.848, allocations: 1.661 MB / 1.93 GB, free: 34.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/3.848, allocations: 8 kB / 1.93 GB, free: 34.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/3.848, allocations: 8 kB / 1.93 GB, free: 34.33 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/3.85, allocations: 199.7 kB / 1.93 GB, free: 34.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/3.85, allocations: 8 kB / 1.93 GB, free: 34.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/3.852, allocations: 163.5 kB / 1.93 GB, free: 33.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/3.852, allocations: 27.89 kB / 1.93 GB, free: 33.94 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/3.852, allocations: 4 kB / 1.93 GB, free: 33.94 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00169/3.854, allocations: 499.3 kB / 1.931 GB, free: 33.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/3.854, allocations: 4 kB / 1.931 GB, free: 33.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/3.854, allocations: 8 kB / 1.931 GB, free: 33.44 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/3.855, allocations: 196.2 kB / 1.931 GB, free: 33.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/3.855, allocations: 15.92 kB / 1.931 GB, free: 33.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/3.857, allocations: 155.5 kB / 1.931 GB, free: 33.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/3.857, allocations: 27.98 kB / 1.931 GB, free: 33.05 MB / 0.9323 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.0001969/3.857, allocations: 124.7 kB / 1.931 GB, free: 32.92 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/3.858, allocations: 82.97 kB / 1.931 GB, free: 32.84 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/3.86, allocations: 0.7038 MB / 1.932 GB, free: 32.13 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/3.86, allocations: 7.984 kB / 1.932 GB, free: 32.12 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/3.86, allocations: 0 / 1.932 GB, free: 32.12 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/3.86, allocations: 0 / 1.932 GB, free: 32.12 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/3.864, allocations: 1.474 MB / 1.933 GB, free: 30.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/3.864, allocations: 3.938 kB / 1.933 GB, free: 30.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/3.866, allocations: 160 kB / 1.933 GB, free: 30.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/3.866, allocations: 4 kB / 1.933 GB, free: 30.43 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/3.866, allocations: 15.92 kB / 1.933 GB, free: 30.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/3.866, allocations: 7.984 kB / 1.933 GB, free: 30.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/3.866, allocations: 3.938 kB / 1.933 GB, free: 30.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002571/3.869, allocations: 1.039 MB / 1.934 GB, free: 29.31 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/3.869, allocations: 219.9 kB / 1.935 GB, free: 29.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/3.869, allocations: 7.984 kB / 1.935 GB, free: 29.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/3.871, allocations: 127.9 kB / 1.935 GB, free: 28.95 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/3.871, allocations: 31.8 kB / 1.935 GB, free: 28.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/3.871, allocations: 23.98 kB / 1.935 GB, free: 28.89 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007426/3.872, allocations: 427.1 kB / 1.935 GB, free: 28.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001973/3.874, allocations: 451.1 kB / 1.936 GB, free: 28.04 MB / 0.9323 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.001102/3.875, allocations: 0.5135 MB / 1.936 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002014/3.877, allocations: 0.7895 MB / 1.937 GB, free: 26.73 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/3.877, allocations: 4 kB / 1.937 GB, free: 26.73 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006583/3.878, allocations: 267.8 kB / 1.937 GB, free: 26.47 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/3.881, allocations: 297.5 kB / 1.938 GB, free: 26.19 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/3.892, allocations: 1.726 MB / 1.939 GB, free: 24.42 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/3.893, allocations: 1.085 MB / 1.94 GB, free: 23.31 MB / 0.9323 GB Notification: Performance of SimCode: time 1.382e-06/3.893, allocations: 0 / 1.94 GB, free: 23.31 MB / 0.9323 GB Notification: Performance of Templates: time 0.04902/3.942, allocations: 19.85 MB / 1.96 GB, free: 3.633 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)