Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse") translateModel(BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.8832/0.8832, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 193.2 kB / 164.4 MB, free: 6.855 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.1 MB / 399.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 91.19 kB / 476.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.312e-05/1.316e-05, allocations: 0 / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 76.74 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.909/7.114, allocations: 2.485 GB / 3.106 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/7.115, allocations: 89.06 kB / 3.106 GB, free: 217.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 15.02/22.14, allocations: 3.629 GB / 6.735 GB, free: 47.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.002393/22.14, allocations: 180.2 kB / 6.735 GB, free: 47.77 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.03186/22.17, allocations: 6.687 MB / 6.742 GB, free: 44.76 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/22.17, allocations: 8.219 kB / 6.742 GB, free: 44.76 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/22.19, allocations: 2.444 MB / 6.744 GB, free: 44.35 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03969/22.23, allocations: 8.168 MB / 6.752 GB, free: 43.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006583/22.23, allocations: 152 kB / 6.752 GB, free: 43.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003245/22.24, allocations: 292.8 kB / 6.752 GB, free: 43.3 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01591/22.25, allocations: 4.953 MB / 6.757 GB, free: 43.27 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/22.27, allocations: 5.179 MB / 6.762 GB, free: 42.51 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003642/22.27, allocations: 9.094 kB / 6.762 GB, free: 42.51 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002276/22.28, allocations: 11.34 kB / 6.762 GB, free: 42.51 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002859/22.28, allocations: 202.5 kB / 6.763 GB, free: 42.49 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06517/22.34, allocations: 26.28 MB / 6.788 GB, free: 29.67 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005738/22.35, allocations: 2.53 MB / 6.791 GB, free: 29.62 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004783/22.35, allocations: 2.132 MB / 6.793 GB, free: 29.59 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/22.38, allocations: 8.433 MB / 6.801 GB, free: 27.61 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003997/22.38, allocations: 2.006 MB / 6.803 GB, free: 27.47 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=298): time 8.806e-06/22.38, allocations: 0 / 6.803 GB, free: 27.47 MB / 0.7917 GB Notification: Performance of matching and sorting (n=299): time 0.03049/22.41, allocations: 9.374 MB / 6.812 GB, free: 25.23 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/22.41, allocations: 369.3 kB / 6.812 GB, free: 24.82 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01346/22.43, allocations: 4.018 MB / 6.816 GB, free: 24.47 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001316/22.43, allocations: 34.73 kB / 6.816 GB, free: 24.44 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00362/22.43, allocations: 1.878 MB / 6.818 GB, free: 23.46 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.002565/22.43, allocations: 0.9758 MB / 6.819 GB, free: 22.81 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/22.43, allocations: 0 / 6.819 GB, free: 22.81 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004319/22.44, allocations: 455 kB / 6.82 GB, free: 22.5 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/22.44, allocations: 1.554 MB / 6.821 GB, free: 22.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/22.44, allocations: 2.688 MB / 6.824 GB, free: 21.17 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/22.45, allocations: 2.204 MB / 6.826 GB, free: 20.82 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.901e-05/22.45, allocations: 8.281 kB / 6.826 GB, free: 20.82 MB / 0.7917 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01876/22.47, allocations: 5.212 MB / 6.831 GB, free: 19.04 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.003146/22.47, allocations: 12.93 MB / 6.844 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/22.47, allocations: 29.22 kB / 6.844 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/22.48, allocations: 0.5143 MB / 6.844 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005407/22.48, allocations: 0.8967 MB / 6.845 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007453/22.49, allocations: 5.591 MB / 6.85 GB, free: 476 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00878/22.5, allocations: 385.6 kB / 6.851 GB, free: 440 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/22.5, allocations: 202.1 kB / 6.851 GB, free: 408 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/22.5, allocations: 4.188 kB / 6.851 GB, free: 408 kB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0182/22.52, allocations: 4.47 MB / 6.855 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/22.52, allocations: 29.22 kB / 6.855 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/22.52, allocations: 0.5188 MB / 6.856 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005362/22.53, allocations: 0.8549 MB / 6.857 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008396/22.54, allocations: 5.601 MB / 6.862 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00862/22.54, allocations: 338.4 kB / 6.863 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/22.55, allocations: 186.3 kB / 6.863 GB, free: 6.852 MB / 0.8073 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$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.003145/22.55, allocations: 223.6 kB / 6.863 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002876/22.55, allocations: 0.5363 MB / 6.864 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/22.57, allocations: 5.157 MB / 6.869 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.857e-05/22.57, allocations: 28 kB / 6.869 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/22.57, allocations: 4 kB / 6.869 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6692/23.24, allocations: 4.417 MB / 6.873 GB, free: 112.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02591/23.26, allocations: 9.536 MB / 6.882 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/23.26, allocations: 6.812 kB / 6.882 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/23.27, allocations: 0.6446 MB / 6.883 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/23.27, allocations: 440.2 kB / 6.883 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002785/23.27, allocations: 59.09 kB / 6.883 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008649/23.28, allocations: 11.07 MB / 6.894 GB, free: 101.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/23.28, allocations: 3.531 kB / 6.894 GB, free: 101.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01353/23.29, allocations: 7.135 MB / 6.901 GB, free: 100.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004458/23.3, allocations: 1.109 MB / 6.902 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00216/23.3, allocations: 18.55 kB / 6.902 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006242/23.3, allocations: 365.5 kB / 6.903 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/23.3, allocations: 177.9 kB / 6.903 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004593/23.31, allocations: 139.8 kB / 6.903 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.006431/23.31, allocations: 3.005 MB / 6.906 GB, free: 100.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.02576/23.34, allocations: 3.114 MB / 6.909 GB, free: 100.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.conTim1.tStart,weaDat.conTim.tStart,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTim1.tStart,weaDat.conTim.tStart,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 9,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01422/23.35, allocations: 7.296 MB / 6.916 GB, free: 97.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01653/23.37, allocations: 6.803 MB / 6.923 GB, free: 96.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.979e-05/23.37, allocations: 4.219 kB / 6.923 GB, free: 96.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005504/23.37, allocations: 2.579 MB / 6.925 GB, free: 96.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01614/23.39, allocations: 2.235 MB / 6.927 GB, free: 96.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/23.43, allocations: 10.13 MB / 6.937 GB, free: 94.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01266/23.45, allocations: 4.26 MB / 6.941 GB, free: 93.37 MB / 0.8073 GB Notification: Performance of SimCode: time 1.452e-06/23.45, allocations: 0 / 6.941 GB, free: 93.37 MB / 0.8073 GB Notification: Performance of Templates: time 0.3018/23.75, allocations: 156.8 MB / 7.094 GB, free: 83.96 MB / 0.8073 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe 2>&1)