Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") [: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.727/0.727, allocations: 127.3 MB / 134.6 MB, free: 4.113 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.001265/0.001265, allocations: 185.3 kB / 164.4 MB, free: 6.895 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.822/1.822, allocations: 205.1 MB / 399.1 MB, free: 6.152 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.0009866/0.0009866, allocations: 82.77 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.073e-06, allocations: 0 / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.717/4.91, allocations: 2.158 GB / 2.779 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/4.91, allocations: 87.95 kB / 2.779 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.812/8.723, allocations: 0.9102 GB / 3.69 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002075/8.723, allocations: 34.11 kB / 3.69 GB, free: 82.73 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.005293/8.728, allocations: 1.531 MB / 3.691 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/8.728, allocations: 6.188 kB / 3.691 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/8.732, allocations: 422.3 kB / 3.692 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/8.736, allocations: 1.182 MB / 3.693 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/8.736, allocations: 26.81 kB / 3.693 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00039/8.736, allocations: 54.34 kB / 3.693 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001879/8.738, allocations: 0.7438 MB / 3.694 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/8.74, allocations: 0.7297 MB / 3.694 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/8.74, allocations: 0 / 3.694 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-05/8.74, allocations: 3.906 kB / 3.694 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/8.74, allocations: 28.09 kB / 3.694 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/8.745, allocations: 3.724 MB / 3.698 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/8.746, allocations: 0.6061 MB / 3.698 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/8.747, allocations: 357 kB / 3.699 GB, free: 79.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000755/8.747, allocations: 0.6437 MB / 3.699 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/8.748, allocations: 38.09 kB / 3.699 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 3.447e-06/8.748, allocations: 7.875 kB / 3.699 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.003065/8.751, allocations: 0.9647 MB / 3.7 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/8.751, allocations: 57.41 kB / 3.7 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/8.751, allocations: 0.5556 MB / 3.701 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/8.751, allocations: 30.11 kB / 3.701 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/8.752, allocations: 343.8 kB / 3.701 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/8.752, allocations: 206.5 kB / 3.702 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/8.752, allocations: 0 / 3.702 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/8.752, allocations: 322 kB / 3.702 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/8.752, allocations: 245.9 kB / 3.702 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/8.753, allocations: 377.3 kB / 3.702 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/8.753, allocations: 377.1 kB / 3.703 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/8.753, allocations: 0 / 3.703 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001243/8.755, allocations: 0.7852 MB / 3.704 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/8.755, allocations: 362.7 kB / 3.704 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/8.755, allocations: 4 kB / 3.704 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/8.755, allocations: 6.406 kB / 3.704 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/8.756, allocations: 144.8 kB / 3.704 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/8.756, allocations: 6.219 kB / 3.704 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/8.757, allocations: 113.4 kB / 3.704 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/8.757, allocations: 18.97 kB / 3.704 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/8.757, allocations: 3.969 kB / 3.704 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/8.758, allocations: 0.6365 MB / 3.705 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/8.758, allocations: 2.906 kB / 3.705 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/8.758, allocations: 3.719 kB / 3.705 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/8.758, allocations: 134.9 kB / 3.705 GB, free: 77.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/8.758, allocations: 3.719 kB / 3.705 GB, free: 77.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/8.759, allocations: 102.9 kB / 3.705 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/8.759, allocations: 17.47 kB / 3.705 GB, free: 77.26 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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 0.0001639/8.759, allocations: 115.1 kB / 3.705 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/8.76, allocations: 104.5 kB / 3.705 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/8.761, allocations: 0.7965 MB / 3.706 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/8.761, allocations: 7.875 kB / 3.706 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/8.761, allocations: 0 / 3.706 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/8.762, allocations: 0.968 MB / 3.707 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/8.766, allocations: 1.965 MB / 3.709 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/8.766, allocations: 0 / 3.709 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/8.766, allocations: 158.2 kB / 3.709 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/8.767, allocations: 7.781 kB / 3.709 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/8.767, allocations: 12.83 kB / 3.709 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/8.767, allocations: 14.42 kB / 3.709 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/8.767, allocations: 3.938 kB / 3.709 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001964/8.769, allocations: 1.479 MB / 3.711 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/8.769, allocations: 243.9 kB / 3.711 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/8.769, allocations: 8.906 kB / 3.711 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/8.77, allocations: 94.98 kB / 3.711 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/8.77, allocations: 43.78 kB / 3.711 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.18e-05/8.771, allocations: 23.77 kB / 3.711 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008501/8.771, allocations: 448.6 kB / 3.711 GB, free: 75.42 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003425/8.775, allocations: 0.6661 MB / 3.712 GB, free: 75.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 59 * 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.005912/8.781, allocations: 2.637 MB / 3.715 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002316/8.783, allocations: 0.9379 MB / 3.716 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/8.783, allocations: 1.688 kB / 3.716 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007022/8.784, allocations: 342.2 kB / 3.716 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/8.787, allocations: 491.4 kB / 3.716 GB, free: 74.24 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/8.791, allocations: 1.752 MB / 3.718 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/8.793, allocations: 1.247 MB / 3.719 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of SimCode: time 2.014e-06/8.793, allocations: 0 / 3.719 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of Templates: time 0.06956/8.862, allocations: 34.65 MB / 3.753 GB, free: 49.43 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)