Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [: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.001052/0.001053, allocations: 186 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4403/0.4403, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.246/1.246, allocations: 221.4 MB / 342.8 MB, free: 5.25 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.0009652/0.0009654, allocations: 79.31 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.253e-06/7.364e-06, allocations: 4 kB / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 72.3 MB / 0.5529 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.7843, allocations: 312.6 MB / 0.8582 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.7846, allocations: 79.45 kB / 0.8583 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.01614/0.8007, allocations: 7.911 MB / 0.866 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.8008, allocations: 0 / 0.866 GB, free: 6.52 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002536/0.801, allocations: 350.1 kB / 0.8663 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8011, allocations: 16.03 kB / 0.8664 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.8013, allocations: 11.98 kB / 0.8664 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.506e-05/0.8014, allocations: 163 kB / 0.8665 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.8014, allocations: 1.5 kB / 0.8665 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.8014, allocations: 7.906 kB / 0.8665 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.91e-05/0.8015, allocations: 4 kB / 0.8665 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.8016, allocations: 63.02 kB / 0.8666 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.8016, allocations: 3 kB / 0.8666 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8016, allocations: 4 kB / 0.8666 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8016, allocations: 4 kB / 0.8666 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.802, allocations: 439.1 kB / 0.867 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.8021, allocations: 62.56 kB / 0.8671 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.8022, allocations: 18.7 kB / 0.8671 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.8022, allocations: 7.781 kB / 0.8671 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.8022, allocations: 34.55 kB / 0.8672 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.8022, allocations: 0 / 0.8672 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005109/0.8027, allocations: 281.5 kB / 0.8674 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.8028, allocations: 110.3 kB / 0.8675 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.337e-05/0.8028, allocations: 96.89 kB / 0.8676 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.8028, allocations: 25.7 kB / 0.8676 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.8029, allocations: 83.7 kB / 0.8677 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.8029, allocations: 31.17 kB / 0.8678 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.8029, allocations: 64 / 0.8678 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.8029, allocations: 318.8 kB / 0.8681 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.803, allocations: 7.562 kB / 0.8681 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.803, allocations: 48.41 kB / 0.8681 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.803, allocations: 20.17 kB / 0.8681 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.803, allocations: 0 / 0.8681 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.906e-05/0.8031, allocations: 88.75 kB / 0.8682 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.8032, allocations: 8 kB / 0.8682 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8032, allocations: 3.938 kB / 0.8682 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8032, allocations: 4 kB / 0.8682 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.8033, allocations: 19.98 kB / 0.8682 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.8033, allocations: 3.938 kB / 0.8683 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.8033, allocations: 8.125 kB / 0.8683 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.8033, allocations: 6.344 kB / 0.8683 GB, free: 3.969 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.492e-05/0.8034, allocations: 104.9 kB / 0.8684 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.8035, allocations: 4 kB / 0.8684 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.8035, allocations: 7.688 kB / 0.8684 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.8035, allocations: 11.97 kB / 0.8684 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8035, allocations: 0 / 0.8684 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8035, allocations: 0 / 0.8684 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.8038, allocations: 149.5 kB / 0.8685 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8038, allocations: 0 / 0.8685 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.8039, allocations: 27.92 kB / 0.8686 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8039, allocations: 0 / 0.8686 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.8039, allocations: 0 / 0.8686 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.8039, allocations: 5.938 kB / 0.8686 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8039, allocations: 0 / 0.8686 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001521/0.8041, allocations: 351.7 kB / 0.8689 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.8041, allocations: 81.11 kB / 0.869 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.8041, allocations: 0 / 0.869 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.8043, allocations: 7.906 kB / 0.869 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.8043, allocations: 3.984 kB / 0.869 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.8044, allocations: 11.5 kB / 0.869 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.786e-05/0.8044, allocations: 79.28 kB / 0.8691 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002985/0.8047, allocations: 8 kB / 0.8691 GB, free: 3.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001104/0.8048, allocations: 119.2 kB / 0.8692 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.886e-05/0.8049, allocations: 34.94 kB / 0.8692 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8049, allocations: 0 / 0.8692 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.8049, allocations: 19.25 kB / 0.8692 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.8051, allocations: 4 kB / 0.8693 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.8056, allocations: 266.5 kB / 0.8695 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.8057, allocations: 0.7035 MB / 0.8702 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.8057, allocations: 5.812 kB / 0.8702 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of Templates: time 0.002306/0.808, allocations: 0.6599 MB / 0.8708 GB, free: 1.277 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)