Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") [: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.572/1.572, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001154/0.001154, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.706/1.706, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.001057/0.001057, allocations: 86.48 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.11e-05/1.128e-05, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.7559, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.9649, allocations: 146.5 MB / 1.116 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/0.9653, allocations: 95.88 kB / 1.116 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04868/1.014, allocations: 15.92 MB / 1.131 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.89e-05/1.014, allocations: 11.98 kB / 1.131 GB, free: 1.934 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001156/1.015, allocations: 0.6422 MB / 1.132 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.015, allocations: 8.031 kB / 1.132 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02712/1.042, allocations: 2.669 MB / 1.134 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/1.044, allocations: 0.6042 MB / 1.135 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/1.044, allocations: 8.219 kB / 1.135 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/1.044, allocations: 20 kB / 1.135 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007894/1.045, allocations: 497 kB / 1.136 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/1.046, allocations: 0.5036 MB / 1.136 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.046, allocations: 0 / 1.136 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/1.046, allocations: 13.28 kB / 1.136 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/1.046, allocations: 7.938 kB / 1.136 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/1.05, allocations: 2.944 MB / 1.139 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/1.051, allocations: 474.6 kB / 1.139 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/1.052, allocations: 324.9 kB / 1.14 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/1.052, allocations: 43.97 kB / 1.14 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/1.052, allocations: 42.56 kB / 1.14 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.805e-06/1.052, allocations: 0 / 1.14 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.006186/1.058, allocations: 1.389 MB / 1.141 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/1.058, allocations: 55.41 kB / 1.141 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/1.058, allocations: 235.6 kB / 1.141 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/1.059, allocations: 33.7 kB / 1.141 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/1.059, allocations: 172.1 kB / 1.142 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/1.059, allocations: 70.94 kB / 1.142 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.059, allocations: 0.75 kB / 1.142 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002403/1.059, allocations: 342.7 kB / 1.142 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/1.061, allocations: 0.8438 MB / 1.143 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/1.062, allocations: 0.9079 MB / 1.144 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/1.074, allocations: 2.229 MB / 1.146 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.075, allocations: 0 / 1.146 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01468/1.089, allocations: 3.304 MB / 1.149 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/1.089, allocations: 94.58 kB / 1.149 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01323/1.103, allocations: 2.891 MB / 1.152 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/1.103, allocations: 0 / 1.152 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006791/1.11, allocations: 0.5931 MB / 1.153 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/1.11, allocations: 8 kB / 1.153 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006234/1.116, allocations: 0.4913 MB / 1.153 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/1.116, allocations: 51.92 kB / 1.153 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.116, allocations: 4 kB / 1.153 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01518/1.131, allocations: 3.232 MB / 1.156 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01365/1.145, allocations: 2.882 MB / 1.159 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.145, allocations: 4 kB / 1.159 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006387/1.152, allocations: 0.5931 MB / 1.16 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.152, allocations: 4 kB / 1.16 GB, free: 4.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/1.158, allocations: 495.3 kB / 1.16 GB, free: 3.695 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/1.158, allocations: 51.94 kB / 1.16 GB, free: 3.645 MB / 0.7605 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003871/1.158, allocations: 112.8 kB / 1.16 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/1.159, allocations: 33.12 kB / 1.16 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005394/1.164, allocations: 1.394 MB / 1.162 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.164, allocations: 8 kB / 1.162 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.164, allocations: 0 / 1.162 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.164, allocations: 0 / 1.162 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/1.166, allocations: 0.8789 MB / 1.163 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003948/1.169, allocations: 1.083 MB / 1.164 GB, free: 52 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/1.172, allocations: 251.8 kB / 1.164 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/1.172, allocations: 0 / 1.164 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/1.172, allocations: 23.91 kB / 1.164 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/1.172, allocations: 0 / 1.164 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.172, allocations: 0 / 1.164 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004077/1.176, allocations: 1.205 MB / 1.165 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/1.176, allocations: 206.9 kB / 1.165 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.176, allocations: 3.938 kB / 1.165 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.178, allocations: 179.8 kB / 1.166 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/1.178, allocations: 19.97 kB / 1.166 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/1.179, allocations: 19.98 kB / 1.166 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002244/1.179, allocations: 183.1 kB / 1.166 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001384/1.18, allocations: 363.3 kB / 1.166 GB, free: 13.59 MB / 0.7761 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005412/1.181, allocations: 270.8 kB / 1.166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003215/1.184, allocations: 1.976 MB / 1.168 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.184, allocations: 4 kB / 1.168 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/1.185, allocations: 407.2 kB / 1.169 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/1.185, allocations: 55.62 kB / 1.169 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/1.187, allocations: 0.7027 MB / 1.169 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.188, allocations: 0.94 MB / 1.17 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/1.188, allocations: 0 / 1.17 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of Templates: time 0.07539/1.263, allocations: 42.73 MB / 1.212 GB, free: 14.32 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)