Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.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.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") [: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.7194/0.7194, 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.001131/0.001132, allocations: 181.3 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.651/1.651, 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.0009761/0.0009763, allocations: 88.89 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/7.975e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.439, allocations: 311.1 MB / 0.9248 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.439, allocations: 79.94 kB / 0.9248 GB, free: 191.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.1299/1.569, allocations: 66.28 MB / 0.9896 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.007e-05/1.569, allocations: 8 kB / 0.9896 GB, free: 124.6 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.001235/1.57, allocations: 0.5846 MB / 0.9901 GB, free: 124 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.57, allocations: 8.031 kB / 0.9901 GB, free: 124 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/1.571, allocations: 83.53 kB / 0.9902 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/1.572, allocations: 278.5 kB / 0.9905 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/1.572, allocations: 8 kB / 0.9905 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/1.572, allocations: 12 kB / 0.9905 GB, free: 123.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004873/1.572, allocations: 172.9 kB / 0.9907 GB, free: 123.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/1.573, allocations: 296.4 kB / 0.9909 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.573, allocations: 0 / 0.9909 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/1.573, allocations: 0 / 0.9909 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.573, allocations: 8 kB / 0.991 GB, free: 123 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/1.575, allocations: 1.636 MB / 0.9926 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/1.575, allocations: 130.2 kB / 0.9927 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/1.575, allocations: 80.22 kB / 0.9928 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/1.575, allocations: 4.188 kB / 0.9928 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.575, allocations: 34.69 kB / 0.9928 GB, free: 121 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/1.575, allocations: 0 / 0.9928 GB, free: 121 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002451/1.578, allocations: 0.8366 MB / 0.9936 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.578, allocations: 63.41 kB / 0.9937 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/1.578, allocations: 204.3 kB / 0.9939 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/1.578, allocations: 29.7 kB / 0.9939 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/1.578, allocations: 167.8 kB / 0.9941 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/1.578, allocations: 90.66 kB / 0.9941 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/1.578, allocations: 0 / 0.9941 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/1.578, allocations: 330.8 kB / 0.9945 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/1.578, allocations: 83.78 kB / 0.9945 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/1.579, allocations: 161.2 kB / 0.9947 GB, free: 119 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/1.579, allocations: 103.9 kB / 0.9948 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.579, allocations: 4 kB / 0.9948 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008481/1.58, allocations: 381.8 kB / 0.9952 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.58, allocations: 11.98 kB / 0.9952 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.58, allocations: 0 / 0.9952 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000523/1.58, allocations: 129 kB / 0.9953 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/1.58, allocations: 71.8 kB / 0.9954 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/1.583, allocations: 1.864 MB / 0.9972 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/1.584, allocations: 27.88 kB / 0.9972 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/1.584, allocations: 12 kB / 0.9972 GB, free: 116.2 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002141/1.584, allocations: 124.6 kB / 0.9973 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/1.584, allocations: 31.8 kB / 0.9974 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/1.584, allocations: 22.66 kB / 0.9974 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.584, allocations: 4 kB / 0.9974 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/1.584, allocations: 0 / 0.9974 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007707/1.585, allocations: 0.598 MB / 0.998 GB, free: 115.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/1.586, allocations: 0.729 MB / 0.9987 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.586, allocations: 0 / 0.9987 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/1.586, allocations: 43.97 kB / 0.9987 GB, free: 114.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005924/1.587, allocations: 124.8 kB / 0.9988 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/1.587, allocations: 12.19 kB / 0.9989 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/1.589, allocations: 1.782 MB / 1.001 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.589, allocations: 0 / 1.001 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009492/1.59, allocations: 0.5496 MB / 1.001 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.591, allocations: 100.8 kB / 1.001 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/1.591, allocations: 8.078 kB / 1.001 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/1.591, allocations: 19.83 kB / 1.001 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/1.591, allocations: 24.03 kB / 1.001 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/1.591, allocations: 8 kB / 1.001 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0001969/1.591, allocations: 164.5 kB / 1.001 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007624/1.592, allocations: 92 kB / 1.002 GB, free: 111.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (19): * Single equations (assignments): 18 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003471/1.592, allocations: 173.9 kB / 1.002 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009842/1.593, allocations: 370.1 kB / 1.002 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.593, allocations: 0 / 1.002 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/1.594, allocations: 241.6 kB / 1.002 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007865/1.595, allocations: 120.5 kB / 1.002 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/1.596, allocations: 447.8 kB / 1.003 GB, free: 110.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/1.597, allocations: 0.7961 MB / 1.004 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.583e-06/1.597, allocations: 0 / 1.004 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.01268/1.609, allocations: 6.359 MB / 1.01 GB, free: 102.9 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)