Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") [: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 8.0.1-maint.8.0.x/package.mo): time 1.516/1.516, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 177.3 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008748, allocations: 92.06 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.606e-06, allocations: 0 / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7121, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.756, allocations: 442.3 MB / 1.396 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/1.757, allocations: 94.69 kB / 1.396 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.618/4.375, allocations: 0.6937 GB / 2.089 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003924/4.375, allocations: 42.81 kB / 2.089 GB, free: 177.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.006819/4.382, allocations: 1.726 MB / 2.091 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/4.382, allocations: 10.19 kB / 2.091 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/4.385, allocations: 375.2 kB / 2.091 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02812/4.413, allocations: 8.591 MB / 2.1 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/4.413, allocations: 26.03 kB / 2.1 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/4.414, allocations: 52.84 kB / 2.1 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00248/4.416, allocations: 0.6209 MB / 2.101 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/4.419, allocations: 0.8589 MB / 2.101 GB, free: 175 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/4.419, allocations: 0 / 2.101 GB, free: 175 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/4.419, allocations: 3.938 kB / 2.101 GB, free: 175 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/4.419, allocations: 21.67 kB / 2.101 GB, free: 175 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009033/4.428, allocations: 4.779 MB / 2.106 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008083/4.429, allocations: 440.4 kB / 2.107 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/4.429, allocations: 239.7 kB / 2.107 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003073/4.432, allocations: 1.667 MB / 2.108 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005211/4.433, allocations: 357.3 kB / 2.109 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 6.142e-06/4.433, allocations: 3.656 kB / 2.109 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002233/4.435, allocations: 0.6873 MB / 2.109 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/4.435, allocations: 113.9 kB / 2.109 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/4.437, allocations: 0.9756 MB / 2.11 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/4.437, allocations: 29.52 kB / 2.11 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004983/4.438, allocations: 429.4 kB / 2.111 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/4.438, allocations: 150.5 kB / 2.111 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/4.438, allocations: 3.312 kB / 2.111 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/4.438, allocations: 331.9 kB / 2.111 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/4.439, allocations: 212.7 kB / 2.112 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/4.439, allocations: 490.5 kB / 2.112 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/4.44, allocations: 360.5 kB / 2.112 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/4.44, allocations: 3.875 kB / 2.112 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002307/4.443, allocations: 0.8591 MB / 2.113 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007544/4.443, allocations: 2.735 MB / 2.116 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/4.444, allocations: 7.875 kB / 2.116 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/4.444, allocations: 81.11 kB / 2.116 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/4.445, allocations: 159.1 kB / 2.116 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007519/4.445, allocations: 1.149 MB / 2.117 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/4.447, allocations: 108.3 kB / 2.117 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/4.447, allocations: 43.48 kB / 2.117 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/4.447, allocations: 3.906 kB / 2.117 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001747/4.449, allocations: 0.6808 MB / 2.118 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/4.449, allocations: 3.844 kB / 2.118 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/4.449, allocations: 76.05 kB / 2.118 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/4.45, allocations: 154 kB / 2.118 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/4.45, allocations: 1.163 MB / 2.119 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/4.451, allocations: 97.16 kB / 2.119 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/4.452, allocations: 39.56 kB / 2.12 GB, free: 162.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000305/4.452, allocations: 170.5 kB / 2.12 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/4.452, allocations: 125.9 kB / 2.12 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/4.455, allocations: 0.8856 MB / 2.121 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/4.455, allocations: 7.406 kB / 2.121 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/4.455, allocations: 0 / 2.121 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/4.455, allocations: 3.375 kB / 2.121 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/4.459, allocations: 1.837 MB / 2.122 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/4.459, allocations: 3.219 kB / 2.122 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/4.459, allocations: 106.9 kB / 2.123 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/4.46, allocations: 69.55 kB / 2.123 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/4.46, allocations: 10.39 kB / 2.123 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006868/4.46, allocations: 1.149 MB / 2.124 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/4.46, allocations: 1.031 kB / 2.124 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001723/4.462, allocations: 0.9881 MB / 2.125 GB, free: 159 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008183/4.463, allocations: 301.3 kB / 2.125 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/4.463, allocations: 4.281 kB / 2.125 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/4.465, allocations: 78.23 kB / 2.125 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/4.465, allocations: 40.55 kB / 2.125 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/4.465, allocations: 36.16 kB / 2.125 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001468/4.466, allocations: 0.7433 MB / 2.126 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004116/4.47, allocations: 0.7636 MB / 2.127 GB, free: 158.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002954/4.473, allocations: 0.9573 MB / 2.128 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002624/4.476, allocations: 1.003 MB / 2.129 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/4.476, allocations: 0 / 2.129 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/4.477, allocations: 340.1 kB / 2.129 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/4.48, allocations: 0.519 MB / 2.129 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/4.486, allocations: 1.683 MB / 2.131 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002066/4.488, allocations: 1.348 MB / 2.132 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of SimCode: time 2.415e-06/4.488, allocations: 0 / 2.132 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.0615/4.55, allocations: 30.37 MB / 2.162 GB, free: 144.4 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)