Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.SimpleHouse.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.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.SimpleHouse") translateModel(Buildings.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001284/0.001283, allocations: 192.2 kB / 366.3 MB, free: 2 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.67/1.67, allocations: 205.1 MB / 0.6256 GB, free: 7.484 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.001018/0.001018, allocations: 87.45 kB / 0.7395 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.042e-05, allocations: 4 kB / 0.859 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.7366, allocations: 116.3 MB / 0.9725 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.69/6.426, allocations: 2.412 GB / 3.384 GB, free: 71.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/6.427, allocations: 91.42 kB / 3.384 GB, free: 71.01 MB / 0.948 GB Notification: Performance of FrontEnd: time 13.88/20.3, allocations: 3.71 GB / 7.094 GB, free: 72.16 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001191/20.3, allocations: 179.2 kB / 7.094 GB, free: 72.13 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1198 * Number of variables: 1198 Notification: Performance of Generate backend data structure: time 0.02742/20.33, allocations: 6.727 MB / 7.101 GB, free: 69.1 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/20.33, allocations: 10.66 kB / 7.101 GB, free: 69.1 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/20.35, allocations: 2.235 MB / 7.103 GB, free: 68.69 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/20.37, allocations: 7.825 MB / 7.111 GB, free: 67.55 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/20.37, allocations: 157.8 kB / 7.111 GB, free: 67.55 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/20.38, allocations: 288.2 kB / 7.111 GB, free: 67.55 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01099/20.39, allocations: 4.947 MB / 7.116 GB, free: 67.53 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/20.4, allocations: 5.244 MB / 7.121 GB, free: 66.73 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/20.4, allocations: 12.12 kB / 7.121 GB, free: 66.72 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006512/20.4, allocations: 13.94 kB / 7.121 GB, free: 66.72 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/20.4, allocations: 198.7 kB / 7.121 GB, free: 66.71 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/20.45, allocations: 26.24 MB / 7.147 GB, free: 54.13 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/20.46, allocations: 2.534 MB / 7.149 GB, free: 54.07 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003557/20.46, allocations: 2.154 MB / 7.152 GB, free: 54.05 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02399/20.48, allocations: 8.28 MB / 7.16 GB, free: 52.35 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003252/20.49, allocations: 2.04 MB / 7.162 GB, free: 52.22 MB / 1.073 GB Notification: Performance of pre-optimization done (n=302): time 6.692e-06/20.49, allocations: 0 / 7.162 GB, free: 52.22 MB / 1.073 GB Notification: Performance of matching and sorting (n=303): time 0.02959/20.52, allocations: 8.783 MB / 7.17 GB, free: 50.44 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/20.52, allocations: 454.7 kB / 7.171 GB, free: 49.94 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009956/20.53, allocations: 4.125 MB / 7.175 GB, free: 49.54 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001552/20.53, allocations: 32.11 kB / 7.175 GB, free: 49.51 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0037/20.53, allocations: 1.885 MB / 7.177 GB, free: 48.54 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003191/20.53, allocations: 0.9847 MB / 7.177 GB, free: 47.88 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/20.54, allocations: 0 / 7.177 GB, free: 47.88 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003798/20.54, allocations: 457.9 kB / 7.178 GB, free: 47.57 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/20.54, allocations: 1.543 MB / 7.179 GB, free: 47.56 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/20.54, allocations: 2.757 MB / 7.182 GB, free: 46.15 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/20.55, allocations: 2.134 MB / 7.184 GB, free: 46.07 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/20.55, allocations: 10.44 kB / 7.184 GB, free: 46.07 MB / 1.073 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01395/20.56, allocations: 5.125 MB / 7.189 GB, free: 44.66 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00292/20.57, allocations: 13.13 MB / 7.202 GB, free: 30.79 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-05/20.57, allocations: 27.72 kB / 7.202 GB, free: 30.79 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/20.57, allocations: 0.5134 MB / 7.203 GB, free: 30.67 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005337/20.57, allocations: 0.8772 MB / 7.203 GB, free: 30.59 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007014/20.58, allocations: 5.58 MB / 7.209 GB, free: 25.96 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008998/20.59, allocations: 407.3 kB / 7.209 GB, free: 25.92 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/20.59, allocations: 198.6 kB / 7.209 GB, free: 25.89 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/20.59, allocations: 9.781 kB / 7.209 GB, free: 25.89 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01134/20.6, allocations: 4.361 MB / 7.214 GB, free: 24.49 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.823e-05/20.6, allocations: 28.97 kB / 7.214 GB, free: 24.49 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/20.6, allocations: 0.5224 MB / 7.214 GB, free: 24.36 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004286/20.61, allocations: 0.8634 MB / 7.215 GB, free: 24.28 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/20.62, allocations: 5.584 MB / 7.221 GB, free: 19.67 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008581/20.62, allocations: 375.7 kB / 7.221 GB, free: 19.63 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/20.63, allocations: 183.2 kB / 7.221 GB, free: 19.61 MB / 1.073 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.001658/20.63, allocations: 225.1 kB / 7.221 GB, free: 19.41 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002326/20.63, allocations: 0.5459 MB / 7.222 GB, free: 19.12 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/20.64, allocations: 4.734 MB / 7.226 GB, free: 17.54 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/20.64, allocations: 33.34 kB / 7.226 GB, free: 17.54 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/20.64, allocations: 0 / 7.226 GB, free: 17.54 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007444/20.65, allocations: 3.611 MB / 7.23 GB, free: 14.77 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02671/20.68, allocations: 9.278 MB / 7.239 GB, free: 7.492 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/20.68, allocations: 0 / 7.239 GB, free: 7.492 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003411/20.68, allocations: 0.6457 MB / 7.24 GB, free: 6.969 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/20.68, allocations: 482 kB / 7.24 GB, free: 6.574 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000363/20.68, allocations: 60.41 kB / 7.24 GB, free: 6.531 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009387/20.69, allocations: 11.26 MB / 7.251 GB, free: 10.96 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/20.69, allocations: 4 kB / 7.251 GB, free: 10.95 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01488/20.71, allocations: 6.896 MB / 7.258 GB, free: 4.602 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005914/20.71, allocations: 1.153 MB / 7.259 GB, free: 3.613 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002535/20.71, allocations: 15.28 kB / 7.259 GB, free: 3.602 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007018/20.72, allocations: 355.3 kB / 7.259 GB, free: 3.383 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008989/20.72, allocations: 190.8 kB / 7.26 GB, free: 3.273 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000908/20.72, allocations: 142.6 kB / 7.26 GB, free: 3.164 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.008881/20.73, allocations: 3.095 MB / 7.263 GB, free: 432 kB / 1.089 GB Notification: Performance of remove unused functions: time 0.02528/20.76, allocations: 3.192 MB / 7.266 GB, free: 13.3 MB / 1.104 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.01575/20.77, allocations: 7.229 MB / 7.273 GB, free: 7.012 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01831/20.79, allocations: 6.832 MB / 7.28 GB, free: 0.6836 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/20.79, allocations: 5.531 kB / 7.28 GB, free: 0.6758 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.7275/21.52, allocations: 2.849 MB / 7.282 GB, free: 185.7 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01422/21.53, allocations: 2.298 MB / 7.285 GB, free: 185.7 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/21.56, allocations: 9.961 MB / 7.294 GB, free: 183.6 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007969/21.57, allocations: 4.303 MB / 7.299 GB, free: 182.8 MB / 1.104 GB Notification: Performance of SimCode: time 2.675e-06/21.57, allocations: 0 / 7.299 GB, free: 182.8 MB / 1.104 GB Notification: Performance of Templates: time 0.2861/21.86, allocations: 157.7 MB / 7.453 GB, free: 176.3 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.SimpleHouse.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.SimpleHouse.sim & ./Buildings_8_Buildings.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)