Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 185.8 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4382/0.4382, allocations: 90.85 MB / 99.07 MB, free: 14.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 221.4 MB / 342.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009902, allocations: 98.67 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 0 / 493.8 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3634, allocations: 72.3 MB / 0.5529 GB, free: 73.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5574/0.9209, allocations: 340.6 MB / 0.8855 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.9212, allocations: 71.31 kB / 0.8856 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of FrontEnd: time 0.02718/0.9484, allocations: 12.95 MB / 0.8982 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9485, allocations: 0 / 0.8982 GB, free: 9.582 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003031/0.9488, allocations: 333.8 kB / 0.8985 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9488, allocations: 8.031 kB / 0.8985 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.9489, allocations: 3.906 kB / 0.8985 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.949, allocations: 163.1 kB / 0.8987 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/0.9491, allocations: 29.7 kB / 0.8987 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.9491, allocations: 0 / 0.8987 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.2e-05/0.9492, allocations: 11.44 kB / 0.8987 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.9492, allocations: 53.2 kB / 0.8988 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.9493, allocations: 1.875 kB / 0.8988 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.9493, allocations: 0 / 0.8988 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.9493, allocations: 3.938 kB / 0.8988 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.9497, allocations: 314.4 kB / 0.8991 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.249e-05/0.9498, allocations: 18.33 kB / 0.8991 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.9498, allocations: 12.92 kB / 0.8991 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.004e-05/0.9499, allocations: 85.09 kB / 0.8992 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.9499, allocations: 30.56 kB / 0.8992 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.9499, allocations: 0 / 0.8992 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001825/0.9501, allocations: 33.7 kB / 0.8993 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.9501, allocations: 55.34 kB / 0.8993 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.9502, allocations: 96.92 kB / 0.8994 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.9502, allocations: 29.73 kB / 0.8994 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.9503, allocations: 88.05 kB / 0.8995 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.9e-06/0.9503, allocations: 3.906 kB / 0.8995 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.9503, allocations: 0 / 0.8995 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.9504, allocations: 318.5 kB / 0.8998 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.9504, allocations: 4 kB / 0.8998 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.9504, allocations: 13.7 kB / 0.8998 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.9505, allocations: 12 kB / 0.8999 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9505, allocations: 0.5625 kB / 0.8999 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.9506, allocations: 49.12 kB / 0.8999 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.9507, allocations: 8 kB / 0.8999 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9507, allocations: 0 / 0.8999 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.9507, allocations: 7.891 kB / 0.8999 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/0.9507, allocations: 7.562 kB / 0.8999 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.9507, allocations: 0.9375 kB / 0.8999 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.9508, allocations: 4 kB / 0.8999 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.9508, allocations: 4.062 kB / 0.8999 GB, free: 7.602 MB / 0.5573 GB 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 (3): * Single equations (assignments): 3 * 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 6.034e-05/0.9509, allocations: 101 kB / 0.9 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.9509, allocations: 7.906 kB / 0.9 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.951, allocations: 126.8 kB / 0.9002 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-05/0.9511, allocations: 176.3 kB / 0.9003 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.293e-05/0.9511, allocations: 180.3 kB / 0.9005 GB, free: 7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.953e-05/0.9512, allocations: 180.2 kB / 0.9007 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.9514, allocations: 385.3 kB / 0.901 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-05/0.9514, allocations: 101 kB / 0.9011 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.9514, allocations: 112.9 kB / 0.9012 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.583e-05/0.9515, allocations: 180.2 kB / 0.9014 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.9516, allocations: 180.3 kB / 0.9016 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.367e-05/0.9516, allocations: 180.2 kB / 0.9018 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.572e-05/0.9517, allocations: 180.3 kB / 0.9019 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00011/0.9518, allocations: 307.6 kB / 0.9022 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.9519, allocations: 191.4 kB / 0.9024 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.952, allocations: 176.3 kB / 0.9026 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.9521, allocations: 112.9 kB / 0.9027 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.9522, allocations: 180.2 kB / 0.9029 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.9522, allocations: 105 kB / 0.903 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.927e-05/0.9523, allocations: 80.5 kB / 0.903 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002519/0.9525, allocations: 23.92 kB / 0.9031 GB, free: 4.223 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002092/0.9527, allocations: 219.2 kB / 0.9033 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.22e-05/0.9528, allocations: 11.94 kB / 0.9033 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9528, allocations: 3.938 kB / 0.9033 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.9528, allocations: 0 / 0.9033 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.9531, allocations: 0.5308 MB / 0.9038 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.9533, allocations: 127.7 kB / 0.9039 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.9536, allocations: 0.6918 MB / 0.9046 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.9536, allocations: 0 / 0.9046 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of Templates: time 0.0027/0.9563, allocations: 0.7281 MB / 0.9053 GB, free: 1.922 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)