Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.245/2.245, allocations: 248.6 MB / 255.9 MB, free: 352 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001663, allocations: 179.5 kB / 315.1 MB, free: 7.742 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.1 MB / 0.5658 GB, free: 25.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.001625/0.001625, allocations: 95.28 kB / 0.67 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3366/0.3383, allocations: 112.4 MB / 0.7797 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.9031, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/1.132, allocations: 132.8 MB / 1.013 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004929/1.133, allocations: 96.55 kB / 1.013 GB, free: 8.152 MB / 0.6667 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.05088/1.184, allocations: 8.03 MB / 1.021 GB, free: 96 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.675e-05/1.184, allocations: 8 kB / 1.021 GB, free: 88 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.184, allocations: 83.22 kB / 1.021 GB, free: 4 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/1.184, allocations: 238.3 kB / 1.021 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/1.184, allocations: 150.6 kB / 1.022 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/1.184, allocations: 150.6 kB / 1.022 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.895e-05/1.184, allocations: 158.4 kB / 1.022 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.311e-05/1.185, allocations: 113 kB / 1.022 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/1.185, allocations: 79.22 kB / 1.022 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.185, allocations: 150.6 kB / 1.022 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.295e-05/1.185, allocations: 150.6 kB / 1.022 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/1.185, allocations: 422.5 kB / 1.023 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/1.185, allocations: 181.2 kB / 1.023 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/1.185, allocations: 80.14 kB / 1.023 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/1.186, allocations: 75.28 kB / 1.023 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.738e-05/1.186, allocations: 109.8 kB / 1.023 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/1.186, allocations: 0 / 1.023 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001363/1.186, allocations: 41.55 kB / 1.023 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/1.186, allocations: 128.5 kB / 1.023 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/1.186, allocations: 96.98 kB / 1.023 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/1.186, allocations: 25.7 kB / 1.023 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/1.186, allocations: 80.14 kB / 1.024 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/1.186, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-07/1.186, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.186, allocations: 314.8 kB / 1.024 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-06/1.186, allocations: 4 kB / 1.024 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/1.186, allocations: 14.58 kB / 1.024 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/1.187, allocations: 79.28 kB / 1.024 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/1.187, allocations: 75.28 kB / 1.024 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000143/1.187, allocations: 37.62 kB / 1.024 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.187, allocations: 9.25 kB / 1.024 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/1.187, allocations: 75.28 kB / 1.024 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.709e-05/1.187, allocations: 154.6 kB / 1.024 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.93e-05/1.187, allocations: 80.89 kB / 1.024 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.354e-05/1.187, allocations: 154.5 kB / 1.024 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/1.187, allocations: 83.27 kB / 1.025 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/1.187, allocations: 79.22 kB / 1.025 GB, free: 12.29 MB / 0.6823 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.0001833/1.188, allocations: 259.5 kB / 1.025 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/1.188, allocations: 104.9 kB / 1.025 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/1.188, allocations: 108.1 kB / 1.025 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.19e-05/1.188, allocations: 184.2 kB / 1.025 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.562e-05/1.188, allocations: 184.2 kB / 1.025 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.89e-05/1.188, allocations: 176.3 kB / 1.026 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/1.189, allocations: 389.7 kB / 1.026 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.621e-05/1.189, allocations: 105 kB / 1.026 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/1.189, allocations: 101.2 kB / 1.026 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.309e-05/1.189, allocations: 180.2 kB / 1.026 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.189, allocations: 188.3 kB / 1.027 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.342e-05/1.189, allocations: 184.2 kB / 1.027 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.689e-05/1.189, allocations: 184.2 kB / 1.027 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002078/1.189, allocations: 299.7 kB / 1.027 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004169/1.19, allocations: 0.6837 MB / 1.028 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/1.19, allocations: 182.2 kB / 1.028 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/1.19, allocations: 184.2 kB / 1.028 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/1.191, allocations: 105 kB / 1.028 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/1.191, allocations: 180.2 kB / 1.028 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/1.191, allocations: 108.9 kB / 1.029 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.074e-05/1.191, allocations: 87.27 kB / 1.029 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002757/1.194, allocations: 107.9 kB / 1.029 GB, free: 7.852 MB / 0.6823 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.001476/1.195, allocations: 405.9 kB / 1.029 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.077e-05/1.195, allocations: 7.938 kB / 1.029 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.195, allocations: 8 kB / 1.029 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/1.195, allocations: 0 / 1.029 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/1.196, allocations: 0.5223 MB / 1.03 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/1.201, allocations: 0.7984 MB / 1.03 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/1.201, allocations: 0.6841 MB / 1.031 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of SimCode: time 9.91e-07/1.201, allocations: 4 kB / 1.031 GB, free: 5.402 MB / 0.6823 GB