Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) 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) Running command: translateModel(TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner") translateModel(TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner") [: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/Complex 3.2.3+maint.om/package.mo): time 0.005684/0.005684, allocations: 179.3 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009273/0.0009274, allocations: 102 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06089/0.06089, allocations: 10.87 MB / 319.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.631e-06/5.651e-06, allocations: 0 / 375.6 MB, free: 77.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.08959, allocations: 49.76 MB / 425.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7503/0.8399, allocations: 366.5 MB / 0.7733 GB, free: 29.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.8403, allocations: 71.09 kB / 0.7734 GB, free: 29.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.017/1.857, allocations: 237.2 MB / 1.005 GB, free: 46.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003452/1.857, allocations: 73.19 kB / 1.005 GB, free: 46.63 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 759 * Number of variables: 759 Notification: Performance of Generate backend data structure: time 0.01993/1.877, allocations: 4.66 MB / 1.01 GB, free: 45.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.877, allocations: 9.969 kB / 1.01 GB, free: 45.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/1.881, allocations: 388.8 kB / 1.01 GB, free: 45.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008116/1.889, allocations: 2.512 MB / 1.013 GB, free: 44.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004757/1.889, allocations: 300.2 kB / 1.013 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/1.891, allocations: 209.6 kB / 1.013 GB, free: 44.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009786/1.901, allocations: 3.926 MB / 1.017 GB, free: 44.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/1.914, allocations: 4.098 MB / 1.021 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/1.914, allocations: 18.53 kB / 1.021 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/1.915, allocations: 2.562 kB / 1.021 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/1.915, allocations: 187.5 kB / 1.021 GB, free: 44.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04534/1.961, allocations: 19.85 MB / 1.04 GB, free: 38.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/1.965, allocations: 2.106 MB / 1.042 GB, free: 37.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/1.969, allocations: 1.864 MB / 1.044 GB, free: 37.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02982/1.998, allocations: 17.11 MB / 1.061 GB, free: 26.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/1.999, allocations: 67.02 kB / 1.061 GB, free: 26.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=270): time 6.181e-06/1.999, allocations: 0 / 1.061 GB, free: 26.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=271): time 0.02006/2.019, allocations: 7.895 MB / 1.069 GB, free: 22.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/2.019, allocations: 80.69 kB / 1.069 GB, free: 22.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/2.024, allocations: 2.346 MB / 1.071 GB, free: 21.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000722/2.024, allocations: 25.7 kB / 1.071 GB, free: 21.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008236/2.025, allocations: 1.192 MB / 1.072 GB, free: 20.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/2.026, allocations: 0.9633 MB / 1.073 GB, free: 20 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000584/2.027, allocations: 0 / 1.073 GB, free: 20 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002959/2.027, allocations: 472.6 kB / 1.074 GB, free: 19.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/2.03, allocations: 1.579 MB / 1.075 GB, free: 18.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003787/2.034, allocations: 3.202 MB / 1.078 GB, free: 16.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005444/2.04, allocations: 2.279 MB / 1.081 GB, free: 15.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-05/2.04, allocations: 15.81 kB / 1.081 GB, free: 15.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=546) (initialization): time 0.01474/2.054, allocations: 6.233 MB / 1.087 GB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/2.054, allocations: 5.031 kB / 1.087 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/2.055, allocations: 58.52 kB / 1.087 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06105/2.116, allocations: 12.08 MB / 1.099 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/2.119, allocations: 0.6226 MB / 1.099 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/2.134, allocations: 8.431 MB / 1.107 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006003/2.14, allocations: 261.3 kB / 1.108 GB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/2.142, allocations: 210.8 kB / 1.108 GB, free: 0.8867 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ground.freeConvection_a.dT:VARIABLE(unit = "K" ) "port_a.T - port_b.T" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ceiling.freeConvection_a.dT:VARIABLE(unit = "K" ) "port_a.T - port_b.T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 13 (fviewCalculator.F_view[1],fviewCalculator.F_view[2],fviewCalculator.F_view[3],fviewCalculator.F_view[4],fviewCalculator.F_view[5],fviewCalculator.F_view[6],fviewCalculator.F_view[7],west_wall.partialWall.centralSecondOrder.SteadyState,south_wall.partialWall.centralSecondOrder.SteadyState,east_wall.partialWall.centralSecondOrder.SteadyState,ground.partialWall.centralSecondOrder.SteadyState,ceiling.partialWall.centralSecondOrder.SteadyState,north_wall.partialWall.centralSecondOrder.SteadyState) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (353): * Single equations (assignments): 347 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {7 133,1 2,1 22,1 2,1 22} Notification: Performance of prepare postOptimizeDAE: time 0.001992/2.144, allocations: 247.6 kB / 1.108 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/2.145, allocations: 272.5 kB / 1.108 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/2.158, allocations: 4.412 MB / 1.113 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/2.159, allocations: 35.97 kB / 1.113 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/2.159, allocations: 0 / 1.113 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.125e-05/2.159, allocations: 10.03 kB / 1.113 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02332/2.182, allocations: 8.382 MB / 1.121 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/2.182, allocations: 0 / 1.121 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005656/2.188, allocations: 0.709 MB / 1.122 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/2.199, allocations: 1.968 MB / 1.124 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009704/2.2, allocations: 75.14 kB / 1.124 GB, free: 2.172 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009641/2.21, allocations: 8.162 MB / 1.132 GB, free: 9.723 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/2.21, allocations: 6.281 kB / 1.132 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01396/2.224, allocations: 5.95 MB / 1.137 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/2.225, allocations: 0.5443 MB / 1.138 GB, free: 3.094 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/2.227, allocations: 43.89 kB / 1.138 GB, free: 3.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003418/2.231, allocations: 179.6 kB / 1.138 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004487/2.231, allocations: 133.8 kB / 1.138 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/2.231, allocations: 83.95 kB / 1.138 GB, free: 2.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003885/2.235, allocations: 1.671 MB / 1.14 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005716/2.241, allocations: 0.9372 MB / 1.141 GB, free: 40 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 73 (lumpVolume.medium.T,lumpVolume.E,carrollNode.E,north_wall.freeConvection_a.E,north_wall.carrollRadiation_a.E,north_wall.freeConvection_b.E,north_wall.carrollRadiation_b.E,north_wall.partialWall.E,north_wall.partialWall.centralSecondOrder.u[2],north_wall.partialWall.centralSecondOrder.u[3],north_wall.partialWall.centralSecondOrder.u[4],north_wall.partialWall.centralSecondOrder.u[5],north_wall.partialWall.centralSecondOrder.u[6],ceiling.freeConvection_a.E,ceiling.carrollRadiation_a.E,ceiling.freeConvection_b.E,ceiling.carrollRadiation_b.E,ceiling.partialWall.E,ceiling.partialWall.centralSecondOrder.u[2],ceiling.partialWall.centralSecondOrder.u[3],ceiling.partialWall.centralSecondOrder.u[4],ceiling.partialWall.centralSecondOrder.u[5],ceiling.partialWall.centralSecondOrder.u[6],ground.freeConvection_a.E,ground.carrollRadiation_a.E,ground.freeConvection_b.E,ground.carrollRadiation_b.E,ground.partialWall.E,ground.partialWall.centralSecondOrder.u[2],ground.partialWall.centralSecondOrder.u[3],ground.partialWall.centralSecondOrder.u[4],ground.partialWall.centralSecondOrder.u[5],ground.partialWall.centralSecondOrder.u[6],wood_burner.E_released,wood_burner.radiation_outer_casing.E,wood_burner.mass_emitter.T,wood_burner.mass_emitter.E,wood_burner.mass_casing.T,wood_burner.mass_casing.E,wood_burner.convection_emitter.E,wood_burner.convection_inner_casing.E,wood_burner.convection_outer_casing.E,east_wall.freeConvection_a.E,east_wall.carrollRadiation_a.E,east_wall.freeConvection_b.E,east_wall.carrollRadiation_b.E,east_wall.partialWall.E,east_wall.partialWall.centralSecondOrder.u[2],east_wall.partialWall.centralSecondOrder.u[3],east_wall.partialWall.centralSecondOrder.u[4],east_wall.partialWall.centralSecondOrder.u[5],east_wall.partialWall.centralSecondOrder.u[6],south_wall.freeConvection_a.E,south_wall.carrollRadiation_a.E,south_wall.freeConvection_b.E,south_wall.carrollRadiation_b.E,south_wall.partialWall.E,south_wall.partialWall.centralSecondOrder.u[2],south_wall.partialWall.centralSecondOrder.u[3],south_wall.partialWall.centralSecondOrder.u[4],south_wall.partialWall.centralSecondOrder.u[5],south_wall.partialWall.centralSecondOrder.u[6],west_wall.freeConvection_a.E,west_wall.carrollRadiation_a.E,west_wall.freeConvection_b.E,west_wall.carrollRadiation_b.E,west_wall.partialWall.E,west_wall.partialWall.centralSecondOrder.u[2],west_wall.partialWall.centralSecondOrder.u[3],west_wall.partialWall.centralSecondOrder.u[4],west_wall.partialWall.centralSecondOrder.u[5],west_wall.partialWall.centralSecondOrder.u[6],ventilation.E) * Number of discrete variables: 7 (fviewCalculator.F_view[1],fviewCalculator.F_view[2],fviewCalculator.F_view[3],fviewCalculator.F_view[4],fviewCalculator.F_view[5],fviewCalculator.F_view[6],fviewCalculator.F_view[7]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 11 {5 51,1 2,1 2,1 8,1 8,1 8,1 8,1 8,1 8,1 8,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.3173/2.558, allocations: 0.6924 MB / 1.142 GB, free: 83.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01574/2.574, allocations: 4.848 MB / 1.146 GB, free: 83.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/2.574, allocations: 0 / 1.146 GB, free: 83.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003799/2.578, allocations: 1.751 MB / 1.148 GB, free: 83.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/2.582, allocations: 0.5641 MB / 1.149 GB, free: 83.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/2.6, allocations: 7.873 MB / 1.156 GB, free: 82.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002773/2.603, allocations: 2.187 MB / 1.158 GB, free: 81.28 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/2.603, allocations: 1.406 kB / 1.158 GB, free: 81.28 MB / 474.7 MB Notification: Performance of Templates: time 0.1153/2.719, allocations: 65.78 MB / 1.223 GB, free: 73.5 MB / 474.7 MB make -j1 -f TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner.makefile (rm -f TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner.pipe ; mkfifo TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner.pipe ; head -c 1048576 < TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner.pipe >> ../files/TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner.sim & ./TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_TAeZoSysPro.HeatTransfer.Examples.Room_with_wood_burner.pipe 2>&1)