Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.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.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation") [: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.8557/0.8557, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001115/0.001115, allocations: 185.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 2.011/2.011, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.001014/0.001014, allocations: 83.06 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.736e-06, allocations: 0 / 0.5459 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.531/5.739, allocations: 2.132 GB / 2.753 GB, free: 52.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/5.74, allocations: 71.95 kB / 2.753 GB, free: 52.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.9023/6.642, allocations: 242.5 MB / 2.99 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.217e-05/6.642, allocations: 8 kB / 2.99 GB, free: 51.45 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001944/6.644, allocations: 0.6779 MB / 2.99 GB, free: 50.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/6.644, allocations: 12.03 kB / 2.99 GB, free: 50.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005646/6.645, allocations: 55.42 kB / 2.99 GB, free: 50.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/6.645, allocations: 330.1 kB / 2.991 GB, free: 50.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/6.646, allocations: 12 kB / 2.991 GB, free: 50.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/6.646, allocations: 24 kB / 2.991 GB, free: 50.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007593/6.646, allocations: 317.4 kB / 2.991 GB, free: 49.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/6.647, allocations: 334 kB / 2.991 GB, free: 49.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/6.647, allocations: 4 kB / 2.991 GB, free: 49.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/6.647, allocations: 0 / 2.991 GB, free: 49.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/6.647, allocations: 12 kB / 2.991 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/6.65, allocations: 1.474 MB / 2.993 GB, free: 47.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/6.65, allocations: 208.1 kB / 2.993 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/6.65, allocations: 152.4 kB / 2.993 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/6.651, allocations: 8.281 kB / 2.993 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/6.651, allocations: 38.84 kB / 2.993 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/6.651, allocations: 0 / 2.993 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.002171/6.653, allocations: 1.045 MB / 2.994 GB, free: 46.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/6.653, allocations: 55.41 kB / 2.994 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/6.653, allocations: 212.1 kB / 2.995 GB, free: 46.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/6.653, allocations: 33.7 kB / 2.995 GB, free: 46.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/6.653, allocations: 184.1 kB / 2.995 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/6.653, allocations: 126.1 kB / 2.995 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/6.653, allocations: 3.938 kB / 2.995 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/6.653, allocations: 334.8 kB / 2.995 GB, free: 45.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/6.653, allocations: 132.8 kB / 2.995 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/6.654, allocations: 184.1 kB / 2.995 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/6.654, allocations: 161.7 kB / 2.996 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/6.654, allocations: 0 / 2.996 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006012/6.654, allocations: 435.7 kB / 2.996 GB, free: 44.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/6.655, allocations: 10.09 kB / 2.996 GB, free: 44.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/6.655, allocations: 8.062 kB / 2.996 GB, free: 44.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/6.655, allocations: 41.7 kB / 2.996 GB, free: 44.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/6.655, allocations: 91.89 kB / 2.996 GB, free: 44.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/6.657, allocations: 2.504 MB / 2.999 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/6.657, allocations: 23.83 kB / 2.999 GB, free: 41.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/6.657, allocations: 12 kB / 2.999 GB, free: 41.66 MB / 0.6355 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001844/6.657, allocations: 121 kB / 2.999 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/6.657, allocations: 35.62 kB / 2.999 GB, free: 41.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.518e-05/6.657, allocations: 38.97 kB / 2.999 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/6.657, allocations: 4 kB / 2.999 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/6.657, allocations: 3.938 kB / 2.999 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004703/6.658, allocations: 0.5572 MB / 2.999 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/6.659, allocations: 0.9606 MB / 3 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/6.659, allocations: 0 / 3 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/6.66, allocations: 91.89 kB / 3 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/6.66, allocations: 4 kB / 3 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/6.66, allocations: 7.984 kB / 3 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/6.66, allocations: 0 / 3 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/6.66, allocations: 7.906 kB / 3 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007034/6.661, allocations: 0.7254 MB / 3.001 GB, free: 38.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/6.661, allocations: 156.8 kB / 3.001 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/6.661, allocations: 3.906 kB / 3.001 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/6.661, allocations: 27.97 kB / 3.001 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/6.661, allocations: 19.97 kB / 3.001 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/6.661, allocations: 23.98 kB / 3.001 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001251/6.661, allocations: 172.4 kB / 3.002 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007734/6.662, allocations: 187.8 kB / 3.002 GB, free: 38.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001345/6.664, allocations: 1.182 MB / 3.003 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006773/6.664, allocations: 0.5189 MB / 3.003 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/6.664, allocations: 4 kB / 3.003 GB, free: 36.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/6.664, allocations: 164.1 kB / 3.004 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/6.665, allocations: 165.2 kB / 3.004 GB, free: 36.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/6.667, allocations: 0.7627 MB / 3.004 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/6.667, allocations: 0.8738 MB / 3.005 GB, free: 34.53 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/6.667, allocations: 0 / 3.005 GB, free: 34.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.01998/6.687, allocations: 13.99 MB / 3.019 GB, free: 20.55 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe 2>&1)