Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.087/2.087, allocations: 253.1 MB / 260.4 MB, free: 7.539 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.001643/0.001643, allocations: 181.3 kB / 319.6 MB, free: 3.32 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.924/1.924, 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.001226/0.001226, allocations: 91.42 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.628e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1949, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6377/0.8327, allocations: 144.4 MB / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.833, allocations: 80.27 kB / 1.029 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1848/1.018, allocations: 26.37 MB / 1.055 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001027/1.018, allocations: 12 kB / 1.055 GB, free: 4.691 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.002226/1.02, allocations: 0.8004 MB / 1.056 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.02, allocations: 8.031 kB / 1.056 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005199/1.021, allocations: 79.06 kB / 1.056 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/1.025, allocations: 1.24 MB / 1.057 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/1.025, allocations: 8 kB / 1.057 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/1.026, allocations: 24 kB / 1.057 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007013/1.026, allocations: 222.2 kB / 1.057 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/1.027, allocations: 333.4 kB / 1.058 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/1.027, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/1.027, allocations: 4 kB / 1.058 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/1.027, allocations: 11.84 kB / 1.058 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/1.031, allocations: 1.926 MB / 1.059 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/1.032, allocations: 277.5 kB / 1.06 GB, free: 404 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/1.033, allocations: 128.9 kB / 1.06 GB, free: 308 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/1.033, allocations: 7.906 kB / 1.06 GB, free: 300 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.033, allocations: 34.5 kB / 1.06 GB, free: 256 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.865e-06/1.033, allocations: 0 / 1.06 GB, free: 256 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.001136/1.034, allocations: 345.3 kB / 1.06 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.034, allocations: 55.41 kB / 1.06 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.036, allocations: 0.8911 MB / 1.061 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/1.036, allocations: 25.7 kB / 1.061 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/1.036, allocations: 210.4 kB / 1.061 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/1.036, allocations: 67.88 kB / 1.061 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/1.037, allocations: 0 / 1.061 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002359/1.037, allocations: 375.9 kB / 1.062 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/1.037, allocations: 231.5 kB / 1.062 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007666/1.038, allocations: 497.2 kB / 1.062 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/1.039, allocations: 305.7 kB / 1.063 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.039, allocations: 7.906 kB / 1.063 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002213/1.041, allocations: 0.7403 MB / 1.063 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/1.041, allocations: 8.031 kB / 1.063 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/1.041, allocations: 8 kB / 1.063 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/1.042, allocations: 55.2 kB / 1.064 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/1.043, allocations: 135.4 kB / 1.064 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/1.045, allocations: 1.423 MB / 1.065 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.046, allocations: 131.5 kB / 1.065 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/1.047, allocations: 30.75 kB / 1.065 GB, free: 11.2 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.0001778/1.047, allocations: 128.6 kB / 1.065 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/1.047, allocations: 62.62 kB / 1.065 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/1.047, allocations: 62.95 kB / 1.065 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.047, allocations: 0 / 1.065 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.047, allocations: 4 kB / 1.065 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/1.047, allocations: 7.906 kB / 1.065 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.048, allocations: 0.6206 MB / 1.066 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.048, allocations: 0 / 1.066 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/1.049, allocations: 47.95 kB / 1.066 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/1.049, allocations: 43.73 kB / 1.066 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/1.049, allocations: 11.92 kB / 1.066 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/1.051, allocations: 1.401 MB / 1.068 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.051, allocations: 12.09 kB / 1.068 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001283/1.052, allocations: 0.5467 MB / 1.068 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/1.053, allocations: 354 kB / 1.068 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/1.053, allocations: 8 kB / 1.068 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.054, allocations: 59.81 kB / 1.068 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/1.054, allocations: 15.17 kB / 1.068 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/1.054, allocations: 4 kB / 1.069 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001492/1.056, allocations: 0.6682 MB / 1.069 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001201/1.057, allocations: 187.8 kB / 1.069 GB, free: 7.336 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.0003928/1.057, allocations: 179.4 kB / 1.07 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.059, allocations: 0.5292 MB / 1.07 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.059, allocations: 4.125 kB / 1.07 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000471/1.059, allocations: 239.1 kB / 1.07 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/1.061, allocations: 141.8 kB / 1.07 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/1.064, allocations: 1.239 MB / 1.072 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.066, allocations: 1.07 MB / 1.073 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/1.066, allocations: 0 / 1.073 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of Templates: time 0.02359/1.089, allocations: 7.215 MB / 1.08 GB, free: 13.1 MB / 0.698 GB