Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.206/2.206, allocations: 253.1 MB / 260.4 MB, free: 7.465 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.001653/0.001652, allocations: 169.3 kB / 319.6 MB, free: 3.328 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.989/1.989, allocations: 205.4 MB / 0.5704 GB, free: 14.97 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.001343/0.001342, allocations: 94.34 kB / 0.6746 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.566e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2073, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7035/0.9108, allocations: 144.4 MB / 1.029 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.9112, allocations: 77.41 kB / 1.029 GB, free: 10 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1575/1.069, allocations: 26.35 MB / 1.055 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.708e-05/1.069, allocations: 12 kB / 1.055 GB, free: 4.648 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.00221/1.071, allocations: 0.8008 MB / 1.056 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.071, allocations: 8.031 kB / 1.056 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/1.072, allocations: 75.06 kB / 1.056 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00475/1.076, allocations: 1.246 MB / 1.057 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/1.077, allocations: 8 kB / 1.057 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/1.077, allocations: 24 kB / 1.057 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006734/1.077, allocations: 211.8 kB / 1.057 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/1.078, allocations: 337.3 kB / 1.057 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.078, allocations: 0 / 1.057 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/1.078, allocations: 4 kB / 1.057 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/1.078, allocations: 7.906 kB / 1.057 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/1.083, allocations: 1.935 MB / 1.059 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/1.084, allocations: 277.9 kB / 1.06 GB, free: 360 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/1.084, allocations: 135.6 kB / 1.06 GB, free: 256 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/1.084, allocations: 8 kB / 1.06 GB, free: 248 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.084, allocations: 38.06 kB / 1.06 GB, free: 204 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.965e-06/1.084, allocations: 0 / 1.06 GB, free: 204 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.001103/1.085, allocations: 332.8 kB / 1.06 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.085, allocations: 59.34 kB / 1.06 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/1.087, allocations: 0.8873 MB / 1.061 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.087, allocations: 25.7 kB / 1.061 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/1.088, allocations: 217.7 kB / 1.061 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/1.088, allocations: 64.78 kB / 1.061 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/1.088, allocations: 0 / 1.061 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002951/1.088, allocations: 379.1 kB / 1.062 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/1.089, allocations: 226.1 kB / 1.062 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/1.09, allocations: 499.3 kB / 1.062 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/1.09, allocations: 307.3 kB / 1.063 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.09, allocations: 4 kB / 1.063 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002068/1.092, allocations: 0.7396 MB / 1.063 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.093, allocations: 8 kB / 1.063 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/1.093, allocations: 8 kB / 1.063 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/1.093, allocations: 60.83 kB / 1.063 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/1.094, allocations: 138.1 kB / 1.064 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/1.096, allocations: 1.411 MB / 1.065 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/1.098, allocations: 131.3 kB / 1.065 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/1.098, allocations: 29.69 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.0002025/1.098, allocations: 136.4 kB / 1.065 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/1.099, allocations: 59.25 kB / 1.065 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/1.099, allocations: 66.81 kB / 1.065 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.099, allocations: 0 / 1.065 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.099, allocations: 4 kB / 1.065 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.099, allocations: 3.906 kB / 1.065 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/1.1, allocations: 0.6198 MB / 1.066 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.1, allocations: 0 / 1.066 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/1.101, allocations: 55.2 kB / 1.066 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/1.101, allocations: 43.23 kB / 1.066 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/1.101, allocations: 7.984 kB / 1.066 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/1.103, allocations: 1.399 MB / 1.067 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.103, allocations: 3.906 kB / 1.067 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001334/1.104, allocations: 0.5574 MB / 1.068 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/1.105, allocations: 353.6 kB / 1.068 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/1.105, allocations: 7.906 kB / 1.068 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.106, allocations: 55.91 kB / 1.068 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/1.106, allocations: 10.86 kB / 1.068 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.107, allocations: 4 kB / 1.068 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001568/1.108, allocations: 0.6682 MB / 1.069 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001292/1.109, allocations: 187.8 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.000411/1.11, allocations: 179.9 kB / 1.069 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001521/1.111, allocations: 0.5327 MB / 1.07 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.111, allocations: 0 / 1.07 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005516/1.112, allocations: 235.1 kB / 1.07 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.113, allocations: 153.1 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.003799/1.117, allocations: 1.246 MB / 1.072 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.119, allocations: 1.072 MB / 1.073 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/1.119, allocations: 0 / 1.073 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.02449/1.143, allocations: 7.207 MB / 1.08 GB, free: 13.05 MB / 0.698 GB