Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.8 MB / 297.1 MB, free: 12.57 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 182 kB / 366.3 MB, free: 11.89 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 0.6256 GB, free: 2.031 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009687/0.0009685, allocations: 88.98 kB / 0.7395 GB, free: 47.13 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.345e-05, allocations: 4 kB / 0.859 GB, free: 7.125 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7602, allocations: 116.3 MB / 0.9726 GB, free: 81.46 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.9747, allocations: 154.4 MB / 1.123 GB, free: 5.484 MB / 0.7214 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.975, allocations: 87.94 kB / 1.123 GB, free: 5.398 MB / 0.7214 GB Notification: Performance of FrontEnd: time 0.09786/1.073, allocations: 33.42 MB / 1.156 GB, free: 3.883 MB / 0.7527 GB Notification: Performance of Transformations before backend: time 7.902e-05/1.073, allocations: 31.98 kB / 1.156 GB, free: 3.852 MB / 0.7527 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00278/1.076, allocations: 1.372 MB / 1.157 GB, free: 2.434 MB / 0.7527 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.076, allocations: 8.031 kB / 1.157 GB, free: 2.426 MB / 0.7527 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03078/1.107, allocations: 3.831 MB / 1.161 GB, free: 14.59 MB / 0.7683 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/1.111, allocations: 1.477 MB / 1.163 GB, free: 13.05 MB / 0.7683 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/1.111, allocations: 20 kB / 1.163 GB, free: 13.04 MB / 0.7683 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/1.111, allocations: 51.94 kB / 1.163 GB, free: 12.98 MB / 0.7683 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002971/1.114, allocations: 1.861 MB / 1.165 GB, free: 11.12 MB / 0.7683 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/1.117, allocations: 1.861 MB / 1.166 GB, free: 9.258 MB / 0.7683 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.117, allocations: 0 / 1.166 GB, free: 9.258 MB / 0.7683 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.117, allocations: 0 / 1.166 GB, free: 9.258 MB / 0.7683 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/1.117, allocations: 20 kB / 1.166 GB, free: 9.238 MB / 0.7683 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/1.131, allocations: 8.164 MB / 1.174 GB, free: 336 kB / 0.7683 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/1.133, allocations: 1.745 MB / 1.176 GB, free: 14.58 MB / 0.7839 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/1.135, allocations: 1.503 MB / 1.178 GB, free: 13.07 MB / 0.7839 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/1.135, allocations: 52.55 kB / 1.178 GB, free: 13.02 MB / 0.7839 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/1.136, allocations: 39.22 kB / 1.178 GB, free: 12.97 MB / 0.7839 GB Notification: Performance of pre-optimization done (n=70): time 3.947e-06/1.136, allocations: 4 kB / 1.178 GB, free: 12.96 MB / 0.7839 GB Notification: Performance of matching and sorting (n=70): time 0.01345/1.149, allocations: 5.457 MB / 1.183 GB, free: 7.492 MB / 0.7839 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/1.149, allocations: 60.06 kB / 1.183 GB, free: 7.422 MB / 0.7839 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.151, allocations: 1.058 MB / 1.184 GB, free: 6.344 MB / 0.7839 GB Notification: Performance of collectPreVariables (initialization): time 0.0003608/1.151, allocations: 33.69 kB / 1.184 GB, free: 6.305 MB / 0.7839 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/1.152, allocations: 320.2 kB / 1.184 GB, free: 5.984 MB / 0.7839 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004128/1.152, allocations: 228.5 kB / 1.185 GB, free: 5.758 MB / 0.7839 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/1.152, allocations: 4 kB / 1.185 GB, free: 5.754 MB / 0.7839 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.152, allocations: 329.9 kB / 1.185 GB, free: 5.426 MB / 0.7839 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/1.155, allocations: 2.168 MB / 1.187 GB, free: 3.254 MB / 0.7839 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/1.159, allocations: 2.336 MB / 1.189 GB, free: 0.8789 MB / 0.7839 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/1.172, allocations: 4.097 MB / 1.193 GB, free: 12.78 MB / 0.7996 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.172, allocations: 0 / 1.193 GB, free: 12.78 MB / 0.7996 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01971/1.191, allocations: 7.979 MB / 1.201 GB, free: 4.777 MB / 0.7996 GB Notification: Performance of prepare postOptimizeDAE: time 8.854e-05/1.192, allocations: 108.5 kB / 1.201 GB, free: 4.668 MB / 0.7996 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01911/1.211, allocations: 7.034 MB / 1.208 GB, free: 13.64 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02961/1.24, allocations: 4.999 MB / 1.213 GB, free: 8.641 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005908/1.246, allocations: 0.6906 MB / 1.214 GB, free: 7.949 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/1.257, allocations: 5.218 MB / 1.219 GB, free: 2.699 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00823/1.265, allocations: 0.8383 MB / 1.22 GB, free: 1.859 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004884/1.266, allocations: 63.92 kB / 1.22 GB, free: 1.797 MB / 0.8152 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.266, allocations: 4 kB / 1.22 GB, free: 1.793 MB / 0.8152 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02015/1.286, allocations: 7.177 MB / 1.227 GB, free: 10.61 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01943/1.306, allocations: 6.646 MB / 1.233 GB, free: 3.949 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003918/1.31, allocations: 1 MB / 1.234 GB, free: 2.949 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007891/1.318, allocations: 0.913 MB / 1.235 GB, free: 2.035 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/1.33, allocations: 6.722 MB / 1.242 GB, free: 11.19 MB / 0.8464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008371/1.338, allocations: 0.8345 MB / 1.242 GB, free: 10.35 MB / 0.8464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006264/1.339, allocations: 63.92 kB / 1.242 GB, free: 10.29 MB / 0.8464 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 (29): * Single equations (assignments): 28 * 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 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0005243/1.34, allocations: 112.9 kB / 1.243 GB, free: 10.17 MB / 0.8464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/1.34, allocations: 106.6 kB / 1.243 GB, free: 10.07 MB / 0.8464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/1.352, allocations: 5.03 MB / 1.248 GB, free: 5.074 MB / 0.8464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/1.352, allocations: 8 kB / 1.248 GB, free: 5.066 MB / 0.8464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/1.352, allocations: 3.938 kB / 1.248 GB, free: 5.062 MB / 0.8464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.352, allocations: 3.984 kB / 1.248 GB, free: 5.059 MB / 0.8464 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.366, allocations: 7.041 MB / 1.254 GB, free: 13.81 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04842/1.414, allocations: 7.592 MB / 1.262 GB, free: 6.215 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/1.417, allocations: 359.5 kB / 1.262 GB, free: 5.863 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4298/1.847, allocations: 6.758 MB / 1.269 GB, free: 331.1 MB / 0.8621 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003762/1.847, allocations: 30.47 kB / 1.269 GB, free: 331.1 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006919/1.854, allocations: 4.316 MB / 1.273 GB, free: 330.6 MB / 0.8621 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.854, allocations: 3.406 kB / 1.273 GB, free: 330.6 MB / 0.8621 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04539/1.9, allocations: 7.825 MB / 1.281 GB, free: 330.3 MB / 0.8621 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.901, allocations: 0.5503 MB / 1.281 GB, free: 330.2 MB / 0.8621 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/1.902, allocations: 0 / 1.281 GB, free: 330.2 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004728/1.906, allocations: 0.5206 MB / 1.282 GB, free: 330.2 MB / 0.8621 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/1.907, allocations: 36.02 kB / 1.282 GB, free: 330.2 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.907, allocations: 51.09 kB / 1.282 GB, free: 330.2 MB / 0.8621 GB Notification: Performance of sort global known variables: time 0.001285/1.908, allocations: 0.8066 MB / 1.283 GB, free: 330.1 MB / 0.8621 GB Notification: Performance of remove unused functions: time 0.002911/1.911, allocations: 0.7581 MB / 1.283 GB, free: 330.1 MB / 0.8621 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007612/1.912, allocations: 323.6 kB / 1.284 GB, free: 330 MB / 0.8621 GB Notification: Performance of simCode: created initialization part: time 0.009588/1.921, allocations: 6.067 MB / 1.29 GB, free: 329.8 MB / 0.8621 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.921, allocations: 0 / 1.29 GB, free: 329.8 MB / 0.8621 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/1.924, allocations: 1.551 MB / 1.291 GB, free: 329.8 MB / 0.8621 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/1.926, allocations: 206.1 kB / 1.291 GB, free: 329.8 MB / 0.8621 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007598/1.934, allocations: 2.91 MB / 1.294 GB, free: 329.4 MB / 0.8621 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.935, allocations: 1.47 MB / 1.296 GB, free: 328.7 MB / 0.8621 GB Notification: Performance of SimCode: time 7.72e-07/1.935, allocations: 0 / 1.296 GB, free: 328.7 MB / 0.8621 GB Notification: Performance of Templates: time 0.1272/2.063, allocations: 84.42 MB / 1.378 GB, free: 282.6 MB / 0.8621 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)