Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.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.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") [: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.7599/0.7599, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.001193/0.001193, allocations: 169.3 kB / 164.4 MB, free: 6.898 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.85/1.85, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009685/0.0009689, allocations: 86.66 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.528e-06/9.929e-06, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2118, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.439, allocations: 322.7 MB / 0.936 GB, free: 179.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.439, allocations: 75.89 kB / 0.9361 GB, free: 179.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.1983/1.637, allocations: 100.2 MB / 1.034 GB, free: 78.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.683e-05/1.638, allocations: 11.94 kB / 1.034 GB, free: 78.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009517/1.639, allocations: 0.5151 MB / 1.034 GB, free: 77.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/1.639, allocations: 8.031 kB / 1.034 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/1.639, allocations: 39.61 kB / 1.034 GB, free: 77.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/1.64, allocations: 270.5 kB / 1.035 GB, free: 77.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.64, allocations: 12 kB / 1.035 GB, free: 77.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/1.64, allocations: 12 kB / 1.035 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003373/1.64, allocations: 140.8 kB / 1.035 GB, free: 77.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/1.64, allocations: 262.2 kB / 1.035 GB, free: 77.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/1.64, allocations: 0 / 1.035 GB, free: 77.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/1.64, allocations: 0 / 1.035 GB, free: 77.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/1.64, allocations: 15.98 kB / 1.035 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/1.642, allocations: 1.778 MB / 1.037 GB, free: 75.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/1.643, allocations: 85.64 kB / 1.037 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/1.643, allocations: 44.86 kB / 1.037 GB, free: 75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/1.643, allocations: 7.984 kB / 1.037 GB, free: 74.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.643, allocations: 34.56 kB / 1.037 GB, free: 74.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/1.643, allocations: 0 / 1.037 GB, free: 74.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001294/1.644, allocations: 0.4905 MB / 1.038 GB, free: 74.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.644, allocations: 51.41 kB / 1.038 GB, free: 74.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/1.644, allocations: 208 kB / 1.038 GB, free: 74.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/1.645, allocations: 25.7 kB / 1.038 GB, free: 74.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/1.645, allocations: 191.4 kB / 1.038 GB, free: 73.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/1.645, allocations: 55.2 kB / 1.038 GB, free: 73.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/1.645, allocations: 0 / 1.038 GB, free: 73.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.645, allocations: 332.2 kB / 1.038 GB, free: 73.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/1.645, allocations: 52 kB / 1.038 GB, free: 73.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/1.645, allocations: 141 kB / 1.039 GB, free: 73.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/1.645, allocations: 80.09 kB / 1.039 GB, free: 73.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.645, allocations: 11.94 kB / 1.039 GB, free: 73.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004726/1.646, allocations: 244.7 kB / 1.039 GB, free: 72.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.646, allocations: 4 kB / 1.039 GB, free: 72.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.646, allocations: 4.438 kB / 1.039 GB, free: 72.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/1.646, allocations: 28.8 kB / 1.039 GB, free: 72.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/1.646, allocations: 79.73 kB / 1.039 GB, free: 72.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/1.648, allocations: 1.225 MB / 1.04 GB, free: 71.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/1.648, allocations: 8 kB / 1.04 GB, free: 71.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/1.648, allocations: 11.91 kB / 1.04 GB, free: 71.47 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002078/1.648, allocations: 114.5 kB / 1.04 GB, free: 71.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/1.648, allocations: 27.81 kB / 1.04 GB, free: 71.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/1.648, allocations: 25.89 kB / 1.04 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.648, allocations: 4 kB / 1.04 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.648, allocations: 0 / 1.04 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003589/1.649, allocations: 443.7 kB / 1.041 GB, free: 70.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008875/1.65, allocations: 0.5185 MB / 1.041 GB, free: 70.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.65, allocations: 4 kB / 1.041 GB, free: 70.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/1.65, allocations: 39.92 kB / 1.041 GB, free: 70.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.65, allocations: 0 / 1.041 GB, free: 70.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/1.65, allocations: 7.938 kB / 1.041 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.65, allocations: 0 / 1.041 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.65, allocations: 4 kB / 1.041 GB, free: 70.14 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000439/1.65, allocations: 374.9 kB / 1.042 GB, free: 69.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/1.65, allocations: 104.8 kB / 1.042 GB, free: 69.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/1.651, allocations: 4 kB / 1.042 GB, free: 69.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/1.651, allocations: 11.98 kB / 1.042 GB, free: 69.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/1.651, allocations: 11.89 kB / 1.042 GB, free: 69.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/1.651, allocations: 4 kB / 1.042 GB, free: 69.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000158/1.651, allocations: 168.5 kB / 1.042 GB, free: 69.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005394/1.652, allocations: 72 kB / 1.042 GB, free: 69.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0004804/1.652, allocations: 200.2 kB / 1.042 GB, free: 69.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000549/1.653, allocations: 233.7 kB / 1.042 GB, free: 68.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.653, allocations: 0 / 1.042 GB, free: 68.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/1.653, allocations: 60.69 kB / 1.043 GB, free: 68.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/1.653, allocations: 101.1 kB / 1.043 GB, free: 68.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.655, allocations: 389.6 kB / 1.043 GB, free: 68.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/1.655, allocations: 0.7865 MB / 1.044 GB, free: 67.5 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/1.655, allocations: 4 kB / 1.044 GB, free: 67.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.009572/1.665, allocations: 4.39 MB / 1.048 GB, free: 63.12 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe 2>&1)