Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise") [: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.6942/0.6942, allocations: 127.4 MB / 134.6 MB, free: 4.047 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.0012/0.0012, allocations: 193.2 kB / 164.4 MB, free: 6.875 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.607/1.607, allocations: 205.1 MB / 399.1 MB, free: 6.059 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.001076/0.001076, allocations: 76.5 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.524e-06, allocations: 0 / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1752, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.928/5.103, allocations: 2.166 GB / 2.787 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/5.104, allocations: 87.95 kB / 2.787 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.9554/6.059, allocations: 291.4 MB / 3.071 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000141/6.059, allocations: 40 kB / 3.071 GB, free: 3.98 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.003883/6.063, allocations: 1.625 MB / 3.073 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/6.063, allocations: 8.031 kB / 3.073 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004205/6.067, allocations: 0.5558 MB / 3.074 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/6.069, allocations: 0.8843 MB / 3.074 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/6.069, allocations: 56 kB / 3.075 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/6.07, allocations: 92 kB / 3.075 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3275/6.397, allocations: 1.569 MB / 3.076 GB, free: 203.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/6.401, allocations: 1.395 MB / 3.078 GB, free: 203.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/6.401, allocations: 3.781 kB / 3.078 GB, free: 203.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/6.401, allocations: 7.734 kB / 3.078 GB, free: 203.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/6.401, allocations: 41.25 kB / 3.078 GB, free: 203.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008024/6.409, allocations: 4.69 MB / 3.082 GB, free: 201.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/6.41, allocations: 1.12 MB / 3.083 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/6.411, allocations: 0.5274 MB / 3.084 GB, free: 201.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008979/6.412, allocations: 0.87 MB / 3.085 GB, free: 200.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009955/6.413, allocations: 0.7299 MB / 3.085 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=129): time 3.927e-06/6.413, allocations: 2.875 kB / 3.085 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129): time 0.003128/6.416, allocations: 1.256 MB / 3.087 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/6.416, allocations: 173.7 kB / 3.087 GB, free: 200.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/6.417, allocations: 0.5775 MB / 3.087 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/6.417, allocations: 25.7 kB / 3.087 GB, free: 199.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/6.417, allocations: 0.4916 MB / 3.088 GB, free: 199.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/6.418, allocations: 412.1 kB / 3.088 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/6.418, allocations: 0 / 3.088 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/6.418, allocations: 401.3 kB / 3.089 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/6.418, allocations: 371 kB / 3.089 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/6.419, allocations: 490.7 kB / 3.089 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/6.42, allocations: 0.5183 MB / 3.09 GB, free: 199 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/6.42, allocations: 0 / 3.09 GB, free: 199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002835/6.423, allocations: 1.282 MB / 3.091 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/6.423, allocations: 3.719 kB / 3.091 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/6.423, allocations: 0 / 3.091 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/6.424, allocations: 199.4 kB / 3.091 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/6.425, allocations: 245.7 kB / 3.092 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/6.43, allocations: 6.49 MB / 3.098 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/6.431, allocations: 119.7 kB / 3.098 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/6.431, allocations: 45.5 kB / 3.098 GB, free: 192.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 122 * Array equations: 0 * 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: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003631/6.431, allocations: 129.8 kB / 3.098 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/6.432, allocations: 104.8 kB / 3.098 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/6.436, allocations: 1.604 MB / 3.1 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/6.436, allocations: 14.03 kB / 3.1 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/6.436, allocations: 3.75 kB / 3.1 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/6.436, allocations: 10.44 kB / 3.1 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/6.438, allocations: 1.203 MB / 3.101 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/6.438, allocations: 3.938 kB / 3.101 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/6.44, allocations: 253.9 kB / 3.101 GB, free: 192.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008465/6.44, allocations: 193 kB / 3.101 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.266e-05/6.441, allocations: 22.25 kB / 3.101 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/6.445, allocations: 6.514 MB / 3.108 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/6.445, allocations: 0 / 3.108 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003194/6.448, allocations: 1.373 MB / 3.109 GB, free: 186.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/6.449, allocations: 410.2 kB / 3.11 GB, free: 186 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/6.449, allocations: 3.375 kB / 3.11 GB, free: 186 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/6.45, allocations: 111.6 kB / 3.11 GB, free: 186 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/6.45, allocations: 73.56 kB / 3.11 GB, free: 186 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/6.45, allocations: 69.23 kB / 3.11 GB, free: 186 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005581/6.451, allocations: 462.6 kB / 3.11 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001977/6.453, allocations: 0.5939 MB / 3.111 GB, free: 185.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002378/6.455, allocations: 1.619 MB / 3.112 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002144/6.458, allocations: 1.51 MB / 3.114 GB, free: 185.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/6.458, allocations: 4.281 kB / 3.114 GB, free: 185.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/6.459, allocations: 1.092 MB / 3.115 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/6.46, allocations: 332.3 kB / 3.115 GB, free: 184.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/6.466, allocations: 2.101 MB / 3.117 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/6.467, allocations: 1.418 MB / 3.119 GB, free: 183.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.793e-06/6.467, allocations: 0 / 3.119 GB, free: 183.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.04784/6.515, allocations: 31.64 MB / 3.15 GB, free: 182.4 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)