Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.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 7.0.1/package.mo): time 2.041/2.041, allocations: 253.1 MB / 260.4 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002312/0.002312, allocations: 173.3 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001318, allocations: 79.41 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.476e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2056, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9542/1.16, allocations: 382.4 MB / 1.261 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.16, allocations: 93.75 kB / 1.262 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.53/3.69, allocations: 0.5494 GB / 1.811 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001344/3.69, allocations: 26.58 kB / 1.811 GB, free: 108.5 MB / 0.8698 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.003932/3.694, allocations: 1.173 MB / 1.812 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/3.694, allocations: 8.031 kB / 1.812 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005336/3.7, allocations: 0.5387 MB / 1.813 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02414/3.724, allocations: 6.973 MB / 1.819 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/3.724, allocations: 20 kB / 1.819 GB, free: 99.86 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/3.724, allocations: 36 kB / 1.82 GB, free: 99.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001633/3.726, allocations: 494.5 kB / 1.82 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/3.727, allocations: 0.6108 MB / 1.821 GB, free: 98.69 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/3.727, allocations: 0 / 1.821 GB, free: 98.69 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/3.727, allocations: 4 kB / 1.821 GB, free: 98.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/3.727, allocations: 12 kB / 1.821 GB, free: 98.67 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009348/3.737, allocations: 4.572 MB / 1.825 GB, free: 93.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009978/3.738, allocations: 376.7 kB / 1.825 GB, free: 93.38 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005644/3.738, allocations: 226.2 kB / 1.826 GB, free: 93.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/3.74, allocations: 0.9418 MB / 1.827 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/3.74, allocations: 34.56 kB / 1.827 GB, free: 91.97 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 3.096e-06/3.74, allocations: 0 / 1.827 GB, free: 91.97 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.002029/3.742, allocations: 0.4897 MB / 1.827 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/3.742, allocations: 55.41 kB / 1.827 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/3.743, allocations: 0.5432 MB / 1.828 GB, free: 90.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/3.743, allocations: 25.7 kB / 1.828 GB, free: 90.83 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/3.743, allocations: 315.7 kB / 1.828 GB, free: 90.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/3.743, allocations: 126.2 kB / 1.828 GB, free: 90.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/3.743, allocations: 0 / 1.828 GB, free: 90.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/3.743, allocations: 318 kB / 1.828 GB, free: 90.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/3.744, allocations: 188.9 kB / 1.829 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/3.745, allocations: 372.7 kB / 1.829 GB, free: 89.44 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/3.746, allocations: 244.7 kB / 1.829 GB, free: 89.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/3.746, allocations: 3.906 kB / 1.829 GB, free: 89.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002054/3.748, allocations: 0.5948 MB / 1.83 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003298/3.748, allocations: 1.655 MB / 1.831 GB, free: 86.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/3.748, allocations: 4 kB / 1.831 GB, free: 86.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/3.748, allocations: 8 kB / 1.831 GB, free: 86.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/3.75, allocations: 199.7 kB / 1.832 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/3.75, allocations: 8 kB / 1.832 GB, free: 86.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/3.752, allocations: 163.1 kB / 1.832 GB, free: 86.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/3.752, allocations: 27.97 kB / 1.832 GB, free: 86.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/3.752, allocations: 4 kB / 1.832 GB, free: 86.41 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001772/3.754, allocations: 499.1 kB / 1.832 GB, free: 85.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/3.754, allocations: 4 kB / 1.832 GB, free: 85.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/3.754, allocations: 8 kB / 1.832 GB, free: 85.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/3.756, allocations: 200.3 kB / 1.832 GB, free: 85.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/3.756, allocations: 8 kB / 1.832 GB, free: 85.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/3.758, allocations: 155.5 kB / 1.833 GB, free: 85.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/3.758, allocations: 31.98 kB / 1.833 GB, free: 85.52 MB / 0.8698 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.0002467/3.759, allocations: 124.6 kB / 1.833 GB, free: 85.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/3.759, allocations: 79.06 kB / 1.833 GB, free: 85.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/3.762, allocations: 0.7076 MB / 1.834 GB, free: 84.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/3.762, allocations: 4 kB / 1.834 GB, free: 84.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/3.762, allocations: 4 kB / 1.834 GB, free: 84.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/3.762, allocations: 3.984 kB / 1.834 GB, free: 84.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005096/3.767, allocations: 1.485 MB / 1.835 GB, free: 83.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/3.767, allocations: 0 / 1.835 GB, free: 83.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/3.769, allocations: 159.9 kB / 1.835 GB, free: 82.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/3.769, allocations: 4 kB / 1.835 GB, free: 82.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/3.769, allocations: 15.89 kB / 1.835 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/3.769, allocations: 4 kB / 1.835 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/3.769, allocations: 0 / 1.835 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002932/3.772, allocations: 1.039 MB / 1.836 GB, free: 81.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007104/3.773, allocations: 227.9 kB / 1.836 GB, free: 81.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/3.773, allocations: 11.25 kB / 1.836 GB, free: 81.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/3.775, allocations: 135.8 kB / 1.837 GB, free: 81.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/3.775, allocations: 23.95 kB / 1.837 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-05/3.775, allocations: 19.98 kB / 1.837 GB, free: 81.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009191/3.776, allocations: 423.2 kB / 1.837 GB, free: 80.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002311/3.778, allocations: 447.1 kB / 1.837 GB, free: 80.52 MB / 0.8698 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.001327/3.78, allocations: 0.5107 MB / 1.838 GB, free: 80.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002306/3.782, allocations: 0.7849 MB / 1.839 GB, free: 79.26 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/3.782, allocations: 0 / 1.839 GB, free: 79.26 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/3.783, allocations: 279.2 kB / 1.839 GB, free: 78.99 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/3.786, allocations: 319 kB / 1.839 GB, free: 78.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/3.798, allocations: 1.719 MB / 1.841 GB, free: 76.94 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/3.799, allocations: 1.089 MB / 1.842 GB, free: 75.82 MB / 0.8698 GB Notification: Performance of SimCode: time 1.263e-06/3.799, allocations: 4 kB / 1.842 GB, free: 75.82 MB / 0.8698 GB Notification: Performance of Templates: time 0.05132/3.85, allocations: 19.83 MB / 1.861 GB, free: 56.28 MB / 0.8698 GB