Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5") [: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.7056/0.7056, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001295/0.001295, allocations: 185.3 kB / 164.4 MB, free: 6.914 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.793/1.793, allocations: 205.1 MB / 399.1 MB, free: 6.117 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.001346/0.001346, allocations: 79.14 kB / 476.3 MB, free: 8.875 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.067e-06, allocations: 0 / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5466/0.7426, allocations: 100.9 MB / 0.7195 GB, free: 11.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.7428, allocations: 67.95 kB / 0.7196 GB, free: 11.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.001102/0.744, allocations: 174 kB / 0.7197 GB, free: 11.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.744, allocations: 0 / 0.7197 GB, free: 11.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002812/0.7443, allocations: 314.5 kB / 0.72 GB, free: 10.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7443, allocations: 8.031 kB / 0.72 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.7444, allocations: 0 / 0.72 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.7446, allocations: 179 kB / 0.7202 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.7447, allocations: 0 / 0.7202 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.7447, allocations: 7.938 kB / 0.7202 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.443e-05/0.7447, allocations: 4 kB / 0.7202 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.401e-05/0.7448, allocations: 33.69 kB / 0.7202 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.7448, allocations: 0 / 0.7202 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.7448, allocations: 0 / 0.7202 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.7448, allocations: 0 / 0.7202 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.745, allocations: 138.1 kB / 0.7204 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.7451, allocations: 18.61 kB / 0.7204 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.7451, allocations: 12.92 kB / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.7451, allocations: 4 kB / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.7452, allocations: 34.5 kB / 0.7204 GB, free: 10.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 4.728e-06/0.7452, allocations: 3.984 kB / 0.7204 GB, free: 10.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001639/0.7453, allocations: 38.34 kB / 0.7205 GB, free: 10.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.7454, allocations: 51.41 kB / 0.7205 GB, free: 10.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.7455, allocations: 106.8 kB / 0.7206 GB, free: 10.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.7456, allocations: 30.48 kB / 0.7207 GB, free: 10.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.7456, allocations: 80.14 kB / 0.7207 GB, free: 10.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.7456, allocations: 6.094 kB / 0.7207 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.7456, allocations: 0 / 0.7207 GB, free: 10.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7458, allocations: 314.8 kB / 0.721 GB, free: 9.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.7458, allocations: 7.984 kB / 0.721 GB, free: 9.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.7459, allocations: 13.72 kB / 0.7211 GB, free: 9.699 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.7459, allocations: 8.062 kB / 0.7211 GB, free: 9.691 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7459, allocations: 3.938 kB / 0.7211 GB, free: 9.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.904e-05/0.746, allocations: 49.53 kB / 0.7211 GB, free: 9.633 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.746, allocations: 8 kB / 0.7211 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.746, allocations: 0 / 0.7211 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.746, allocations: 0 / 0.7211 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.7461, allocations: 7.984 kB / 0.7211 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.7461, allocations: 0 / 0.7211 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.7462, allocations: 0 / 0.7211 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.7462, allocations: 4.062 kB / 0.7211 GB, free: 9.613 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.707e-05/0.7463, allocations: 116.8 kB / 0.7213 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.7463, allocations: 0 / 0.7213 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.7464, allocations: 48.78 kB / 0.7213 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7464, allocations: 0 / 0.7213 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.7464, allocations: 3.984 kB / 0.7213 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7464, allocations: 3.938 kB / 0.7213 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.7466, allocations: 138.1 kB / 0.7214 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7466, allocations: 4.719 kB / 0.7214 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.7466, allocations: 4 kB / 0.7214 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7467, allocations: 0 / 0.7214 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.7467, allocations: 0 / 0.7214 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.7467, allocations: 4.5 kB / 0.7215 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.7467, allocations: 0 / 0.7215 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000137/0.7468, allocations: 76.97 kB / 0.7215 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.7469, allocations: 81.09 kB / 0.7216 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.7469, allocations: 8.375 kB / 0.7216 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.621e-05/0.7469, allocations: 4 kB / 0.7216 GB, free: 9.047 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.747, allocations: 3.906 kB / 0.7216 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.747, allocations: 0 / 0.7216 GB, free: 9.043 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.842e-05/0.747, allocations: 91.27 kB / 0.7217 GB, free: 8.953 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.7472, allocations: 4 kB / 0.7217 GB, free: 8.949 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0001518/0.7474, allocations: 99.25 kB / 0.7218 GB, free: 8.844 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.752e-05/0.7475, allocations: 16.05 kB / 0.7218 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7475, allocations: 0 / 0.7218 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.838e-05/0.7475, allocations: 15.94 kB / 0.7218 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.7476, allocations: 0 / 0.7218 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.7479, allocations: 64.27 kB / 0.7219 GB, free: 8.727 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.7482, allocations: 0.688 MB / 0.7226 GB, free: 8.012 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7482, allocations: 0 / 0.7226 GB, free: 8.012 MB / 490.7 MB Notification: Performance of Templates: time 0.002171/0.7504, allocations: 288.9 kB / 0.7228 GB, free: 7.73 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)