Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [: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.511/1.511, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001323/0.001323, allocations: 185.3 kB / 366.3 MB, free: 1.98 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.417/1.417, allocations: 205.1 MB / 0.6256 GB, free: 7.453 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.0009973/0.0009974, allocations: 92.73 kB / 0.7395 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.808e-06/9.828e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5987/0.5987, allocations: 116.3 MB / 0.9725 GB, free: 76.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1724/0.7712, allocations: 150.8 MB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.7714, allocations: 73.27 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.08837/0.8598, allocations: 26.33 MB / 1.146 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.193e-05/0.8599, allocations: 15.98 kB / 1.146 GB, free: 5.188 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001332/0.8612, allocations: 0.8018 MB / 1.146 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.8613, allocations: 8.031 kB / 1.146 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.8615, allocations: 79.06 kB / 1.147 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.8641, allocations: 1.242 MB / 1.148 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.8642, allocations: 8 kB / 1.148 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.8642, allocations: 27.89 kB / 1.148 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003994/0.8646, allocations: 208.9 kB / 1.148 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.8651, allocations: 341 kB / 1.148 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.8651, allocations: 0 / 1.148 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.8652, allocations: 0 / 1.148 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.8652, allocations: 7.938 kB / 1.148 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.8675, allocations: 1.933 MB / 1.15 GB, free: 344 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.8679, allocations: 282.6 kB / 1.15 GB, free: 52 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.8682, allocations: 128.8 kB / 1.151 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.8682, allocations: 5.406 kB / 1.151 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.8682, allocations: 38.56 kB / 1.151 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.8682, allocations: 0 / 1.151 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0005962/0.8688, allocations: 333.7 kB / 1.151 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.8689, allocations: 55.41 kB / 1.151 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.8699, allocations: 0.8861 MB / 1.152 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.87, allocations: 25.7 kB / 1.152 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.8701, allocations: 220.4 kB / 1.152 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.8702, allocations: 63.02 kB / 1.152 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.8702, allocations: 0 / 1.152 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.8704, allocations: 382.8 kB / 1.153 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.8707, allocations: 225.2 kB / 1.153 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.8712, allocations: 0.4894 MB / 1.153 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.8715, allocations: 301.1 kB / 1.153 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.8715, allocations: 4 kB / 1.153 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001013/0.8726, allocations: 0.7425 MB / 1.154 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.8726, allocations: 4 kB / 1.154 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.8726, allocations: 9.375 kB / 1.154 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.8728, allocations: 65.41 kB / 1.154 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.8733, allocations: 131.8 kB / 1.154 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.8746, allocations: 1.424 MB / 1.156 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.8755, allocations: 127.3 kB / 1.156 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.8755, allocations: 28 kB / 1.156 GB, free: 10.1 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001217/0.8757, allocations: 132.8 kB / 1.156 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.8758, allocations: 63.16 kB / 1.156 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.8759, allocations: 65.64 kB / 1.156 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.8759, allocations: 4 kB / 1.156 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.8759, allocations: 0.8438 kB / 1.156 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.8759, allocations: 3.984 kB / 1.156 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.8767, allocations: 0.6302 MB / 1.157 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8767, allocations: 1.875 kB / 1.157 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.877, allocations: 43.97 kB / 1.157 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.8771, allocations: 44.83 kB / 1.157 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.8771, allocations: 7.984 kB / 1.157 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.8782, allocations: 1.4 MB / 1.158 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.8782, allocations: 1.062 kB / 1.158 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006295/0.8789, allocations: 0.5592 MB / 1.159 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.8793, allocations: 357.1 kB / 1.159 GB, free: 6.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-05/0.8794, allocations: 7.984 kB / 1.159 GB, free: 6.562 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.8799, allocations: 51.92 kB / 1.159 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.8799, allocations: 11.89 kB / 1.159 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.88, allocations: 8 kB / 1.159 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0008097/0.8808, allocations: 0.6669 MB / 1.16 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006386/0.8814, allocations: 187.8 kB / 1.16 GB, free: 5.645 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0002717/0.8817, allocations: 169.2 kB / 1.16 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007842/0.8825, allocations: 0.5384 MB / 1.161 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8825, allocations: 0 / 1.161 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.8828, allocations: 233.7 kB / 1.161 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.8835, allocations: 149.2 kB / 1.161 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.8855, allocations: 1.252 MB / 1.162 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/0.8862, allocations: 1.058 MB / 1.163 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of SimCode: time 3e-07/0.8862, allocations: 0 / 1.163 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of Templates: time 0.0134/0.8996, allocations: 7.224 MB / 1.17 GB, free: 11.18 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)