Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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 1.6.0+build.1/package.mo): time 0.4767/0.4767, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001138/0.001138, allocations: 178.6 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.196/1.196, allocations: 170.5 MB / 319 MB, free: 9.441 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001678/0.001678, allocations: 107.3 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.298e-06, allocations: 4 kB / 448.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 61.52 MB / 0.4981 GB, free: 4.562 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.322/0.4432, allocations: 93.44 MB / 0.5894 GB, free: 9.008 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4435, allocations: 71.95 kB / 0.5894 GB, free: 8.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003101/0.4466, allocations: 0.6566 MB / 0.5901 GB, free: 8.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4467, allocations: 0.7812 kB / 0.5901 GB, free: 8.309 MB / 410.7 MB 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.0004209/0.4471, allocations: 336.5 kB / 0.5904 GB, free: 7.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4472, allocations: 12.03 kB / 0.5904 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.4473, allocations: 5.547 kB / 0.5904 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.4475, allocations: 173.7 kB / 0.5906 GB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4475, allocations: 3.938 kB / 0.5906 GB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.4475, allocations: 0 / 0.5906 GB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.299e-05/0.4476, allocations: 12 kB / 0.5906 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.775e-05/0.4477, allocations: 37.69 kB / 0.5906 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4477, allocations: 0.8906 kB / 0.5906 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4477, allocations: 0 / 0.5906 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4477, allocations: 0 / 0.5906 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.4481, allocations: 225.4 kB / 0.5909 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.4481, allocations: 35.66 kB / 0.5909 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.4482, allocations: 11.73 kB / 0.5909 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.4482, allocations: 4.062 kB / 0.5909 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4482, allocations: 32.38 kB / 0.5909 GB, free: 7.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.4482, allocations: 1.875 kB / 0.5909 GB, free: 7.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002177/0.4485, allocations: 41.61 kB / 0.591 GB, free: 7.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.4485, allocations: 52.41 kB / 0.591 GB, free: 7.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.4486, allocations: 93.61 kB / 0.5911 GB, free: 7.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4486, allocations: 25.7 kB / 0.5911 GB, free: 7.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.4487, allocations: 84.64 kB / 0.5912 GB, free: 6.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.4487, allocations: 12.5 kB / 0.5912 GB, free: 6.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.4487, allocations: 5.438 kB / 0.5912 GB, free: 6.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4489, allocations: 311.4 kB / 0.5915 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.4489, allocations: 12.03 kB / 0.5915 GB, free: 6.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.4489, allocations: 0 / 0.5915 GB, free: 6.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.162e-05/0.4489, allocations: 4 kB / 0.5915 GB, free: 6.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4489, allocations: 0 / 0.5915 GB, free: 6.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.591e-05/0.449, allocations: 45.59 kB / 0.5916 GB, free: 6.594 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4491, allocations: 8 kB / 0.5916 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4491, allocations: 0 / 0.5916 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4491, allocations: 0 / 0.5916 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4492, allocations: 19.92 kB / 0.5916 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4492, allocations: 0 / 0.5916 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.4493, allocations: 8 kB / 0.5916 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4493, allocations: 3.984 kB / 0.5916 GB, free: 6.559 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.807e-05/0.4494, allocations: 109 kB / 0.5917 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.4494, allocations: 3.906 kB / 0.5917 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.4496, allocations: 56.89 kB / 0.5918 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4496, allocations: 4 kB / 0.5918 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4496, allocations: 0 / 0.5918 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4496, allocations: 0 / 0.5918 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.4498, allocations: 142.1 kB / 0.5919 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4498, allocations: 3.094 kB / 0.5919 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/0.4499, allocations: 16 kB / 0.5919 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4499, allocations: 0 / 0.5919 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.4499, allocations: 4.953 kB / 0.592 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4499, allocations: 3.984 kB / 0.592 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4499, allocations: 0 / 0.592 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001191/0.45, allocations: 139.4 kB / 0.5921 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.4501, allocations: 89.09 kB / 0.5922 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4501, allocations: 4 kB / 0.5922 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.4502, allocations: 4 kB / 0.5922 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.4503, allocations: 7.984 kB / 0.5922 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4503, allocations: 0 / 0.5922 GB, free: 5.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.547e-05/0.4503, allocations: 79.28 kB / 0.5923 GB, free: 5.832 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.4505, allocations: 7.906 kB / 0.5923 GB, free: 5.824 MB / 410.7 MB 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 (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 Backend phase and start with SimCode phase: time 0.0001121/0.4507, allocations: 99.25 kB / 0.5924 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.434e-05/0.4508, allocations: 12 kB / 0.5924 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4508, allocations: 0 / 0.5924 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.4508, allocations: 15.98 kB / 0.5924 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.451, allocations: 3.938 kB / 0.5924 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.4512, allocations: 57.48 kB / 0.5925 GB, free: 5.609 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.4515, allocations: 0.688 MB / 0.5931 GB, free: 4.895 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4515, allocations: 4.062 kB / 0.5931 GB, free: 4.891 MB / 410.7 MB Notification: Performance of Templates: time 0.002354/0.4539, allocations: 456.5 kB / 0.5936 GB, free: 4.484 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)