Running: ./testmodel.py --libraries=/home/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 (/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.Plants.Validation.Plant_T,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T",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.217/2.217, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.00158/0.00158, allocations: 186.5 kB / 315.1 MB, free: 4.262 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.082/2.082, allocations: 205.1 MB / 0.5658 GB, free: 284 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 86.78 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4672/0.4685, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.6982, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/2.098, allocations: 382.4 MB / 1.257 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/2.099, allocations: 85.2 kB / 1.257 GB, free: 250.9 MB / 0.8542 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 2.358/4.457, allocations: 0.5506 GB / 1.808 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/4.457, allocations: 12 kB / 1.808 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008031/4.465, allocations: 0.536 MB / 1.808 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03559/4.501, allocations: 6.976 MB / 1.815 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/4.501, allocations: 20 kB / 1.815 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/4.501, allocations: 39.25 kB / 1.815 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002419/4.504, allocations: 494.4 kB / 1.815 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/4.506, allocations: 0.607 MB / 1.816 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/4.506, allocations: 3.984 kB / 1.816 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/4.506, allocations: 4 kB / 1.816 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/4.506, allocations: 12 kB / 1.816 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/4.521, allocations: 4.571 MB / 1.821 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/4.523, allocations: 376.8 kB / 1.821 GB, free: 97.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/4.524, allocations: 222 kB / 1.821 GB, free: 96.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/4.525, allocations: 0.937 MB / 1.822 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/4.525, allocations: 38.56 kB / 1.822 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 4.539e-06/4.525, allocations: 0 / 1.822 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.002737/4.528, allocations: 0.4936 MB / 1.823 GB, free: 95.29 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/4.528, allocations: 59.41 kB / 1.823 GB, free: 95.22 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/4.529, allocations: 0.547 MB / 1.823 GB, free: 94.67 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-05/4.529, allocations: 25.7 kB / 1.823 GB, free: 94.64 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/4.53, allocations: 311.8 kB / 1.823 GB, free: 94.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/4.53, allocations: 126.1 kB / 1.824 GB, free: 94.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/4.53, allocations: 0 / 1.824 GB, free: 94.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/4.53, allocations: 322 kB / 1.824 GB, free: 93.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/4.53, allocations: 185 kB / 1.824 GB, free: 93.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/4.531, allocations: 380.7 kB / 1.824 GB, free: 93.24 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/4.532, allocations: 242 kB / 1.825 GB, free: 93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/4.532, allocations: 3.906 kB / 1.825 GB, free: 93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00202/4.534, allocations: 0.5904 MB / 1.825 GB, free: 92.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003589/4.535, allocations: 1.662 MB / 1.827 GB, free: 90.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/4.535, allocations: 4 kB / 1.827 GB, free: 90.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/4.535, allocations: 8 kB / 1.827 GB, free: 90.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/4.536, allocations: 199.7 kB / 1.827 GB, free: 90.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/4.536, allocations: 11.94 kB / 1.827 GB, free: 90.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/4.539, allocations: 167.4 kB / 1.827 GB, free: 90.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/4.539, allocations: 27.98 kB / 1.827 GB, free: 90.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/4.539, allocations: 4 kB / 1.827 GB, free: 90.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001781/4.541, allocations: 491.8 kB / 1.828 GB, free: 89.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/4.541, allocations: 8 kB / 1.828 GB, free: 89.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/4.541, allocations: 4 kB / 1.828 GB, free: 89.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/4.542, allocations: 203.8 kB / 1.828 GB, free: 89.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/4.542, allocations: 4 kB / 1.828 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/4.544, allocations: 159.5 kB / 1.828 GB, free: 89.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/4.545, allocations: 31.92 kB / 1.828 GB, free: 89.32 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.0002192/4.545, allocations: 120.8 kB / 1.828 GB, free: 89.19 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/4.545, allocations: 75.06 kB / 1.828 GB, free: 89.12 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/4.548, allocations: 0.7232 MB / 1.829 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/4.548, allocations: 4 kB / 1.829 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/4.548, allocations: 0 / 1.829 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/4.548, allocations: 7.922 kB / 1.829 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/4.552, allocations: 1.479 MB / 1.83 GB, free: 86.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/4.553, allocations: 0 / 1.83 GB, free: 86.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/4.554, allocations: 163.9 kB / 1.831 GB, free: 86.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/4.554, allocations: 0 / 1.831 GB, free: 86.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/4.554, allocations: 23.89 kB / 1.831 GB, free: 86.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/4.554, allocations: 3.938 kB / 1.831 GB, free: 86.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/4.554, allocations: 0 / 1.831 GB, free: 86.67 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002919/4.557, allocations: 1.039 MB / 1.832 GB, free: 85.59 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003803/4.561, allocations: 1.776 MB / 1.833 GB, free: 83.76 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/4.562, allocations: 223.9 kB / 1.834 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/4.562, allocations: 0 / 1.834 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/4.564, allocations: 127.8 kB / 1.834 GB, free: 83.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/4.564, allocations: 31.89 kB / 1.834 GB, free: 83.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/4.564, allocations: 23.98 kB / 1.834 GB, free: 83.34 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008059/4.565, allocations: 419.2 kB / 1.834 GB, free: 82.94 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004199/4.569, allocations: 0.5654 MB / 1.835 GB, free: 82.37 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.001263/4.57, allocations: 0.5129 MB / 1.835 GB, free: 81.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002298/4.573, allocations: 0.7799 MB / 1.836 GB, free: 81.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/4.573, allocations: 0 / 1.836 GB, free: 81.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/4.574, allocations: 276.5 kB / 1.836 GB, free: 80.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/4.576, allocations: 307 kB / 1.837 GB, free: 80.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/4.588, allocations: 1.729 MB / 1.838 GB, free: 78.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/4.589, allocations: 1.085 MB / 1.839 GB, free: 77.67 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/4.589, allocations: 0 / 1.839 GB, free: 77.67 MB / 0.8698 GB