Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.199/2.199, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001614, allocations: 181.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 0.6188 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00127/0.001269, allocations: 91.52 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.093e-05, allocations: 4 kB / 0.8503 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.653/0.6531, allocations: 115.2 MB / 0.9628 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2303/0.8835, allocations: 143.7 MB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.8839, allocations: 84.66 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04948/0.9334, allocations: 9.809 MB / 1.113 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.601e-05/0.9334, allocations: 8 kB / 1.113 GB, free: 3.223 MB / 0.7136 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.002011/0.9355, allocations: 0.7127 MB / 1.114 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.9355, allocations: 8.031 kB / 1.114 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.9358, allocations: 59.34 kB / 1.114 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.9366, allocations: 343.7 kB / 1.114 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.9367, allocations: 19.91 kB / 1.114 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.9368, allocations: 24 kB / 1.114 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009889/0.9378, allocations: 286 kB / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/0.9387, allocations: 312.5 kB / 1.115 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.9387, allocations: 1.375 kB / 1.115 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.9388, allocations: 0 / 1.115 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.9388, allocations: 12 kB / 1.115 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.9428, allocations: 1.217 MB / 1.116 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.944, allocations: 347 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.9446, allocations: 220.6 kB / 1.116 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.764e-05/0.9447, allocations: 7.75 kB / 1.116 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.9447, allocations: 38.55 kB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 3.186e-06/0.9447, allocations: 0 / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.003609/0.9483, allocations: 0.6385 MB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.9484, allocations: 63.25 kB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.9489, allocations: 235.4 kB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.949, allocations: 25.7 kB / 1.117 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.9491, allocations: 184.3 kB / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.9493, allocations: 134 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.9494, allocations: 0 / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.9495, allocations: 350.8 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.9499, allocations: 116 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.9504, allocations: 178.8 kB / 1.118 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.9508, allocations: 136.5 kB / 1.118 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9508, allocations: 0 / 1.118 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0036/0.9544, allocations: 0.654 MB / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/0.9546, allocations: 93.36 kB / 1.119 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.9546, allocations: 0 / 1.119 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00343/0.958, allocations: 405 kB / 1.119 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.9584, allocations: 27.98 kB / 1.119 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.9613, allocations: 1.145 MB / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.9623, allocations: 37.86 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.9623, allocations: 10.42 kB / 1.121 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9624, allocations: 11.92 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003343/0.9657, allocations: 0.5822 MB / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.9658, allocations: 4 kB / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.9689, allocations: 404.7 kB / 1.122 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.9692, allocations: 27.98 kB / 1.122 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.9793, allocations: 3.464 MB / 1.125 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008359/0.9802, allocations: 31.73 kB / 1.125 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.9802, allocations: 9.125 kB / 1.125 GB, free: 6.34 MB / 0.7292 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.0001694/0.9804, allocations: 109 kB / 1.125 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.9805, allocations: 31.62 kB / 1.125 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.9807, allocations: 51.06 kB / 1.125 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.9807, allocations: 4 kB / 1.125 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9807, allocations: 0 / 1.125 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.9808, allocations: 3.984 kB / 1.125 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.9816, allocations: 430.4 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.9816, allocations: 4 kB / 1.126 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.9819, allocations: 35.86 kB / 1.126 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.9849, allocations: 395.5 kB / 1.126 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.985, allocations: 4 kB / 1.126 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009671/0.9946, allocations: 3.423 MB / 1.129 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.9947, allocations: 0 / 1.129 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003323/0.998, allocations: 0.7371 MB / 1.13 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.9984, allocations: 140.5 kB / 1.13 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.9985, allocations: 4 kB / 1.13 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.999, allocations: 27.58 kB / 1.13 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.9991, allocations: 19.97 kB / 1.13 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.9992, allocations: 8 kB / 1.13 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003264/0.9995, allocations: 183.1 kB / 1.13 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001273/1.001, allocations: 259.3 kB / 1.131 GB, free: 320 kB / 0.7292 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.00021/1.001, allocations: 99.25 kB / 1.131 GB, free: 208 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003971/1.005, allocations: 0.83 MB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.005, allocations: 0 / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/1.007, allocations: 412.3 kB / 1.132 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/1.008, allocations: 84.48 kB / 1.132 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/1.01, allocations: 0.5678 MB / 1.133 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006444/1.011, allocations: 0.8557 MB / 1.133 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of SimCode: time 1.322e-06/1.011, allocations: 0 / 1.133 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.02989/1.041, allocations: 10.63 MB / 1.144 GB, free: 3.02 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1)