Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QHea_flow|QCoo_flow|QWatHea_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QHea_flow|QCoo_flow|QWatHea_flow",fileNamePrefix="Buildings_maint.7.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.181/1.181, allocations: 249.4 MB / 256.7 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 185.1 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008269/0.0008269, allocations: 89.59 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.252e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1456, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4267/0.5723, allocations: 134.1 MB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.5726, allocations: 98.98 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01925/0.5919, allocations: 7.612 MB / 1.023 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5919, allocations: 4 kB / 1.023 GB, free: 14.63 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.000284/0.5922, allocations: 404.9 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.5922, allocations: 8.031 kB / 1.023 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.5923, allocations: 83.16 kB / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.5924, allocations: 242.3 kB / 1.024 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.5925, allocations: 154.1 kB / 1.024 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.5925, allocations: 154.5 kB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.143e-05/0.5926, allocations: 154.6 kB / 1.024 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.067e-05/0.5926, allocations: 101 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5926, allocations: 75.28 kB / 1.024 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.5927, allocations: 150.6 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.5927, allocations: 154.6 kB / 1.025 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.5929, allocations: 433.9 kB / 1.025 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.826e-05/0.593, allocations: 169.2 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.593, allocations: 80.14 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.593, allocations: 79.28 kB / 1.025 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5931, allocations: 113.8 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.5931, allocations: 0 / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 6.172e-05/0.5931, allocations: 33.55 kB / 1.026 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.5932, allocations: 132.5 kB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.5933, allocations: 92.97 kB / 1.026 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.5933, allocations: 25.7 kB / 1.026 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.5933, allocations: 84.14 kB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-06/0.5933, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.5933, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.5934, allocations: 318.3 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-06/0.5934, allocations: 0 / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.5934, allocations: 18.58 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.5935, allocations: 75.28 kB / 1.026 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.5935, allocations: 75.28 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.31e-05/0.5935, allocations: 37.62 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.5936, allocations: 8 kB / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.5936, allocations: 79.28 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.299e-05/0.5936, allocations: 158.5 kB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-05/0.5937, allocations: 83.16 kB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.3e-05/0.5937, allocations: 150.6 kB / 1.027 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.5938, allocations: 87.95 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.5939, allocations: 83.22 kB / 1.027 GB, free: 10.4 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 8.069e-05/0.5939, allocations: 251.5 kB / 1.027 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.594, allocations: 108.9 kB / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.594, allocations: 104.1 kB / 1.027 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/0.5941, allocations: 184.1 kB / 1.028 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-05/0.5941, allocations: 184.2 kB / 1.028 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/0.5942, allocations: 183.5 kB / 1.028 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.5943, allocations: 381.7 kB / 1.028 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-05/0.5944, allocations: 109 kB / 1.028 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.5944, allocations: 101.2 kB / 1.028 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.954e-05/0.5945, allocations: 180.2 kB / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.5945, allocations: 187.7 kB / 1.029 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.214e-05/0.5946, allocations: 180.3 kB / 1.029 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-05/0.5946, allocations: 184.2 kB / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.604e-05/0.5947, allocations: 303.6 kB / 1.029 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.5948, allocations: 190 kB / 1.03 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.5948, allocations: 180.3 kB / 1.03 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5949, allocations: 101 kB / 1.03 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.595, allocations: 184.2 kB / 1.03 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.595, allocations: 108.9 kB / 1.03 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.775e-05/0.5951, allocations: 79.16 kB / 1.03 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003619/0.5954, allocations: 95.72 kB / 1.03 GB, free: 6.703 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.0006085/0.5961, allocations: 409.4 kB / 1.031 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.012e-05/0.5961, allocations: 7.938 kB / 1.031 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5961, allocations: 0 / 1.031 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.5961, allocations: 0 / 1.031 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.5964, allocations: 0.5302 MB / 1.031 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.5983, allocations: 0.8009 MB / 1.032 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.5985, allocations: 0.6802 MB / 1.033 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.5985, allocations: 0 / 1.033 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of Templates: time 0.003904/0.6024, allocations: 1.981 MB / 1.035 GB, free: 2.484 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)