Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") [: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.082/2.082, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001616/0.001616, 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.956/1.956, allocations: 205.4 MB / 0.5704 GB, free: 14.98 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.001254/0.001254, allocations: 91.39 kB / 0.6746 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.374e-05/1.42e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2701, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6577/0.9278, allocations: 138.4 MB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.9282, allocations: 83.38 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0493/0.9775, allocations: 9.816 MB / 1.033 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.9776, allocations: 8 kB / 1.033 GB, free: 7.555 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001927/0.9795, allocations: 0.7034 MB / 1.034 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.9796, allocations: 8.031 kB / 1.034 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.9799, allocations: 59.34 kB / 1.034 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/0.9807, allocations: 349.1 kB / 1.034 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.9808, allocations: 16.78 kB / 1.034 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/0.9809, allocations: 28 kB / 1.034 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009724/0.9819, allocations: 285.7 kB / 1.034 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009249/0.9828, allocations: 313.7 kB / 1.035 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.9828, allocations: 0 / 1.035 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.9829, allocations: 0 / 1.035 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.9829, allocations: 12 kB / 1.035 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/0.9868, allocations: 1.211 MB / 1.036 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.9879, allocations: 342 kB / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.9885, allocations: 221.7 kB / 1.036 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.217e-05/0.9885, allocations: 11.98 kB / 1.036 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.9886, allocations: 37.81 kB / 1.036 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 3.025e-06/0.9886, allocations: 0 / 1.036 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.003662/0.9923, allocations: 0.6453 MB / 1.037 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.9924, allocations: 55.41 kB / 1.037 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.9929, allocations: 230.9 kB / 1.037 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/0.993, allocations: 25.7 kB / 1.037 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.9931, allocations: 190.9 kB / 1.037 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.9934, allocations: 132.8 kB / 1.038 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.9934, allocations: 0 / 1.038 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.9936, allocations: 341.1 kB / 1.038 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.994, allocations: 125.4 kB / 1.038 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.9944, allocations: 181.3 kB / 1.038 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.9949, allocations: 136.5 kB / 1.038 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.9949, allocations: 4 kB / 1.038 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00367/0.9986, allocations: 0.6448 MB / 1.039 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.029e-05/0.9988, allocations: 97.06 kB / 1.039 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.9988, allocations: 4 kB / 1.039 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003392/1.002, allocations: 402.4 kB / 1.039 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/1.003, allocations: 31.97 kB / 1.04 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/1.005, allocations: 1.147 MB / 1.041 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/1.006, allocations: 31.73 kB / 1.041 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/1.007, allocations: 11.81 kB / 1.041 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.007, allocations: 4 kB / 1.041 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003431/1.01, allocations: 0.5879 MB / 1.041 GB, free: 388 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.01, allocations: 0 / 1.041 GB, free: 388 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/1.013, allocations: 403.1 kB / 1.042 GB, free: 44 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/1.014, allocations: 27.97 kB / 1.042 GB, free: 16 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.024, allocations: 3.463 MB / 1.045 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/1.025, allocations: 35.72 kB / 1.045 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/1.025, allocations: 11.44 kB / 1.045 GB, free: 13.15 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.025, allocations: 114.9 kB / 1.045 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.025, allocations: 35.53 kB / 1.045 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/1.025, allocations: 49.66 kB / 1.045 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/1.025, allocations: 4 kB / 1.045 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/1.025, allocations: 0 / 1.045 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.025, allocations: 0 / 1.045 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/1.026, allocations: 431.7 kB / 1.046 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.026, allocations: 0 / 1.046 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/1.026, allocations: 31.97 kB / 1.046 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002984/1.029, allocations: 392.5 kB / 1.046 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/1.029, allocations: 4.062 kB / 1.046 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009518/1.039, allocations: 3.433 MB / 1.049 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.039, allocations: 0 / 1.049 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003339/1.042, allocations: 0.7283 MB / 1.05 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/1.043, allocations: 138.2 kB / 1.05 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/1.043, allocations: 3.984 kB / 1.05 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/1.043, allocations: 19.84 kB / 1.05 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.044, allocations: 19.47 kB / 1.05 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/1.044, allocations: 15.92 kB / 1.05 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000301/1.044, allocations: 185.8 kB / 1.051 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001254/1.045, allocations: 251.3 kB / 1.051 GB, free: 8.285 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002277/1.045, allocations: 103.7 kB / 1.051 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004058/1.049, allocations: 0.8367 MB / 1.052 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.05, allocations: 0 / 1.052 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/1.051, allocations: 409 kB / 1.052 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/1.052, allocations: 78.97 kB / 1.052 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/1.055, allocations: 0.5716 MB / 1.053 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/1.055, allocations: 0.8518 MB / 1.054 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of SimCode: time 1.262e-06/1.056, allocations: 0 / 1.054 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of Templates: time 0.03039/1.086, allocations: 10.64 MB / 1.064 GB, free: 11.16 MB / 0.6823 GB