Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.478/1.478, allocations: 285.5 MB / 292.8 MB, free: 9.727 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 193 kB / 361.1 MB, free: 336 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 0.6195 GB, free: 2.938 MB / 442.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: 77.23 kB / 0.7326 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.855e-06, allocations: 1.312 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2446, allocations: 115.3 MB / 0.9637 GB, free: 56.37 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/1.096, allocations: 350.5 MB / 1.306 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.097, allocations: 78.33 kB / 1.306 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0185/1.115, allocations: 7.744 MB / 1.314 GB, free: 13.55 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.115, allocations: 4 kB / 1.314 GB, free: 13.55 MB / 0.823 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.0004799/1.116, allocations: 346 kB / 1.314 GB, free: 13.17 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/1.116, allocations: 8.031 kB / 1.314 GB, free: 13.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/1.116, allocations: 23.89 kB / 1.314 GB, free: 13.14 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/1.116, allocations: 159.1 kB / 1.314 GB, free: 12.94 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/1.116, allocations: 0 / 1.314 GB, free: 12.94 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/1.117, allocations: 4 kB / 1.314 GB, free: 12.94 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.809e-05/1.117, allocations: 7.562 kB / 1.314 GB, free: 12.93 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/1.117, allocations: 75.47 kB / 1.314 GB, free: 12.85 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.117, allocations: 0 / 1.314 GB, free: 12.85 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/1.117, allocations: 3.984 kB / 1.314 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.977e-05/1.117, allocations: 8 kB / 1.314 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/1.118, allocations: 433.7 kB / 1.315 GB, free: 12.37 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/1.118, allocations: 62.39 kB / 1.315 GB, free: 12.29 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/1.118, allocations: 23.58 kB / 1.315 GB, free: 12.26 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/1.118, allocations: 4 kB / 1.315 GB, free: 12.25 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.118, allocations: 34.12 kB / 1.315 GB, free: 12.21 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/1.118, allocations: 0 / 1.315 GB, free: 12.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0007378/1.119, allocations: 284.1 kB / 1.315 GB, free: 11.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/1.119, allocations: 106.8 kB / 1.315 GB, free: 11.77 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/1.119, allocations: 92.06 kB / 1.315 GB, free: 11.67 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/1.119, allocations: 25.7 kB / 1.315 GB, free: 11.64 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/1.119, allocations: 84.05 kB / 1.315 GB, free: 11.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/1.119, allocations: 31.17 kB / 1.315 GB, free: 11.53 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/1.119, allocations: 0 / 1.315 GB, free: 11.53 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.119, allocations: 318.5 kB / 1.316 GB, free: 11.21 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/1.119, allocations: 15.25 kB / 1.316 GB, free: 11.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/1.119, allocations: 52.08 kB / 1.316 GB, free: 11.14 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/1.119, allocations: 14.81 kB / 1.316 GB, free: 11.12 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/1.119, allocations: 4 kB / 1.316 GB, free: 11.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000144/1.119, allocations: 75.98 kB / 1.316 GB, free: 11.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.119, allocations: 10.88 kB / 1.316 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.12, allocations: 8.062 kB / 1.316 GB, free: 11.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.12, allocations: 0 / 1.316 GB, free: 11.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/1.12, allocations: 27.92 kB / 1.316 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/1.12, allocations: 0 / 1.316 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/1.12, allocations: 4 kB / 1.316 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.12, allocations: 7.5 kB / 1.316 GB, free: 11 MB / 0.823 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 9.519e-05/1.12, allocations: 106.6 kB / 1.316 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/1.12, allocations: 7.906 kB / 1.316 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/1.12, allocations: 7.375 kB / 1.316 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.12, allocations: 8.391 kB / 1.316 GB, free: 10.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.12, allocations: 4 kB / 1.316 GB, free: 10.86 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.12, allocations: 0 / 1.316 GB, free: 10.86 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/1.12, allocations: 149.3 kB / 1.316 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.12, allocations: 0 / 1.316 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/1.12, allocations: 15.98 kB / 1.316 GB, free: 10.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/1.12, allocations: 11.98 kB / 1.316 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/1.121, allocations: 0 / 1.316 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.121, allocations: 0 / 1.316 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/1.121, allocations: 7.938 kB / 1.316 GB, free: 10.65 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003455/1.121, allocations: 352 kB / 1.316 GB, free: 10.29 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/1.121, allocations: 85.02 kB / 1.317 GB, free: 10.19 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/1.121, allocations: 0 / 1.317 GB, free: 10.19 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/1.121, allocations: 7.984 kB / 1.317 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/1.121, allocations: 0 / 1.317 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/1.121, allocations: 4 kB / 1.317 GB, free: 10.18 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.564e-05/1.121, allocations: 82.91 kB / 1.317 GB, free: 10.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003829/1.122, allocations: 12 kB / 1.317 GB, free: 10.09 MB / 0.823 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.0002797/1.122, allocations: 115 kB / 1.317 GB, free: 9.961 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001709/1.122, allocations: 33.94 kB / 1.317 GB, free: 9.934 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.122, allocations: 0 / 1.317 GB, free: 9.934 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/1.122, allocations: 19.06 kB / 1.317 GB, free: 9.918 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.123, allocations: 12.5 kB / 1.317 GB, free: 9.906 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/1.124, allocations: 283.4 kB / 1.317 GB, free: 9.605 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/1.124, allocations: 0.6958 MB / 1.318 GB, free: 8.883 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/1.124, allocations: 0 / 1.318 GB, free: 8.883 MB / 0.823 GB Notification: Performance of Templates: time 0.003172/1.127, allocations: 0.6559 MB / 1.318 GB, free: 8.266 MB / 0.823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)