Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") [: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.537/1.537, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001175/0.001175, allocations: 191.5 kB / 361.1 MB, free: 7.086 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.479/1.479, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.00113/0.001131, allocations: 86.97 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.157e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7912, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9847/1.776, allocations: 409.4 MB / 1.363 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/1.776, allocations: 98.41 kB / 1.364 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.652/11.43, allocations: 2.739 GB / 4.102 GB, free: 54.4 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001312/11.43, allocations: 167.8 kB / 4.103 GB, free: 54.37 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02134/11.45, allocations: 5.933 MB / 4.108 GB, free: 51.32 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/11.45, allocations: 10.62 kB / 4.108 GB, free: 51.32 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/11.46, allocations: 0.782 MB / 4.109 GB, free: 50.95 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1713/11.63, allocations: 59.77 MB / 4.168 GB, free: 46.93 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004848/11.63, allocations: 128.9 kB / 4.168 GB, free: 46.93 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/11.63, allocations: 250.4 kB / 4.168 GB, free: 46.93 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009838/11.64, allocations: 2.545 MB / 4.17 GB, free: 46.76 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/11.65, allocations: 3.622 MB / 4.174 GB, free: 44.94 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/11.65, allocations: 18.75 kB / 4.174 GB, free: 44.93 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/11.65, allocations: 8.875 kB / 4.174 GB, free: 44.93 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/11.65, allocations: 125.3 kB / 4.174 GB, free: 44.92 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03304/11.69, allocations: 26.05 MB / 4.199 GB, free: 24.64 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/11.69, allocations: 1.087 MB / 4.201 GB, free: 24.2 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/11.69, allocations: 1.101 MB / 4.202 GB, free: 23.8 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002496/11.69, allocations: 3.937 MB / 4.205 GB, free: 19.32 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/11.69, allocations: 68.88 kB / 4.206 GB, free: 19.26 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 4.419e-06/11.69, allocations: 0 / 4.206 GB, free: 19.26 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.008804/11.7, allocations: 2.967 MB / 4.208 GB, free: 18.2 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/11.7, allocations: 74.66 kB / 4.209 GB, free: 18.13 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006908/11.71, allocations: 3.289 MB / 4.212 GB, free: 16.86 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0006798/11.71, allocations: 34.23 kB / 4.212 GB, free: 16.83 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/11.71, allocations: 1.706 MB / 4.213 GB, free: 15.66 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/11.71, allocations: 0.7484 MB / 4.214 GB, free: 15.06 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/11.71, allocations: 0.875 kB / 4.214 GB, free: 15.06 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001752/11.71, allocations: 409.7 kB / 4.215 GB, free: 14.71 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/11.71, allocations: 0.7366 MB / 4.215 GB, free: 14.41 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/11.71, allocations: 1.708 MB / 4.217 GB, free: 12.84 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004733/11.72, allocations: 1.419 MB / 4.218 GB, free: 12.35 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/11.72, allocations: 6.281 kB / 4.218 GB, free: 12.35 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01014/11.73, allocations: 3.554 MB / 4.222 GB, free: 9.438 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002166/11.73, allocations: 10.29 MB / 4.232 GB, free: 14.4 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/11.73, allocations: 20 kB / 4.232 GB, free: 14.38 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/11.73, allocations: 383.5 kB / 4.232 GB, free: 14.04 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/11.73, allocations: 0.5125 MB / 4.233 GB, free: 13.59 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/11.74, allocations: 2.85 MB / 4.236 GB, free: 10.72 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006469/11.74, allocations: 0.4945 MB / 4.236 GB, free: 10.32 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004292/11.74, allocations: 133.4 kB / 4.236 GB, free: 10.2 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/11.74, allocations: 4 kB / 4.236 GB, free: 10.2 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00834/11.75, allocations: 2.837 MB / 4.239 GB, free: 7.801 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.785e-05/11.75, allocations: 24 kB / 4.239 GB, free: 7.777 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/11.75, allocations: 383.9 kB / 4.239 GB, free: 7.461 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/11.76, allocations: 0.5191 MB / 4.24 GB, free: 7.008 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0098/11.77, allocations: 7.311 MB / 4.247 GB, free: 15.57 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006788/11.77, allocations: 471.1 kB / 4.247 GB, free: 15.11 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008416/11.77, allocations: 128 kB / 4.247 GB, free: 14.98 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001463/11.77, allocations: 186.9 kB / 4.248 GB, free: 14.8 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002656/11.78, allocations: 0.5017 MB / 4.248 GB, free: 14.29 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/11.79, allocations: 4.146 MB / 4.252 GB, free: 10.11 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.268e-05/11.79, allocations: 39.97 kB / 4.252 GB, free: 10.07 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/11.79, allocations: 0 / 4.252 GB, free: 10.07 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006598/11.8, allocations: 2.748 MB / 4.255 GB, free: 7.277 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7966/12.59, allocations: 8.151 MB / 4.263 GB, free: 168.7 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/12.59, allocations: 0 / 4.263 GB, free: 168.7 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/12.59, allocations: 397.3 kB / 4.263 GB, free: 168.7 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/12.6, allocations: 224.7 kB / 4.263 GB, free: 168.7 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/12.6, allocations: 39.52 kB / 4.264 GB, free: 168.7 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/12.6, allocations: 2.527 MB / 4.266 GB, free: 166.6 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/12.6, allocations: 0 / 4.266 GB, free: 166.6 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009226/12.61, allocations: 4.844 MB / 4.271 GB, free: 166.2 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003825/12.61, allocations: 0.9792 MB / 4.272 GB, free: 166.1 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/12.61, allocations: 6.312 kB / 4.272 GB, free: 166.1 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003826/12.61, allocations: 397.8 kB / 4.272 GB, free: 166.1 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/12.62, allocations: 141.4 kB / 4.272 GB, free: 166.1 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/12.62, allocations: 110.7 kB / 4.272 GB, free: 166.1 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.004118/12.62, allocations: 2.438 MB / 4.275 GB, free: 165.9 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01421/12.63, allocations: 3.417 MB / 4.278 GB, free: 165.7 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006543/12.64, allocations: 3.43 MB / 4.281 GB, free: 164.5 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.007551/12.65, allocations: 4.254 MB / 4.286 GB, free: 164 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/12.65, allocations: 2.812 kB / 4.286 GB, free: 164 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/12.65, allocations: 1.251 MB / 4.287 GB, free: 164 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01701/12.67, allocations: 2.528 MB / 4.289 GB, free: 164 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/12.68, allocations: 7.304 MB / 4.296 GB, free: 162.2 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003535/12.69, allocations: 3.453 MB / 4.3 GB, free: 161.4 MB / 1.089 GB Notification: Performance of SimCode: time 1.132e-06/12.69, allocations: 0 / 4.3 GB, free: 161.4 MB / 1.089 GB Notification: Performance of Templates: time 0.2195/12.91, allocations: 123.2 MB / 4.42 GB, free: 154.2 MB / 1.089 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)