Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.512/1.512, allocations: 285.5 MB / 292.8 MB, free: 9.777 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.001182/0.001183, allocations: 181.2 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 0.6195 GB, free: 2.863 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001051, allocations: 92.81 kB / 0.7326 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.05e-05, allocations: 3.344 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2759, allocations: 115.3 MB / 0.9637 GB, free: 56.37 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.717/0.993, allocations: 145.5 MB / 1.106 GB, free: 32.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.9934, allocations: 89.09 kB / 1.106 GB, free: 32.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04173/1.035, allocations: 15.91 MB / 1.121 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.299e-05/1.035, allocations: 15.5 kB / 1.121 GB, free: 31.25 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009183/1.036, allocations: 0.6473 MB / 1.122 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.036, allocations: 15.59 kB / 1.122 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/1.063, allocations: 2.665 MB / 1.125 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/1.065, allocations: 0.5952 MB / 1.125 GB, free: 30.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/1.065, allocations: 11.66 kB / 1.125 GB, free: 30.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/1.065, allocations: 19.62 kB / 1.125 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007654/1.066, allocations: 499.9 kB / 1.126 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/1.067, allocations: 0.5111 MB / 1.126 GB, free: 30.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.067, allocations: 3.938 kB / 1.126 GB, free: 30.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/1.067, allocations: 0 / 1.126 GB, free: 30.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.067, allocations: 3.906 kB / 1.126 GB, free: 30.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/1.071, allocations: 2.945 MB / 1.129 GB, free: 28.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/1.071, allocations: 470.8 kB / 1.13 GB, free: 28.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/1.072, allocations: 325.8 kB / 1.13 GB, free: 28.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/1.072, allocations: 48.36 kB / 1.13 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.072, allocations: 35.17 kB / 1.13 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.685e-06/1.072, allocations: 0 / 1.13 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.006508/1.078, allocations: 1.393 MB / 1.131 GB, free: 28.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/1.078, allocations: 55.98 kB / 1.131 GB, free: 28.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/1.079, allocations: 236.1 kB / 1.132 GB, free: 28.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.079, allocations: 25.7 kB / 1.132 GB, free: 28.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/1.079, allocations: 177.5 kB / 1.132 GB, free: 28.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/1.079, allocations: 68.61 kB / 1.132 GB, free: 28.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/1.079, allocations: 4 kB / 1.132 GB, free: 28.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.08, allocations: 346.4 kB / 1.132 GB, free: 27.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/1.081, allocations: 0.8424 MB / 1.133 GB, free: 27.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.082, allocations: 0.9016 MB / 1.134 GB, free: 27.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.094, allocations: 2.232 MB / 1.136 GB, free: 27.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.094, allocations: 0 / 1.136 GB, free: 27.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01371/1.108, allocations: 3.301 MB / 1.139 GB, free: 27.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/1.108, allocations: 101.5 kB / 1.139 GB, free: 27.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01229/1.12, allocations: 2.882 MB / 1.142 GB, free: 27.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/1.12, allocations: 7.812 kB / 1.142 GB, free: 27.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005749/1.126, allocations: 0.5933 MB / 1.143 GB, free: 27.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.126, allocations: 0 / 1.143 GB, free: 27.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005371/1.132, allocations: 0.4901 MB / 1.143 GB, free: 27.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/1.132, allocations: 50.75 kB / 1.143 GB, free: 27.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.132, allocations: 3.875 kB / 1.143 GB, free: 27.36 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01343/1.145, allocations: 3.233 MB / 1.146 GB, free: 27.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01226/1.158, allocations: 2.889 MB / 1.149 GB, free: 27.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.158, allocations: 0 / 1.149 GB, free: 27.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005708/1.163, allocations: 0.5973 MB / 1.15 GB, free: 27.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.164, allocations: 7.844 kB / 1.15 GB, free: 27.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005381/1.169, allocations: 494.9 kB / 1.15 GB, free: 27.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/1.169, allocations: 53.05 kB / 1.15 GB, free: 27.1 MB / 0.7136 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.0002982/1.169, allocations: 112.9 kB / 1.151 GB, free: 26.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/1.17, allocations: 36.75 kB / 1.151 GB, free: 26.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/1.174, allocations: 1.394 MB / 1.152 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.174, allocations: 3.875 kB / 1.152 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.174, allocations: 4 kB / 1.152 GB, free: 26.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.175, allocations: 1.734 kB / 1.152 GB, free: 26.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008477/1.175, allocations: 0.8813 MB / 1.153 GB, free: 26.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003581/1.179, allocations: 1.074 MB / 1.154 GB, free: 26.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/1.181, allocations: 249.5 kB / 1.154 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.181, allocations: 3.844 kB / 1.154 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/1.181, allocations: 22.5 kB / 1.154 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.181, allocations: 3.844 kB / 1.154 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.181, allocations: 0 / 1.154 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003695/1.185, allocations: 1.211 MB / 1.155 GB, free: 26.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/1.185, allocations: 199.1 kB / 1.155 GB, free: 25.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.185, allocations: 0 / 1.155 GB, free: 25.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.187, allocations: 179.2 kB / 1.156 GB, free: 25.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/1.187, allocations: 22.28 kB / 1.156 GB, free: 25.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/1.187, allocations: 27.78 kB / 1.156 GB, free: 25.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000208/1.188, allocations: 180.7 kB / 1.156 GB, free: 41.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001331/1.189, allocations: 363.9 kB / 1.156 GB, free: 41.74 MB / 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 (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.0005209/1.189, allocations: 272.9 kB / 1.156 GB, free: 41.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002805/1.192, allocations: 1.977 MB / 1.158 GB, free: 41.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.192, allocations: 0 / 1.158 GB, free: 41.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004715/1.193, allocations: 403.9 kB / 1.159 GB, free: 41.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/1.193, allocations: 50.53 kB / 1.159 GB, free: 41.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/1.195, allocations: 0.7139 MB / 1.16 GB, free: 41.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009697/1.196, allocations: 0.9445 MB / 1.16 GB, free: 40.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.196, allocations: 0 / 1.16 GB, free: 40.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.07495/1.271, allocations: 42.72 MB / 1.202 GB, free: 21.9 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)