Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.SimpleHouse.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.SimpleHouse") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.251/2.251, allocations: 253.1 MB / 260.4 MB, free: 8.375 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001719/0.001718, allocations: 184 kB / 319.6 MB, free: 8.129 MB / 254.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 0.5704 GB, free: 4.363 MB / 414.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001373/0.001372, allocations: 95.31 kB / 0.6746 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 7.914e-06/8.025e-06, allocations: 0 / 0.7843 GB, free: 106.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2069, allocations: 106.2 MB / 0.888 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.545/6.752, allocations: 2.528 GB / 3.416 GB, free: 170.5 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/6.753, allocations: 88.27 kB / 3.416 GB, free: 170.4 MB / 0.8731 GB Notification: Performance of FrontEnd: time 17.34/24.09, allocations: 3.606 GB / 7.022 GB, free: 59.3 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.001486/24.09, allocations: 174.7 kB / 7.022 GB, free: 59.28 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1200 * Number of variables: 1200 Notification: Performance of Generate backend data structure: time 0.02987/24.12, allocations: 6.728 MB / 7.029 GB, free: 56.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/24.12, allocations: 7.719 kB / 7.029 GB, free: 56.17 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02289/24.14, allocations: 2.219 MB / 7.031 GB, free: 55.76 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03745/24.18, allocations: 7.813 MB / 7.039 GB, free: 54.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004419/24.18, allocations: 157.6 kB / 7.039 GB, free: 54.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002907/24.19, allocations: 290.9 kB / 7.039 GB, free: 54.58 MB / 0.9981 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01892/24.2, allocations: 4.95 MB / 7.044 GB, free: 54.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/24.23, allocations: 5.216 MB / 7.049 GB, free: 53.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/24.23, allocations: 16.91 kB / 7.049 GB, free: 53.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/24.23, allocations: 10.25 kB / 7.049 GB, free: 53.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002997/24.23, allocations: 200.2 kB / 7.049 GB, free: 53.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1048/24.33, allocations: 26.21 MB / 7.075 GB, free: 40.13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/24.34, allocations: 2.526 MB / 7.077 GB, free: 39.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007359/24.35, allocations: 2.143 MB / 7.079 GB, free: 38.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0365/24.39, allocations: 8.242 MB / 7.087 GB, free: 34.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007244/24.4, allocations: 2.008 MB / 7.089 GB, free: 33.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=302): time 7.674e-06/24.4, allocations: 0 / 7.089 GB, free: 33.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303): time 0.04406/24.44, allocations: 8.767 MB / 7.098 GB, free: 25.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/24.44, allocations: 453.5 kB / 7.098 GB, free: 25.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/24.45, allocations: 4.133 MB / 7.102 GB, free: 21.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/24.45, allocations: 33.27 kB / 7.102 GB, free: 21.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003768/24.46, allocations: 1.877 MB / 7.104 GB, free: 20.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002673/24.46, allocations: 0.9927 MB / 7.105 GB, free: 19.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/24.46, allocations: 0 / 7.105 GB, free: 19.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003725/24.46, allocations: 458.6 kB / 7.106 GB, free: 18.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/24.47, allocations: 1.54 MB / 7.107 GB, free: 17.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006431/24.47, allocations: 2.753 MB / 7.11 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008439/24.48, allocations: 2.133 MB / 7.112 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.357e-05/24.48, allocations: 8 kB / 7.112 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.02332/24.51, allocations: 5.119 MB / 7.117 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.004302/24.51, allocations: 13.13 MB / 7.13 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/24.51, allocations: 29.36 kB / 7.13 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00417/24.51, allocations: 0.5107 MB / 7.13 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009144/24.52, allocations: 0.8806 MB / 7.131 GB, free: 8.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/24.54, allocations: 5.581 MB / 7.137 GB, free: 3.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/24.55, allocations: 403.4 kB / 7.137 GB, free: 2.617 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/24.55, allocations: 199.9 kB / 7.137 GB, free: 2.422 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/24.55, allocations: 4 kB / 7.137 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6193/25.17, allocations: 4.359 MB / 7.141 GB, free: 142.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.546e-05/25.17, allocations: 28.06 kB / 7.141 GB, free: 142.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003804/25.17, allocations: 0.5179 MB / 7.142 GB, free: 142.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008165/25.18, allocations: 0.8637 MB / 7.143 GB, free: 142.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/25.19, allocations: 5.587 MB / 7.148 GB, free: 138.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/25.2, allocations: 363.3 kB / 7.149 GB, free: 138.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/25.21, allocations: 188.5 kB / 7.149 GB, free: 138.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (445): * Single equations (assignments): 436 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 2,1 2,2 9,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001964/25.21, allocations: 220.8 kB / 7.149 GB, free: 138.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002415/25.21, allocations: 0.5424 MB / 7.15 GB, free: 138.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02359/25.23, allocations: 4.731 MB / 7.154 GB, free: 137.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.411e-05/25.23, allocations: 31.94 kB / 7.154 GB, free: 137.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/25.23, allocations: 2.844 kB / 7.154 GB, free: 137.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01476/25.25, allocations: 3.608 MB / 7.158 GB, free: 137.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0365/25.28, allocations: 9.243 MB / 7.167 GB, free: 137 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/25.28, allocations: 9.688 kB / 7.167 GB, free: 137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007087/25.29, allocations: 0.6376 MB / 7.167 GB, free: 137 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/25.3, allocations: 487 kB / 7.168 GB, free: 137 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009793/25.3, allocations: 56.73 kB / 7.168 GB, free: 137 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/25.31, allocations: 11.22 MB / 7.179 GB, free: 127.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/25.31, allocations: 6.469 kB / 7.179 GB, free: 127.7 MB / 1.014 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02279/25.33, allocations: 6.893 MB / 7.186 GB, free: 126.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005844/25.34, allocations: 1.136 MB / 7.187 GB, free: 126.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002728/25.34, allocations: 19.59 kB / 7.187 GB, free: 126.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01023/25.35, allocations: 361.7 kB / 7.187 GB, free: 126.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001171/25.35, allocations: 189.3 kB / 7.187 GB, free: 126.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007145/25.35, allocations: 144.6 kB / 7.187 GB, free: 126.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 0.01202/25.37, allocations: 3.096 MB / 7.19 GB, free: 126.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0313/25.4, allocations: 3.141 MB / 7.193 GB, free: 126.4 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.x[1],vavDam.filter.x[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (315): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {1 2,2 9,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01884/25.42, allocations: 7.198 MB / 7.2 GB, free: 123.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02669/25.44, allocations: 6.827 MB / 7.207 GB, free: 122.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/25.44, allocations: 3.75 kB / 7.207 GB, free: 122.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007196/25.45, allocations: 2.602 MB / 7.21 GB, free: 122.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02154/25.47, allocations: 2.289 MB / 7.212 GB, free: 122.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04172/25.51, allocations: 9.956 MB / 7.222 GB, free: 120 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01178/25.53, allocations: 4.307 MB / 7.226 GB, free: 119.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.864e-06/25.53, allocations: 0 / 7.226 GB, free: 119.2 MB / 1.014 GB Notification: Performance of Templates: time 0.4013/25.93, allocations: 157.1 MB / 7.379 GB, free: 111.8 MB / 1.014 GB