Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.342/2.342, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001656, allocations: 181.2 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.2 MB / 0.6188 GB, free: 12.51 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 90.97 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.155e-05, allocations: 4 kB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6576, allocations: 115.2 MB / 0.9628 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.704, allocations: 447 MB / 1.399 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/1.704, allocations: 91.28 kB / 1.399 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.166/6.87, allocations: 1.134 GB / 2.534 GB, free: 143.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004005/6.87, allocations: 53.25 kB / 2.534 GB, free: 143.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.007346/6.878, allocations: 2.19 MB / 2.536 GB, free: 141.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/6.878, allocations: 13.36 kB / 2.536 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/6.881, allocations: 397.4 kB / 2.536 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/6.892, allocations: 2.494 MB / 2.539 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/6.892, allocations: 43.47 kB / 2.539 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/6.892, allocations: 82.53 kB / 2.539 GB, free: 140 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003234/6.896, allocations: 0.8608 MB / 2.54 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/6.899, allocations: 1.194 MB / 2.541 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/6.899, allocations: 1.156 kB / 2.541 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/6.899, allocations: 7.344 kB / 2.541 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/6.9, allocations: 35.62 kB / 2.541 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/6.915, allocations: 7.666 MB / 2.548 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/6.916, allocations: 0.649 MB / 2.549 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/6.917, allocations: 363 kB / 2.549 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005304/6.923, allocations: 2.163 MB / 2.551 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009387/6.924, allocations: 381.5 kB / 2.552 GB, free: 129.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 4.599e-06/6.924, allocations: 2.844 kB / 2.552 GB, free: 129.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.003517/6.927, allocations: 0.8547 MB / 2.553 GB, free: 129.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/6.927, allocations: 163.8 kB / 2.553 GB, free: 128.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/6.93, allocations: 1.198 MB / 2.554 GB, free: 128.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/6.93, allocations: 32.42 kB / 2.554 GB, free: 128.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/6.931, allocations: 0.5927 MB / 2.555 GB, free: 127.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00047/6.932, allocations: 244 kB / 2.555 GB, free: 127.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/6.932, allocations: 1.281 kB / 2.555 GB, free: 127.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001049/6.932, allocations: 343.2 kB / 2.555 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008573/6.933, allocations: 308.2 kB / 2.555 GB, free: 127 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/6.934, allocations: 0.6689 MB / 2.556 GB, free: 126.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/6.936, allocations: 0.4924 MB / 2.557 GB, free: 126.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/6.936, allocations: 6.531 kB / 2.557 GB, free: 126.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004286/6.94, allocations: 1.146 MB / 2.558 GB, free: 125.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007808/6.941, allocations: 3.694 MB / 2.561 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-05/6.941, allocations: 7.75 kB / 2.561 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.132e-05/6.941, allocations: 15.81 kB / 2.561 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/6.944, allocations: 263.9 kB / 2.562 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-05/6.944, allocations: 23.08 kB / 2.562 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/6.946, allocations: 172.6 kB / 2.562 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/6.947, allocations: 59.25 kB / 2.562 GB, free: 121.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/6.947, allocations: 2.938 kB / 2.562 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0035/6.95, allocations: 0.9196 MB / 2.563 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/6.95, allocations: 10.28 kB / 2.563 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/6.95, allocations: 14.81 kB / 2.563 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/6.952, allocations: 262.1 kB / 2.563 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.62e-05/6.952, allocations: 23.83 kB / 2.563 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/6.955, allocations: 148.2 kB / 2.563 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/6.955, allocations: 52.11 kB / 2.563 GB, free: 120.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003787/6.956, allocations: 142.8 kB / 2.563 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/6.956, allocations: 165.2 kB / 2.564 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/6.96, allocations: 1.095 MB / 2.565 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/6.96, allocations: 16.3 kB / 2.565 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/6.96, allocations: 0 / 2.565 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002493/6.963, allocations: 0.7449 MB / 2.565 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/6.97, allocations: 2.215 MB / 2.567 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/6.97, allocations: 0 / 2.567 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/6.971, allocations: 171.1 kB / 2.568 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/6.971, allocations: 28.84 kB / 2.568 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/6.972, allocations: 15.39 kB / 2.568 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/6.973, allocations: 1.265 MB / 2.569 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/6.973, allocations: 4.031 kB / 2.569 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003925/6.977, allocations: 1.464 MB / 2.57 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/6.978, allocations: 362.5 kB / 2.571 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/6.978, allocations: 8 kB / 2.571 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/6.981, allocations: 98.27 kB / 2.571 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/6.981, allocations: 48.58 kB / 2.571 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/6.981, allocations: 40.97 kB / 2.571 GB, free: 113.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001955/6.983, allocations: 0.8995 MB / 2.572 GB, free: 113.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005263/6.988, allocations: 1.087 MB / 2.573 GB, free: 112 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002819/6.991, allocations: 1.146 MB / 2.574 GB, free: 111 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003495/6.995, allocations: 1.447 MB / 2.575 GB, free: 109.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/6.995, allocations: 0 / 2.575 GB, free: 109.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/6.996, allocations: 489.7 kB / 2.576 GB, free: 109.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006393/7.002, allocations: 0.7035 MB / 2.577 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008118/7.01, allocations: 2.419 MB / 2.579 GB, free: 106.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/7.012, allocations: 1.608 MB / 2.58 GB, free: 104.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.904e-06/7.012, allocations: 2.312 kB / 2.58 GB, free: 104.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1032/7.116, allocations: 40.03 MB / 2.62 GB, free: 65.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)