Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.227/2.227, allocations: 253.1 MB / 260.4 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 185.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001376/0.001375, allocations: 94.83 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.144e-06/7.223e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2024, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.608/0.8104, allocations: 141.3 MB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.8107, allocations: 79.58 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.114/0.9247, allocations: 17.51 MB / 1.043 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001073/0.9249, allocations: 19.94 kB / 1.043 GB, free: 14.52 MB / 0.6667 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.00315/0.928, allocations: 0.9244 MB / 1.044 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.9281, allocations: 12.03 kB / 1.044 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/0.9287, allocations: 102.8 kB / 1.044 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005634/0.9344, allocations: 1.079 MB / 1.045 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.9345, allocations: 11.94 kB / 1.045 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.9346, allocations: 32 kB / 1.045 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008095/0.9354, allocations: 186 kB / 1.046 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.9365, allocations: 346 kB / 1.046 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.9366, allocations: 0 / 1.046 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.9367, allocations: 3.906 kB / 1.046 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.9367, allocations: 12 kB / 1.046 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005309/0.942, allocations: 2.16 MB / 1.048 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.9432, allocations: 309.9 kB / 1.048 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.9437, allocations: 143 kB / 1.048 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.9438, allocations: 4.234 kB / 1.048 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.9438, allocations: 33.48 kB / 1.048 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 4.499e-06/0.9438, allocations: 0 / 1.048 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.003289/0.9471, allocations: 0.9457 MB / 1.049 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.9472, allocations: 67.34 kB / 1.049 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.9493, allocations: 0.7542 MB / 1.05 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.895e-05/0.9494, allocations: 25.7 kB / 1.05 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.9497, allocations: 247.7 kB / 1.05 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.95, allocations: 111.8 kB / 1.051 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.95, allocations: 0 / 1.051 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002888/0.9503, allocations: 394.8 kB / 1.051 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.951, allocations: 199.6 kB / 1.051 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.9522, allocations: 0.5961 MB / 1.052 GB, free: 6.664 MB / 0.6667 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.004744/0.957, allocations: 1.027 MB / 1.053 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.957, allocations: 4 kB / 1.053 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002804/0.9598, allocations: 0.7775 MB / 1.053 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.9599, allocations: 4 kB / 1.053 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/0.9599, allocations: 20.06 kB / 1.053 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.9603, allocations: 48.2 kB / 1.054 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009084/0.9694, allocations: 215.2 kB / 1.054 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.9713, allocations: 1.315 MB / 1.055 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007064/0.9784, allocations: 44.05 kB / 1.055 GB, free: 3.395 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.9785, allocations: 47.12 kB / 1.055 GB, free: 3.355 MB / 0.6667 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.0003492/0.9789, allocations: 164.3 kB / 1.055 GB, free: 3.191 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.9792, allocations: 78.97 kB / 1.055 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.9796, allocations: 74.78 kB / 1.055 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.9796, allocations: 4 kB / 1.055 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.9796, allocations: 4 kB / 1.055 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.9797, allocations: 0 / 1.055 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.9833, allocations: 1.126 MB / 1.056 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.9833, allocations: 4.125 kB / 1.056 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.9844, allocations: 87.62 kB / 1.057 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.9847, allocations: 28.78 kB / 1.057 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.9848, allocations: 7.984 kB / 1.057 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.9867, allocations: 1.311 MB / 1.058 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9867, allocations: 0 / 1.058 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001813/0.9885, allocations: 0.6679 MB / 1.059 GB, free: 0 / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007808/0.9893, allocations: 203 kB / 1.059 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.9896, allocations: 7.984 kB / 1.059 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.9912, allocations: 31.75 kB / 1.059 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.9913, allocations: 23.78 kB / 1.059 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.9914, allocations: 8 kB / 1.059 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001618/0.993, allocations: 0.5553 MB / 1.059 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001897/0.9949, allocations: 192 kB / 1.06 GB, free: 15.15 MB / 0.6823 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.0004105/0.9954, allocations: 159.1 kB / 1.06 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.9976, allocations: 0.5786 MB / 1.06 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.9976, allocations: 4 kB / 1.06 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.9983, allocations: 248 kB / 1.06 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1, allocations: 149.6 kB / 1.061 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/1.005, allocations: 1.268 MB / 1.062 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/1.006, allocations: 1.055 MB / 1.063 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of SimCode: time 1.153e-06/1.006, allocations: 0 / 1.063 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.03476/1.041, allocations: 7.565 MB / 1.07 GB, free: 4.422 MB / 0.6823 GB