Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 289.8 MB / 297.1 MB, free: 9.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 176.7 kB / 366.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 0.6256 GB, free: 2.195 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 89.16 kB / 0.7396 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 1.086e-05/1.088e-05, allocations: 3.125 kB / 0.859 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2754, allocations: 116.3 MB / 0.9726 GB, free: 54.34 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.369, allocations: 410.4 MB / 1.373 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.37, allocations: 85.64 kB / 1.373 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.65/11.02, allocations: 2.739 GB / 4.112 GB, free: 42.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.001166/11.02, allocations: 163.2 kB / 4.112 GB, free: 42.32 MB / 1.076 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.019/11.04, allocations: 5.935 MB / 4.118 GB, free: 38.83 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/11.04, allocations: 8.281 kB / 4.118 GB, free: 38.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005291/11.05, allocations: 0.7831 MB / 4.119 GB, free: 38.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1683/11.21, allocations: 59.77 MB / 4.177 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/11.21, allocations: 135.9 kB / 4.177 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/11.22, allocations: 252 kB / 4.178 GB, free: 15.31 MB / 1.107 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009297/11.23, allocations: 2.539 MB / 4.18 GB, free: 12.77 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/11.24, allocations: 3.619 MB / 4.184 GB, free: 8.879 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003622/11.24, allocations: 19.78 kB / 4.184 GB, free: 8.859 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/11.25, allocations: 11.14 kB / 4.184 GB, free: 8.852 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/11.25, allocations: 124 kB / 4.184 GB, free: 8.73 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8737/12.12, allocations: 26.05 MB / 4.209 GB, free: 123.4 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/12.12, allocations: 1.081 MB / 4.21 GB, free: 123.3 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/12.12, allocations: 1.109 MB / 4.211 GB, free: 123.3 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/12.13, allocations: 3.933 MB / 4.215 GB, free: 118.9 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.072e-05/12.13, allocations: 66.38 kB / 4.215 GB, free: 118.9 MB / 1.107 GB Notification: Performance of pre-optimization done (n=225): time 6.933e-06/12.13, allocations: 0 / 4.215 GB, free: 118.9 MB / 1.107 GB Notification: Performance of matching and sorting (n=225): time 0.009521/12.14, allocations: 2.966 MB / 4.218 GB, free: 118.5 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/12.14, allocations: 80.42 kB / 4.218 GB, free: 118.4 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007351/12.14, allocations: 3.287 MB / 4.222 GB, free: 118.1 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0008928/12.14, allocations: 29.27 kB / 4.222 GB, free: 118.1 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/12.15, allocations: 1.71 MB / 4.223 GB, free: 117.5 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/12.15, allocations: 0.7547 MB / 4.224 GB, free: 117.1 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/12.15, allocations: 0 / 4.224 GB, free: 117.1 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001637/12.15, allocations: 404.8 kB / 4.224 GB, free: 116.8 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/12.15, allocations: 0.737 MB / 4.225 GB, free: 116.8 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/12.15, allocations: 1.71 MB / 4.227 GB, free: 115.6 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/12.15, allocations: 1.417 MB / 4.228 GB, free: 115.6 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/12.15, allocations: 7.5 kB / 4.228 GB, free: 115.6 MB / 1.107 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.0108/12.17, allocations: 3.553 MB / 4.232 GB, free: 115.2 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.00312/12.17, allocations: 10.29 MB / 4.242 GB, free: 104.4 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/12.17, allocations: 22.88 kB / 4.242 GB, free: 104.4 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/12.17, allocations: 374.2 kB / 4.242 GB, free: 104.4 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/12.17, allocations: 0.5125 MB / 4.243 GB, free: 104.4 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/12.17, allocations: 2.847 MB / 4.245 GB, free: 102.3 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007077/12.18, allocations: 0.5035 MB / 4.246 GB, free: 102.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005029/12.18, allocations: 131.3 kB / 4.246 GB, free: 102.2 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/12.18, allocations: 3.969 kB / 4.246 GB, free: 102.2 MB / 1.107 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007394/12.19, allocations: 2.829 MB / 4.249 GB, free: 102.2 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/12.19, allocations: 21.09 kB / 4.249 GB, free: 102.2 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/12.19, allocations: 398.6 kB / 4.249 GB, free: 102.1 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/12.19, allocations: 0.5139 MB / 4.25 GB, free: 102.1 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008088/12.2, allocations: 7.308 MB / 4.257 GB, free: 96.99 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007279/12.21, allocations: 467.8 kB / 4.257 GB, free: 96.93 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008873/12.21, allocations: 129.1 kB / 4.257 GB, free: 96.93 MB / 1.107 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.0009834/12.21, allocations: 185.4 kB / 4.258 GB, free: 96.83 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002128/12.21, allocations: 0.4983 MB / 4.258 GB, free: 96.57 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009877/12.22, allocations: 4.155 MB / 4.262 GB, free: 96.3 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.343e-05/12.22, allocations: 40.17 kB / 4.262 GB, free: 96.3 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/12.22, allocations: 1.844 kB / 4.262 GB, free: 96.3 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005682/12.23, allocations: 2.737 MB / 4.265 GB, free: 96.11 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/12.25, allocations: 8.167 MB / 4.273 GB, free: 94.67 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/12.25, allocations: 6.797 kB / 4.273 GB, free: 94.67 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/12.26, allocations: 393.8 kB / 4.273 GB, free: 94.66 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005766/12.26, allocations: 223.8 kB / 4.273 GB, free: 94.63 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004826/12.26, allocations: 40.25 kB / 4.273 GB, free: 94.63 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/12.26, allocations: 2.529 MB / 4.276 GB, free: 92.55 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/12.26, allocations: 0 / 4.276 GB, free: 92.55 MB / 1.107 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01416/12.27, allocations: 4.832 MB / 4.281 GB, free: 91.81 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005891/12.28, allocations: 0.9761 MB / 4.282 GB, free: 91.45 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002922/12.28, allocations: 6.25 kB / 4.282 GB, free: 91.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006912/12.29, allocations: 394.2 kB / 4.282 GB, free: 91.43 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005542/12.29, allocations: 144.2 kB / 4.282 GB, free: 91.42 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006896/12.29, allocations: 118.5 kB / 4.282 GB, free: 91.42 MB / 1.107 GB Notification: Performance of sort global known variables: time 0.008535/12.3, allocations: 2.438 MB / 4.285 GB, free: 91.24 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.02341/12.32, allocations: 3.412 MB / 4.288 GB, free: 91.05 MB / 1.107 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.01018/12.33, allocations: 3.437 MB / 4.291 GB, free: 89.86 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01122/12.34, allocations: 4.251 MB / 4.295 GB, free: 89.37 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/12.34, allocations: 3.75 kB / 4.295 GB, free: 89.37 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003017/12.35, allocations: 1.254 MB / 4.297 GB, free: 89.36 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01865/12.37, allocations: 2.536 MB / 4.299 GB, free: 89.33 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/12.4, allocations: 7.301 MB / 4.306 GB, free: 87.51 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006003/12.4, allocations: 3.451 MB / 4.31 GB, free: 86.7 MB / 1.107 GB Notification: Performance of SimCode: time 3.717e-06/12.4, allocations: 2.406 kB / 4.31 GB, free: 86.7 MB / 1.107 GB Notification: Performance of Templates: time 0.2453/12.65, allocations: 123.1 MB / 4.43 GB, free: 78.68 MB / 1.107 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)