Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") [: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.566/1.566, allocations: 289.8 MB / 297.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 173.3 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009639/0.0009641, allocations: 92.91 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.153e-05/1.179e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7851, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1913/0.9765, allocations: 143.7 MB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.9768, allocations: 87.88 kB / 1.113 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01971/0.9966, allocations: 6.332 MB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.9966, allocations: 12 kB / 1.119 GB, free: 14.39 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00105/0.9977, allocations: 0.6384 MB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9977, allocations: 8.031 kB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.9979, allocations: 51.34 kB / 1.12 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.9984, allocations: 319.7 kB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.9984, allocations: 16 kB / 1.12 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.9985, allocations: 20 kB / 1.12 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004365/0.9989, allocations: 213.5 kB / 1.12 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.9994, allocations: 304.6 kB / 1.121 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.9994, allocations: 0 / 1.121 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.9995, allocations: 3.906 kB / 1.121 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.9995, allocations: 12 kB / 1.121 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/1.001, allocations: 1.381 MB / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/1.002, allocations: 240.4 kB / 1.122 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/1.002, allocations: 164.9 kB / 1.122 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/1.002, allocations: 8.234 kB / 1.122 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.002, allocations: 34.8 kB / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.293e-06/1.002, allocations: 0 / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.001062/1.003, allocations: 386.1 kB / 1.123 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.003, allocations: 61.17 kB / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/1.004, allocations: 251.5 kB / 1.123 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/1.004, allocations: 25.7 kB / 1.123 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/1.004, allocations: 191.9 kB / 1.123 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/1.004, allocations: 86.75 kB / 1.123 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/1.004, allocations: 3.938 kB / 1.123 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.004, allocations: 338.7 kB / 1.124 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/1.004, allocations: 80.55 kB / 1.124 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/1.005, allocations: 135.7 kB / 1.124 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/1.005, allocations: 91.95 kB / 1.124 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.005, allocations: 0 / 1.124 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009862/1.006, allocations: 426.2 kB / 1.124 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002273/1.006, allocations: 0.5255 MB / 1.125 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.006, allocations: 0 / 1.125 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007553/1.007, allocations: 175.7 kB / 1.125 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.007, allocations: 47.91 kB / 1.125 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009625/1.008, allocations: 0.8255 MB / 1.126 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/1.008, allocations: 31.83 kB / 1.126 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/1.008, allocations: 8 kB / 1.126 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/1.008, allocations: 4.75 kB / 1.126 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009548/1.009, allocations: 364.3 kB / 1.126 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/1.009, allocations: 0 / 1.126 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/1.01, allocations: 172.6 kB / 1.127 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/1.01, allocations: 52.06 kB / 1.127 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/1.013, allocations: 2.232 MB / 1.129 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/1.014, allocations: 35.89 kB / 1.129 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/1.014, allocations: 12 kB / 1.129 GB, free: 4.039 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.014, allocations: 106.7 kB / 1.129 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/1.014, allocations: 31.61 kB / 1.129 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.619e-05/1.014, allocations: 43.86 kB / 1.129 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.014, allocations: 7.938 kB / 1.129 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.014, allocations: 0 / 1.129 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.014, allocations: 0 / 1.129 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/1.014, allocations: 362.2 kB / 1.129 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.014, allocations: 0 / 1.129 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/1.015, allocations: 35.92 kB / 1.129 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006495/1.015, allocations: 171.7 kB / 1.13 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/1.015, allocations: 3.906 kB / 1.13 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/1.018, allocations: 2.212 MB / 1.132 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.018, allocations: 4.062 kB / 1.132 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009408/1.019, allocations: 487.9 kB / 1.132 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.019, allocations: 132.6 kB / 1.132 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/1.019, allocations: 0 / 1.132 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/1.02, allocations: 19.89 kB / 1.132 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/1.02, allocations: 11.97 kB / 1.132 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/1.02, allocations: 12.75 kB / 1.132 GB, free: 236 kB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002028/1.02, allocations: 196 kB / 1.132 GB, free: 44 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006909/1.021, allocations: 199.4 kB / 1.133 GB, free: 15.84 MB / 0.7448 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 (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001906/1.021, allocations: 100 kB / 1.133 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001081/1.022, allocations: 0.5162 MB / 1.133 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.022, allocations: 0 / 1.133 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004811/1.022, allocations: 257.7 kB / 1.134 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/1.023, allocations: 64.61 kB / 1.134 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/1.024, allocations: 481.5 kB / 1.134 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/1.025, allocations: 0.8346 MB / 1.135 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.025, allocations: 3.938 kB / 1.135 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.01319/1.038, allocations: 7.137 MB / 1.142 GB, free: 6.508 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)