Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse") translateModel(BuildingSystems.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7884/0.7884, allocations: 141.8 MB / 149.1 MB, free: 388 kB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 175.8 kB / 182 MB, free: 12.62 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 436 MB, free: 5.449 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009948/0.0009949, allocations: 96.55 kB / 0.507 GB, free: 19.18 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001938, allocations: 282.8 kB / 0.5885 GB, free: 6.578 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.486e-06, allocations: 1.125 kB / 0.6759 GB, free: 139.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2037, allocations: 82.78 MB / 0.7567 GB, free: 88.35 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.071/5.275, allocations: 2.2 GB / 2.957 GB, free: 87.17 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/5.275, allocations: 87.95 kB / 2.957 GB, free: 87.08 MB / 0.6982 GB Notification: Performance of FrontEnd: time 14.36/19.64, allocations: 3.751 GB / 6.708 GB, free: 47.88 MB / 0.8388 GB Notification: Performance of Transformations before backend: time 0.001772/19.64, allocations: 174.2 kB / 6.709 GB, free: 47.85 MB / 0.8388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1201 * Number of variables: 1201 Notification: Performance of Generate backend data structure: time 0.03213/19.67, allocations: 6.752 MB / 6.715 GB, free: 44.75 MB / 0.8388 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/19.67, allocations: 11 kB / 6.715 GB, free: 44.75 MB / 0.8388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/19.69, allocations: 2.226 MB / 6.717 GB, free: 44.34 MB / 0.8388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03661/19.73, allocations: 7.787 MB / 6.725 GB, free: 43.17 MB / 0.8388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008235/19.73, allocations: 152.8 kB / 6.725 GB, free: 43.17 MB / 0.8388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004517/19.73, allocations: 290.9 kB / 6.725 GB, free: 43.17 MB / 0.8388 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02112/19.75, allocations: 4.941 MB / 6.73 GB, free: 43.14 MB / 0.8388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02481/19.78, allocations: 5.224 MB / 6.735 GB, free: 42.38 MB / 0.8388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004805/19.78, allocations: 7.938 kB / 6.735 GB, free: 42.38 MB / 0.8388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002597/19.78, allocations: 13.62 kB / 6.735 GB, free: 42.38 MB / 0.8388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003032/19.78, allocations: 206.9 kB / 6.736 GB, free: 42.36 MB / 0.8388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06576/19.85, allocations: 26.29 MB / 6.761 GB, free: 29.59 MB / 0.8388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005891/19.85, allocations: 2.537 MB / 6.764 GB, free: 28.7 MB / 0.8388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004671/19.86, allocations: 2.15 MB / 6.766 GB, free: 28.02 MB / 0.8388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03099/19.89, allocations: 8.314 MB / 6.774 GB, free: 23.78 MB / 0.8388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005543/19.89, allocations: 2.045 MB / 6.776 GB, free: 23.03 MB / 0.8388 GB Notification: Performance of pre-optimization done (n=303): time 2.374e-05/19.89, allocations: 2.156 kB / 6.776 GB, free: 23.03 MB / 0.8388 GB Notification: Performance of matching and sorting (n=304): time 0.03357/19.93, allocations: 8.777 MB / 6.784 GB, free: 15.33 MB / 0.8388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/19.93, allocations: 372.5 kB / 6.785 GB, free: 14.88 MB / 0.8388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01141/19.94, allocations: 4.116 MB / 6.789 GB, free: 11.27 MB / 0.8388 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/19.94, allocations: 32.75 kB / 6.789 GB, free: 11.23 MB / 0.8388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003182/19.94, allocations: 1.873 MB / 6.791 GB, free: 9.633 MB / 0.8388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002466/19.95, allocations: 0.9915 MB / 6.792 GB, free: 8.715 MB / 0.8388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009355/19.95, allocations: 0 / 6.792 GB, free: 8.715 MB / 0.8388 GB Notification: Performance of setup shared object (initialization): time 0.0003775/19.95, allocations: 456.5 kB / 6.792 GB, free: 8.309 MB / 0.8388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/19.95, allocations: 1.535 MB / 6.794 GB, free: 6.914 MB / 0.8388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004265/19.96, allocations: 2.718 MB / 6.796 GB, free: 3.918 MB / 0.8388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005762/19.96, allocations: 2.123 MB / 6.798 GB, free: 2.184 MB / 0.8388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.217e-05/19.96, allocations: 8 kB / 6.798 GB, free: 2.176 MB / 0.8388 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01774/19.98, allocations: 5.099 MB / 6.803 GB, free: 13.72 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.6417/20.62, allocations: 13.09 MB / 6.816 GB, free: 108.3 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/20.62, allocations: 28.09 kB / 6.816 GB, free: 108.3 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/20.62, allocations: 0.51 MB / 6.817 GB, free: 108.2 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005742/20.63, allocations: 0.887 MB / 6.817 GB, free: 108.2 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/20.64, allocations: 5.608 MB / 6.823 GB, free: 104.3 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00804/20.64, allocations: 407.6 kB / 6.823 GB, free: 104.3 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/20.65, allocations: 199.3 kB / 6.824 GB, free: 104.3 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/20.65, allocations: 7.219 kB / 6.824 GB, free: 104.3 MB / 0.8544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01119/20.66, allocations: 4.336 MB / 6.828 GB, free: 104.1 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/20.66, allocations: 31.59 kB / 6.828 GB, free: 104.1 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/20.66, allocations: 0.5227 MB / 6.828 GB, free: 104.1 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/20.66, allocations: 0.8626 MB / 6.829 GB, free: 104.1 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006675/20.67, allocations: 5.608 MB / 6.835 GB, free: 100.2 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007654/20.68, allocations: 379.6 kB / 6.835 GB, free: 100.2 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/20.68, allocations: 183.3 kB / 6.835 GB, free: 100.2 MB / 0.8544 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaWat.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 (444): * Single equations (assignments): 437 * Array equations: 2 * 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 {1 2,1 2,2 9,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001592/20.68, allocations: 220.9 kB / 6.835 GB, free: 100 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002141/20.68, allocations: 0.5487 MB / 6.836 GB, free: 100 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/20.69, allocations: 4.735 MB / 6.841 GB, free: 99.79 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/20.7, allocations: 37.12 kB / 6.841 GB, free: 99.79 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/20.7, allocations: 0 / 6.841 GB, free: 99.79 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007417/20.7, allocations: 3.622 MB / 6.844 GB, free: 99.48 MB / 0.8544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/20.73, allocations: 9.298 MB / 6.853 GB, free: 98.91 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/20.73, allocations: 0.7656 kB / 6.853 GB, free: 98.91 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/20.73, allocations: 0.6412 MB / 6.854 GB, free: 98.91 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/20.73, allocations: 484.5 kB / 6.854 GB, free: 98.84 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003973/20.73, allocations: 57.48 kB / 6.854 GB, free: 98.84 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008907/20.74, allocations: 11.24 MB / 6.865 GB, free: 89.55 MB / 0.8544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/20.74, allocations: 3.312 kB / 6.865 GB, free: 89.55 MB / 0.8544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01418/20.76, allocations: 6.908 MB / 6.872 GB, free: 88.71 MB / 0.8544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00492/20.76, allocations: 1.15 MB / 6.873 GB, free: 88.4 MB / 0.8544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002571/20.77, allocations: 16.41 kB / 6.873 GB, free: 88.4 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006985/20.77, allocations: 364.5 kB / 6.874 GB, free: 88.39 MB / 0.8544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006707/20.77, allocations: 186.9 kB / 6.874 GB, free: 88.38 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007677/20.77, allocations: 148.7 kB / 6.874 GB, free: 88.38 MB / 0.8544 GB Notification: Performance of sort global known variables: time 0.009332/20.78, allocations: 3.08 MB / 6.877 GB, free: 88.17 MB / 0.8544 GB Notification: Performance of remove unused functions: time 0.02663/20.81, allocations: 3.172 MB / 6.88 GB, free: 88.17 MB / 0.8544 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.s[1],vavDam.filter.s[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 (316): * Single equations (assignments): 302 * 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.01438/20.82, allocations: 7.227 MB / 6.887 GB, free: 85.19 MB / 0.8544 GB Notification: Performance of simCode: created initialization part: time 0.01835/20.84, allocations: 6.75 MB / 6.894 GB, free: 84.68 MB / 0.8544 GB Notification: Performance of simCode: created event and clocks part: time 2.45e-05/20.84, allocations: 7.625 kB / 6.894 GB, free: 84.68 MB / 0.8544 GB Notification: Performance of simCode: created simulation system equations: time 0.005791/20.85, allocations: 2.598 MB / 6.896 GB, free: 83.97 MB / 0.8544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01741/20.87, allocations: 2.285 MB / 6.898 GB, free: 83.94 MB / 0.8544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04089/20.91, allocations: 9.958 MB / 6.908 GB, free: 81.88 MB / 0.8544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009243/20.92, allocations: 4.292 MB / 6.912 GB, free: 81.04 MB / 0.8544 GB Notification: Performance of SimCode: time 1.623e-06/20.92, allocations: 0 / 6.912 GB, free: 81.04 MB / 0.8544 GB Notification: Performance of Templates: time 0.321/21.24, allocations: 156.9 MB / 7.066 GB, free: 72.52 MB / 0.8544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe 2>&1)