Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.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.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8") [: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.7118/0.7118, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001174/0.001174, allocations: 189.2 kB / 164.4 MB, free: 6.867 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.663/1.663, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009601/0.00096, allocations: 99.48 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.654e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1879, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5549/0.7429, allocations: 100.9 MB / 0.7194 GB, free: 11.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.7432, allocations: 67.95 kB / 0.7195 GB, free: 11.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.0006619/0.7439, allocations: 103 kB / 0.7196 GB, free: 11.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.7439, allocations: 3.938 kB / 0.7196 GB, free: 11.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002451/0.7442, allocations: 308.3 kB / 0.7199 GB, free: 10.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7442, allocations: 12.02 kB / 0.7199 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.7443, allocations: 0 / 0.7199 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.7444, allocations: 163.1 kB / 0.7201 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.7444, allocations: 0 / 0.7201 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.7444, allocations: 0 / 0.7201 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.888e-05/0.7445, allocations: 0 / 0.7201 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.7446, allocations: 47.33 kB / 0.7201 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7446, allocations: 3.938 kB / 0.7201 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.7446, allocations: 0 / 0.7201 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.7446, allocations: 4 kB / 0.7201 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.7447, allocations: 135.1 kB / 0.7203 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.117e-05/0.7448, allocations: 33.28 kB / 0.7203 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.7448, allocations: 13.72 kB / 0.7203 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.7449, allocations: 0 / 0.7203 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.7449, allocations: 42.56 kB / 0.7203 GB, free: 10.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.7449, allocations: 0.6562 kB / 0.7203 GB, free: 10.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.745, allocations: 37.59 kB / 0.7204 GB, free: 10.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.7451, allocations: 81.17 kB / 0.7205 GB, free: 10.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.709e-05/0.7451, allocations: 89 kB / 0.7205 GB, free: 10.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.7451, allocations: 25.7 kB / 0.7206 GB, free: 10.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.7452, allocations: 80.14 kB / 0.7206 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.7452, allocations: 6.125 kB / 0.7206 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.7452, allocations: 0 / 0.7206 GB, free: 10.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7453, allocations: 318.8 kB / 0.721 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.7454, allocations: 4 kB / 0.721 GB, free: 9.707 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.644e-05/0.7454, allocations: 17.66 kB / 0.721 GB, free: 9.684 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.7454, allocations: 7.984 kB / 0.721 GB, free: 9.676 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7454, allocations: 0 / 0.721 GB, free: 9.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.462e-05/0.7455, allocations: 33.7 kB / 0.721 GB, free: 9.637 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7455, allocations: 4 kB / 0.721 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7455, allocations: 0 / 0.721 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.7455, allocations: 0 / 0.721 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.7456, allocations: 4 kB / 0.721 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.7456, allocations: 8.047 kB / 0.721 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.7456, allocations: 8 kB / 0.721 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.7457, allocations: 3.906 kB / 0.721 GB, free: 9.609 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/0.7457, allocations: 101 kB / 0.7211 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.7458, allocations: 0 / 0.7211 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.7459, allocations: 52.61 kB / 0.7212 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.7459, allocations: 4.062 kB / 0.7212 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7459, allocations: 7.938 kB / 0.7212 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.746, allocations: 3.938 kB / 0.7212 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.75e-05/0.746, allocations: 126.2 kB / 0.7213 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7461, allocations: 4 kB / 0.7213 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.7461, allocations: 3.984 kB / 0.7213 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.7461, allocations: 4 kB / 0.7213 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.7461, allocations: 0 / 0.7213 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7461, allocations: 0 / 0.7213 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7461, allocations: 2.688 kB / 0.7213 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.382e-05/0.7462, allocations: 83.62 kB / 0.7214 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.7463, allocations: 81.09 kB / 0.7215 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.7463, allocations: 4 kB / 0.7215 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/0.7463, allocations: 0 / 0.7215 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.7463, allocations: 0 / 0.7215 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.7463, allocations: 7.844 kB / 0.7215 GB, free: 9.043 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.957e-05/0.7464, allocations: 85.75 kB / 0.7216 GB, free: 8.961 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.7466, allocations: 0 / 0.7216 GB, free: 8.961 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.7467, allocations: 95.25 kB / 0.7217 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.7468, allocations: 7.984 kB / 0.7217 GB, free: 8.852 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7468, allocations: 0 / 0.7217 GB, free: 8.852 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.7468, allocations: 4 kB / 0.7217 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.7469, allocations: 7.938 kB / 0.7217 GB, free: 8.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.7471, allocations: 53.19 kB / 0.7217 GB, free: 8.762 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.7475, allocations: 0.6841 MB / 0.7224 GB, free: 8.051 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7475, allocations: 0 / 0.7224 GB, free: 8.051 MB / 490.7 MB Notification: Performance of Templates: time 0.001812/0.7493, allocations: 212.9 kB / 0.7226 GB, free: 7.844 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)