Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [: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.303/2.303, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001603/0.001602, allocations: 185.2 kB / 360.4 MB, free: 7.488 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.757/1.757, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001665/0.001665, allocations: 93.22 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.253e-06/7.364e-06, allocations: 0 / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6018, allocations: 115.2 MB / 0.9628 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.83, allocations: 146.6 MB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/0.8304, allocations: 79.97 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.1448/0.9752, allocations: 17.5 MB / 1.123 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.896e-05/0.9753, allocations: 20 kB / 1.123 GB, free: 8.555 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002461/0.9778, allocations: 0.9226 MB / 1.124 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.9779, allocations: 12.03 kB / 1.124 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/0.9784, allocations: 98.78 kB / 1.124 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.9828, allocations: 1.081 MB / 1.125 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.9829, allocations: 12 kB / 1.125 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.983, allocations: 43.91 kB / 1.125 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006289/0.9837, allocations: 181.3 kB / 1.125 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.9845, allocations: 350.8 kB / 1.126 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.9845, allocations: 5.75 kB / 1.126 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.9846, allocations: 0 / 1.126 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.9846, allocations: 8 kB / 1.126 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.989, allocations: 2.16 MB / 1.128 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.99, allocations: 318.9 kB / 1.128 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.9904, allocations: 141.2 kB / 1.128 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-05/0.9905, allocations: 8.234 kB / 1.128 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.9906, allocations: 34.8 kB / 1.128 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 2.796e-06/0.9906, allocations: 0 / 1.128 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.00302/0.9936, allocations: 0.9343 MB / 1.129 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.9937, allocations: 59.41 kB / 1.129 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.9955, allocations: 0.7544 MB / 1.13 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.9957, allocations: 29.7 kB / 1.13 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.996, allocations: 252.7 kB / 1.13 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.9962, allocations: 110.4 kB / 1.13 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.9963, allocations: 0 / 1.13 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002321/0.9965, allocations: 394.8 kB / 1.131 GB, free: 336 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.9972, allocations: 197.7 kB / 1.131 GB, free: 136 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.9982, allocations: 0.5982 MB / 1.132 GB, free: 15.34 MB / 0.7448 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.004103/1.002, allocations: 1.013 MB / 1.133 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/1.002, allocations: 4 kB / 1.133 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002493/1.005, allocations: 0.7747 MB / 1.133 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.005, allocations: 4 kB / 1.133 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/1.005, allocations: 12 kB / 1.133 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/1.005, allocations: 61.45 kB / 1.133 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.007, allocations: 207.6 kB / 1.134 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/1.009, allocations: 1.316 MB / 1.135 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.011, allocations: 47.8 kB / 1.135 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.011, allocations: 48.12 kB / 1.135 GB, free: 11.7 MB / 0.7448 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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: 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 prepare postOptimizeDAE: time 0.0002725/1.011, allocations: 164.3 kB / 1.135 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/1.011, allocations: 86.86 kB / 1.135 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/1.012, allocations: 71.14 kB / 1.135 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.012, allocations: 4 kB / 1.135 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/1.012, allocations: 0 / 1.135 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.012, allocations: 0 / 1.135 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/1.015, allocations: 1.129 MB / 1.136 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.015, allocations: 0 / 1.136 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/1.016, allocations: 92 kB / 1.136 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/1.016, allocations: 36.69 kB / 1.137 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/1.016, allocations: 9.922 kB / 1.137 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/1.017, allocations: 1.295 MB / 1.138 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.018, allocations: 3.938 kB / 1.138 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00161/1.019, allocations: 0.666 MB / 1.138 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/1.02, allocations: 211.9 kB / 1.139 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/1.02, allocations: 9.312 kB / 1.139 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.021, allocations: 27.91 kB / 1.139 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/1.021, allocations: 19.88 kB / 1.139 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/1.021, allocations: 8 kB / 1.139 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001328/1.023, allocations: 0.5538 MB / 1.139 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001835/1.025, allocations: 196 kB / 1.139 GB, free: 6.879 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 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.000376/1.025, allocations: 158.2 kB / 1.14 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001864/1.027, allocations: 0.5876 MB / 1.14 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.027, allocations: 0 / 1.14 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005928/1.028, allocations: 249.6 kB / 1.14 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.029, allocations: 144.3 kB / 1.141 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/1.032, allocations: 1.271 MB / 1.142 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.034, allocations: 1.061 MB / 1.143 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of SimCode: time 1.142e-06/1.034, allocations: 0 / 1.143 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of Templates: time 0.02546/1.059, allocations: 7.561 MB / 1.15 GB, free: 11.98 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)