Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [: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.05/2.05, allocations: 253.1 MB / 260.4 MB, free: 7.59 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.01052/0.01052, allocations: 189.2 kB / 319.6 MB, free: 3.324 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.759/1.759, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.0013/0.0013, allocations: 91.33 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.596e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2023, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6075/0.8099, allocations: 144.4 MB / 1.029 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.8102, allocations: 74.83 kB / 1.029 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1483/0.9585, allocations: 26.36 MB / 1.055 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.057e-05/0.9586, allocations: 16 kB / 1.055 GB, free: 4.652 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001935/0.9606, allocations: 0.8013 MB / 1.056 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.9606, allocations: 8.031 kB / 1.056 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.9609, allocations: 83.05 kB / 1.056 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/0.9649, allocations: 1.241 MB / 1.057 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.965, allocations: 12 kB / 1.057 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.807e-05/0.9651, allocations: 20 kB / 1.057 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000616/0.9657, allocations: 210 kB / 1.057 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.9665, allocations: 340.5 kB / 1.058 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.9665, allocations: 0 / 1.058 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.9666, allocations: 3.938 kB / 1.058 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.9666, allocations: 15.84 kB / 1.058 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.9702, allocations: 1.934 MB / 1.059 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.9709, allocations: 275.8 kB / 1.06 GB, free: 352 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.9712, allocations: 135.7 kB / 1.06 GB, free: 252 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.9712, allocations: 3.906 kB / 1.06 GB, free: 248 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.9713, allocations: 34.56 kB / 1.06 GB, free: 204 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.274e-06/0.9713, allocations: 4 kB / 1.06 GB, free: 200 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0009729/0.9723, allocations: 329.8 kB / 1.06 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.9723, allocations: 55.34 kB / 1.06 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.9742, allocations: 0.8944 MB / 1.061 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.9743, allocations: 25.7 kB / 1.061 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.9745, allocations: 207.3 kB / 1.061 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.9746, allocations: 69.25 kB / 1.061 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.9747, allocations: 4 kB / 1.061 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.9749, allocations: 381.2 kB / 1.062 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.9755, allocations: 226.9 kB / 1.062 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.9763, allocations: 497.2 kB / 1.062 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.977, allocations: 307.2 kB / 1.063 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.977, allocations: 7.906 kB / 1.063 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001825/0.9788, allocations: 0.7389 MB / 1.063 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9788, allocations: 4 kB / 1.063 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.9789, allocations: 12 kB / 1.063 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.9792, allocations: 48.64 kB / 1.064 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009832/0.9802, allocations: 135.6 kB / 1.064 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.982, allocations: 1.417 MB / 1.065 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.9837, allocations: 135.4 kB / 1.065 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.9838, allocations: 27.75 kB / 1.065 GB, free: 11.16 MB / 0.6823 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.0001581/0.9839, allocations: 132.5 kB / 1.065 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.9841, allocations: 59.25 kB / 1.065 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.9843, allocations: 65.39 kB / 1.065 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9843, allocations: 8 kB / 1.065 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9844, allocations: 0 / 1.065 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.9844, allocations: 3.906 kB / 1.065 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.9855, allocations: 0.6259 MB / 1.066 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9855, allocations: 0 / 1.066 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.986, allocations: 43.84 kB / 1.066 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.9862, allocations: 50.66 kB / 1.066 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.9863, allocations: 8 kB / 1.066 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.988, allocations: 1.408 MB / 1.068 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.988, allocations: 7.844 kB / 1.068 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001144/0.9892, allocations: 0.5544 MB / 1.068 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.9898, allocations: 342.4 kB / 1.068 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.99, allocations: 4 kB / 1.068 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.991, allocations: 63.91 kB / 1.068 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.9911, allocations: 11.23 kB / 1.068 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.9911, allocations: 4.125 kB / 1.069 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001383/0.9925, allocations: 0.6615 MB / 1.069 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001065/0.9936, allocations: 191.4 kB / 1.069 GB, free: 7.301 MB / 0.6823 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.0003489/0.9939, allocations: 180.5 kB / 1.07 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.9952, allocations: 0.5361 MB / 1.07 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9952, allocations: 0 / 1.07 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.9957, allocations: 233.2 kB / 1.07 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.9968, allocations: 147.6 kB / 1.07 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.9999, allocations: 1.249 MB / 1.072 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.001, allocations: 1.06 MB / 1.073 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/1.001, allocations: 0 / 1.073 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of Templates: time 0.02254/1.024, allocations: 7.211 MB / 1.08 GB, free: 13.06 MB / 0.698 GB