Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.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.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") [: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.017/2.017, 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.001642/0.001641, allocations: 196.9 kB / 319.6 MB, free: 3.305 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.797/1.797, allocations: 205.4 MB / 0.5704 GB, free: 14.98 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.001301/0.001301, allocations: 94 kB / 0.6746 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.318e-06/9.508e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6503/0.8566, allocations: 133.8 MB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000376/0.857, allocations: 93.69 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03444/0.8915, allocations: 7.62 MB / 1.026 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.8916, allocations: 0 / 1.026 GB, free: 14.58 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006282/0.8922, allocations: 413.7 kB / 1.027 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.8923, allocations: 8.031 kB / 1.027 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.8924, allocations: 83.02 kB / 1.027 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.8925, allocations: 246.3 kB / 1.027 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.8926, allocations: 150.6 kB / 1.027 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.8927, allocations: 154.5 kB / 1.027 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.42e-05/0.8927, allocations: 158.5 kB / 1.027 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.837e-05/0.8928, allocations: 101 kB / 1.028 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.8928, allocations: 75.28 kB / 1.028 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.8929, allocations: 166 kB / 1.028 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.893, allocations: 150.6 kB / 1.028 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.8933, allocations: 418.5 kB / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.888e-05/0.8934, allocations: 176.6 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.8935, allocations: 84.14 kB / 1.029 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.8935, allocations: 79.28 kB / 1.029 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.8936, allocations: 109.8 kB / 1.029 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.8936, allocations: 0 / 1.029 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 9.513e-05/0.8937, allocations: 29.61 kB / 1.029 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.8938, allocations: 132.5 kB / 1.029 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.8939, allocations: 96.42 kB / 1.029 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.8939, allocations: 29.7 kB / 1.029 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.894, allocations: 80.14 kB / 1.029 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.894, allocations: 3.938 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-07/0.894, allocations: 0 / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8941, allocations: 314.8 kB / 1.029 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-06/0.8942, allocations: 0 / 1.029 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.8942, allocations: 22.02 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.8943, allocations: 79.28 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.553e-05/0.8943, allocations: 75.28 kB / 1.03 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.849e-05/0.8944, allocations: 29.7 kB / 1.03 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8944, allocations: 4 kB / 1.03 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.8944, allocations: 79.22 kB / 1.03 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.046e-05/0.8945, allocations: 154.6 kB / 1.03 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/0.8946, allocations: 87.17 kB / 1.03 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.548e-05/0.8947, allocations: 154.5 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.8949, allocations: 83.22 kB / 1.03 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.8949, allocations: 75.28 kB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001275/0.8951, allocations: 255 kB / 1.03 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.8952, allocations: 108.9 kB / 1.031 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.8952, allocations: 112.1 kB / 1.031 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-05/0.8953, allocations: 176.3 kB / 1.031 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-05/0.8954, allocations: 188.8 kB / 1.031 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.983e-05/0.8955, allocations: 176.3 kB / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.8957, allocations: 381.6 kB / 1.032 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-05/0.8958, allocations: 117 kB / 1.032 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.8959, allocations: 105.2 kB / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.545e-05/0.896, allocations: 180.3 kB / 1.032 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/0.896, allocations: 184.2 kB / 1.032 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.169e-05/0.8961, allocations: 180.3 kB / 1.032 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.393e-05/0.8962, allocations: 176.3 kB / 1.032 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001491/0.8963, allocations: 315.1 kB / 1.033 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.8964, allocations: 181.7 kB / 1.033 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.8965, allocations: 184.2 kB / 1.033 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.8968, allocations: 105 kB / 1.033 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.8969, allocations: 180.3 kB / 1.033 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.8969, allocations: 112.9 kB / 1.033 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.527e-05/0.897, allocations: 79.19 kB / 1.034 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006844/0.8977, allocations: 102.8 kB / 1.034 GB, free: 6.637 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0009948/0.8987, allocations: 408 kB / 1.034 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.01e-05/0.8987, allocations: 4 kB / 1.034 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8988, allocations: 0 / 1.034 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.8988, allocations: 3.938 kB / 1.034 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.8991, allocations: 0.5185 MB / 1.035 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.9025, allocations: 0.7989 MB / 1.035 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.9029, allocations: 0.688 MB / 1.036 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of SimCode: time 1.503e-06/0.9029, allocations: 0 / 1.036 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of Templates: time 0.007053/0.91, allocations: 1.979 MB / 1.038 GB, free: 2.422 MB / 0.6511 GB