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: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [: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.249/1.249, allocations: 249.4 MB / 256.7 MB, free: 6.895 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.001008/0.001009, allocations: 181.2 kB / 316 MB, free: 3.512 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.111/1.111, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0009287/0.0009287, allocations: 81.53 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3206/0.3216, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.4687, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.9159, allocations: 134.1 MB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.9163, allocations: 97.2 kB / 1.016 GB, free: 4.406 MB / 0.6355 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.02049/0.9368, allocations: 8.026 MB / 1.024 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.9368, allocations: 8 kB / 1.024 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.9369, allocations: 75.28 kB / 1.024 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.9371, allocations: 242.3 kB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.9371, allocations: 154.5 kB / 1.024 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.9372, allocations: 158.5 kB / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.425e-05/0.9372, allocations: 154.1 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.641e-05/0.9373, allocations: 104.9 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.9373, allocations: 75.28 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.9374, allocations: 154.6 kB / 1.025 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.938e-05/0.9375, allocations: 150.6 kB / 1.025 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.9377, allocations: 430.4 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.9377, allocations: 169.2 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.9378, allocations: 84.14 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.9378, allocations: 75.28 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.9378, allocations: 113.8 kB / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.9378, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 6.702e-05/0.9379, allocations: 33.61 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.938, allocations: 128.5 kB / 1.026 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.938, allocations: 96.17 kB / 1.026 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.9381, allocations: 25.7 kB / 1.026 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.9381, allocations: 80.14 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.9381, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.9381, allocations: 4 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.03e-05/0.9382, allocations: 313.6 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/0.9382, allocations: 0 / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.9382, allocations: 18.58 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.9383, allocations: 75.28 kB / 1.026 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-05/0.9383, allocations: 83.2 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.287e-05/0.9383, allocations: 33.7 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.9384, allocations: 4 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/0.9384, allocations: 79.28 kB / 1.027 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.545e-05/0.9384, allocations: 154.5 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.27e-05/0.9385, allocations: 79.22 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-05/0.9385, allocations: 154.5 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.9386, allocations: 84.59 kB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.9387, allocations: 83.22 kB / 1.027 GB, free: 10.29 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 9.952e-05/0.9388, allocations: 259.5 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.9388, allocations: 101 kB / 1.027 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.9389, allocations: 104.1 kB / 1.027 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.844e-05/0.939, allocations: 196 kB / 1.028 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.99e-05/0.939, allocations: 180.3 kB / 1.028 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.89e-05/0.9391, allocations: 180.1 kB / 1.028 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.9393, allocations: 385.7 kB / 1.028 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.205e-05/0.9394, allocations: 105 kB / 1.028 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.9394, allocations: 101.2 kB / 1.029 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-05/0.9395, allocations: 180.2 kB / 1.029 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.9395, allocations: 184.3 kB / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.33e-05/0.9396, allocations: 188.2 kB / 1.029 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.779e-05/0.9397, allocations: 180.1 kB / 1.029 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001341/0.9398, allocations: 307.7 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002722/0.9401, allocations: 0.6794 MB / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.9402, allocations: 186.3 kB / 1.03 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.9403, allocations: 180.2 kB / 1.031 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.9404, allocations: 109 kB / 1.031 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.9405, allocations: 184.2 kB / 1.031 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.9405, allocations: 101 kB / 1.031 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.308e-05/0.9405, allocations: 86.58 kB / 1.031 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001063/0.9416, allocations: 106.8 kB / 1.031 GB, free: 5.879 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.000712/0.9423, allocations: 407.5 kB / 1.032 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.261e-05/0.9424, allocations: 3.938 kB / 1.032 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9424, allocations: 4 kB / 1.032 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.9424, allocations: 0 / 1.032 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.9427, allocations: 0.5219 MB / 1.032 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.9449, allocations: 0.7998 MB / 1.033 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.9452, allocations: 0.6841 MB / 1.034 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.9452, allocations: 0 / 1.034 GB, free: 3.582 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)