Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") [: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.46/1.46, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001143/0.001143, allocations: 185.3 kB / 361.1 MB, free: 7.07 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.412/1.412, allocations: 205.1 MB / 0.6195 GB, free: 10.36 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.0008476/0.0008474, allocations: 86.09 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.887e-06/8.917e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7389, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.77, allocations: 442.3 MB / 1.396 GB, free: 125 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/1.77, allocations: 97.7 kB / 1.396 GB, free: 125 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.61/4.38, allocations: 0.6937 GB / 2.089 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000299/4.38, allocations: 42.08 kB / 2.089 GB, free: 180.5 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.005077/4.386, allocations: 1.732 MB / 2.091 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/4.386, allocations: 7.938 kB / 2.091 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/4.388, allocations: 373.8 kB / 2.092 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02412/4.412, allocations: 8.59 MB / 2.1 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/4.412, allocations: 30.58 kB / 2.1 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/4.413, allocations: 54.88 kB / 2.1 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002125/4.415, allocations: 0.6259 MB / 2.101 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/4.417, allocations: 0.8461 MB / 2.101 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/4.417, allocations: 7.656 kB / 2.101 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/4.417, allocations: 5.75 kB / 2.101 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/4.417, allocations: 19.25 kB / 2.101 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007449/4.424, allocations: 4.763 MB / 2.106 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008646/4.425, allocations: 439.3 kB / 2.107 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/4.426, allocations: 248.7 kB / 2.107 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002443/4.428, allocations: 1.657 MB / 2.108 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/4.429, allocations: 357.8 kB / 2.109 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 2.836e-06/4.429, allocations: 5.906 kB / 2.109 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.001924/4.431, allocations: 0.6927 MB / 2.109 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/4.431, allocations: 106.7 kB / 2.109 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/4.432, allocations: 0.9733 MB / 2.11 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/4.432, allocations: 28.75 kB / 2.11 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/4.432, allocations: 444.9 kB / 2.111 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/4.433, allocations: 148.9 kB / 2.111 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/4.433, allocations: 7.375 kB / 2.111 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/4.433, allocations: 331.4 kB / 2.111 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/4.433, allocations: 213.3 kB / 2.112 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/4.433, allocations: 485.7 kB / 2.112 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/4.434, allocations: 358.6 kB / 2.112 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/4.434, allocations: 3.719 kB / 2.112 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001785/4.436, allocations: 0.8694 MB / 2.113 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005989/4.437, allocations: 2.737 MB / 2.116 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/4.437, allocations: 6.125 kB / 2.116 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/4.437, allocations: 72.5 kB / 2.116 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/4.438, allocations: 160.9 kB / 2.116 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006389/4.438, allocations: 1.147 MB / 2.117 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/4.439, allocations: 107.4 kB / 2.117 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/4.44, allocations: 46.36 kB / 2.117 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/4.44, allocations: 2.938 kB / 2.117 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001495/4.441, allocations: 0.6746 MB / 2.118 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/4.441, allocations: 10.06 kB / 2.118 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/4.441, allocations: 70.47 kB / 2.118 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/4.442, allocations: 164.9 kB / 2.118 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000588/4.443, allocations: 1.153 MB / 2.119 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/4.443, allocations: 96.12 kB / 2.12 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/4.443, allocations: 44.66 kB / 2.12 GB, free: 165.9 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.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.0002467/4.444, allocations: 163.3 kB / 2.12 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/4.444, allocations: 129.8 kB / 2.12 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/4.446, allocations: 0.8853 MB / 2.121 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/4.446, allocations: 3.938 kB / 2.121 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/4.446, allocations: 0 / 2.121 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/4.446, allocations: 7.016 kB / 2.121 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/4.449, allocations: 1.833 MB / 2.122 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/4.449, allocations: 0 / 2.122 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/4.45, allocations: 109.4 kB / 2.123 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/4.45, allocations: 73.59 kB / 2.123 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/4.45, allocations: 10.53 kB / 2.123 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006492/4.45, allocations: 1.152 MB / 2.124 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/4.451, allocations: 5.703 kB / 2.124 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001411/4.452, allocations: 0.9915 MB / 2.125 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/4.452, allocations: 304.4 kB / 2.125 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/4.453, allocations: 3.906 kB / 2.125 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/4.453, allocations: 76.16 kB / 2.125 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/4.454, allocations: 39.34 kB / 2.125 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/4.454, allocations: 38.55 kB / 2.125 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009738/4.455, allocations: 0.7427 MB / 2.126 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002772/4.457, allocations: 0.7514 MB / 2.127 GB, free: 162 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,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.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.002163/4.46, allocations: 0.9714 MB / 2.128 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002406/4.462, allocations: 0.9997 MB / 2.129 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/4.462, allocations: 1.094 kB / 2.129 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008012/4.463, allocations: 347.8 kB / 2.129 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/4.466, allocations: 0.5181 MB / 2.129 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/4.47, allocations: 1.684 MB / 2.131 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/4.472, allocations: 1.353 MB / 2.132 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.924e-06/4.472, allocations: 3.75 kB / 2.132 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.05848/4.53, allocations: 30.36 MB / 2.162 GB, free: 151.2 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)