Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [: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.505/1.505, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001095/0.001095, allocations: 185.2 kB / 366.3 MB, free: 1.992 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.388/1.388, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.000879/0.000879, allocations: 81.84 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/7.744e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5928, allocations: 116.3 MB / 0.9725 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.7755, allocations: 150.9 MB / 1.12 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.7758, allocations: 85.23 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.09306/0.8689, allocations: 26.36 MB / 1.146 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.145e-05/0.869, allocations: 8 kB / 1.146 GB, free: 3.062 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.001724/0.8708, allocations: 0.798 MB / 1.146 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8708, allocations: 16.02 kB / 1.146 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.8712, allocations: 75.06 kB / 1.147 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/0.8739, allocations: 1.245 MB / 1.148 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.874, allocations: 8 kB / 1.148 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.874, allocations: 27.91 kB / 1.148 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004271/0.8745, allocations: 209.5 kB / 1.148 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.875, allocations: 336.9 kB / 1.148 GB, free: 260 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.875, allocations: 4 kB / 1.148 GB, free: 256 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.875, allocations: 0 / 1.148 GB, free: 256 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.8751, allocations: 11.94 kB / 1.148 GB, free: 244 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.8778, allocations: 1.929 MB / 1.15 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.8783, allocations: 274.9 kB / 1.151 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.8785, allocations: 132.8 kB / 1.151 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.8785, allocations: 4 kB / 1.151 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.8785, allocations: 42.5 kB / 1.151 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 2.324e-06/0.8786, allocations: 0 / 1.151 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0007267/0.8793, allocations: 326.7 kB / 1.151 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.8793, allocations: 55.41 kB / 1.151 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.8806, allocations: 0.89 MB / 1.152 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.8806, allocations: 25.7 kB / 1.152 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.8808, allocations: 212.4 kB / 1.152 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.8809, allocations: 75 kB / 1.152 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.8809, allocations: 1.312 kB / 1.152 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8811, allocations: 378.8 kB / 1.153 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.8814, allocations: 225.2 kB / 1.153 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.8819, allocations: 0.4894 MB / 1.153 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.8823, allocations: 299.6 kB / 1.154 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.8823, allocations: 4 kB / 1.154 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001126/0.8834, allocations: 0.7411 MB / 1.154 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8834, allocations: 8 kB / 1.154 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.8835, allocations: 8 kB / 1.154 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.8837, allocations: 61.2 kB / 1.154 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.8842, allocations: 135.8 kB / 1.154 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.8854, allocations: 1.419 MB / 1.156 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009364/0.8864, allocations: 135.3 kB / 1.156 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.8864, allocations: 28 kB / 1.156 GB, free: 7.969 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.000129/0.8866, allocations: 133.7 kB / 1.156 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.8867, allocations: 63.25 kB / 1.156 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.8868, allocations: 69.64 kB / 1.156 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8868, allocations: 0 / 1.156 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8868, allocations: 0 / 1.156 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.8869, allocations: 0 / 1.156 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.8876, allocations: 0.6302 MB / 1.157 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8876, allocations: 0 / 1.157 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.8879, allocations: 51.89 kB / 1.157 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001417/0.8881, allocations: 44.83 kB / 1.157 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.8881, allocations: 4 kB / 1.157 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.8893, allocations: 1.401 MB / 1.158 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8893, allocations: 0 / 1.158 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006582/0.89, allocations: 0.5567 MB / 1.159 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/0.8904, allocations: 356.3 kB / 1.159 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.8905, allocations: 8.094 kB / 1.159 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/0.8911, allocations: 55.89 kB / 1.159 GB, free: 4.383 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.8912, allocations: 11.89 kB / 1.159 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.8912, allocations: 9.031 kB / 1.159 GB, free: 4.363 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0008837/0.8921, allocations: 0.6669 MB / 1.16 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007023/0.8928, allocations: 187.8 kB / 1.16 GB, free: 3.516 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.0002976/0.8931, allocations: 158.3 kB / 1.16 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000846/0.8939, allocations: 0.5497 MB / 1.161 GB, free: 2.793 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.894, allocations: 0 / 1.161 GB, free: 2.793 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.8942, allocations: 228 kB / 1.161 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.895, allocations: 156.1 kB / 1.161 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.8972, allocations: 1.246 MB / 1.162 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007964/0.898, allocations: 1.057 MB / 1.163 GB, free: 72 kB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.898, allocations: 0 / 1.163 GB, free: 72 kB / 0.7605 GB Notification: Performance of Templates: time 0.01359/0.9116, allocations: 7.225 MB / 1.171 GB, free: 8.984 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)