Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [: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.001053/0.001053, allocations: 189.5 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4679/0.4679, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.158/1.158, allocations: 221.4 MB / 342.7 MB, free: 5.227 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.0008906/0.0008907, allocations: 92.72 kB / 415.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.4e-06/5.42e-06, allocations: 0 / 493.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3428, allocations: 72.29 MB / 0.5529 GB, free: 44.83 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5131/0.856, allocations: 307.5 MB / 0.8532 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.8563, allocations: 79.45 kB / 0.8533 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of FrontEnd: time 0.03938/0.8957, allocations: 16.38 MB / 0.8693 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.8957, allocations: 4 kB / 0.8693 GB, free: 1.949 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007525/0.8965, allocations: 484.7 kB / 0.8697 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.8965, allocations: 12.03 kB / 0.8697 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.8985, allocations: 194.1 kB / 0.8699 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.8988, allocations: 213.6 kB / 0.8701 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.8988, allocations: 8 kB / 0.8701 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.8988, allocations: 8 kB / 0.8701 GB, free: 1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003838/0.8992, allocations: 195.8 kB / 0.8703 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.8995, allocations: 243 kB / 0.8706 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.8996, allocations: 0 / 0.8706 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.8996, allocations: 4 kB / 0.8706 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.8996, allocations: 7.984 kB / 0.8706 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.9012, allocations: 1.351 MB / 0.8719 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.9015, allocations: 138.8 kB / 0.872 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.9017, allocations: 62.66 kB / 0.8721 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.9017, allocations: 3.984 kB / 0.8721 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.9017, allocations: 38.12 kB / 0.8721 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.9017, allocations: 0 / 0.8721 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0003243/0.9021, allocations: 147.8 kB / 0.8723 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.9021, allocations: 51.41 kB / 0.8723 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.9022, allocations: 130.8 kB / 0.8724 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.9022, allocations: 29.7 kB / 0.8725 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.9023, allocations: 127 kB / 0.8726 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.9024, allocations: 58.05 kB / 0.8726 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.9024, allocations: 0 / 0.8726 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9025, allocations: 326.2 kB / 0.873 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.9026, allocations: 43.45 kB / 0.873 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.9027, allocations: 121.5 kB / 0.8731 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.9028, allocations: 58.78 kB / 0.8732 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9028, allocations: 0 / 0.8732 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003119/0.9031, allocations: 191.5 kB / 0.8733 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.9032, allocations: 4 kB / 0.8734 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.9032, allocations: 7.984 kB / 0.8734 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.9032, allocations: 11.94 kB / 0.8734 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.9036, allocations: 75.89 kB / 0.8734 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.9036, allocations: 4 kB / 0.8734 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.9039, allocations: 27.67 kB / 0.8735 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.9039, allocations: 12 kB / 0.8735 GB, free: 13.68 MB / 0.5573 GB 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 (28): * Single equations (assignments): 28 * 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 9.661e-05/0.904, allocations: 111 kB / 0.8736 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.9041, allocations: 19.8 kB / 0.8736 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.9045, allocations: 185.3 kB / 0.8738 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9045, allocations: 0 / 0.8738 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9046, allocations: 0 / 0.8738 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.9046, allocations: 4 kB / 0.8738 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.9048, allocations: 215.4 kB / 0.874 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.9048, allocations: 0.5625 kB / 0.874 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.9052, allocations: 51.97 kB / 0.874 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9052, allocations: 3.984 kB / 0.874 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.9052, allocations: 0 / 0.874 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.9052, allocations: 4 kB / 0.8741 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9052, allocations: 0 / 0.8741 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003008/0.9055, allocations: 251.6 kB / 0.8743 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.9057, allocations: 105.8 kB / 0.8744 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.9057, allocations: 4 kB / 0.8744 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.906, allocations: 23.91 kB / 0.8744 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.906, allocations: 7.984 kB / 0.8744 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.9061, allocations: 11.19 kB / 0.8744 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.384e-05/0.9061, allocations: 100.5 kB / 0.8745 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003628/0.9065, allocations: 60.03 kB / 0.8746 GB, free: 12.57 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 (20): * Single equations (assignments): 20 * 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.000197/0.9067, allocations: 127.2 kB / 0.8747 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.907, allocations: 146 kB / 0.8749 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.907, allocations: 8.906 kB / 0.8749 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.9071, allocations: 72.98 kB / 0.8749 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.9074, allocations: 37.55 kB / 0.875 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.9082, allocations: 213.5 kB / 0.8752 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.9086, allocations: 0.7547 MB / 0.8759 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of SimCode: time 2.51e-07/0.9086, allocations: 0 / 0.8759 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of Templates: time 0.006432/0.9151, allocations: 3.367 MB / 0.8792 GB, free: 7.941 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)