Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [: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.477/0.477, allocations: 94.74 MB / 102 MB, free: 10.37 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.001199/0.001199, allocations: 166.9 kB / 125.3 MB, free: 12 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.189/1.189, allocations: 170.5 MB / 319 MB, free: 9.34 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.001622/0.001622, allocations: 110.1 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.504e-06, allocations: 224 / 448.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 61.52 MB / 0.4981 GB, free: 4.484 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.321/0.4508, allocations: 93.06 MB / 0.589 GB, free: 9.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4511, allocations: 83.42 kB / 0.5891 GB, free: 9.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003621/0.4547, allocations: 1.004 MB / 0.5901 GB, free: 8.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4547, allocations: 0 / 0.5901 GB, free: 8.219 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003277/0.4551, allocations: 318.5 kB / 0.5904 GB, free: 7.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4551, allocations: 14.92 kB / 0.5904 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.4553, allocations: 15.98 kB / 0.5904 GB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.4555, allocations: 164.6 kB / 0.5906 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4555, allocations: 0 / 0.5906 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.4555, allocations: 0 / 0.5906 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.276e-05/0.4556, allocations: 4 kB / 0.5906 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.083e-05/0.4557, allocations: 41.31 kB / 0.5906 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4557, allocations: 1.906 kB / 0.5906 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4557, allocations: 0 / 0.5906 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4557, allocations: 3.094 kB / 0.5906 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.4559, allocations: 135.2 kB / 0.5907 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.456, allocations: 22.17 kB / 0.5908 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.456, allocations: 8.766 kB / 0.5908 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.456, allocations: 0 / 0.5908 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.456, allocations: 40.19 kB / 0.5908 GB, free: 7.332 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.456, allocations: 0 / 0.5908 GB, free: 7.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0008931/0.4569, allocations: 286 kB / 0.5911 GB, free: 7.004 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.457, allocations: 51.41 kB / 0.5911 GB, free: 6.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.457, allocations: 88.03 kB / 0.5912 GB, free: 6.852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.4571, allocations: 25.7 kB / 0.5912 GB, free: 6.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.4571, allocations: 82.77 kB / 0.5913 GB, free: 6.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.4572, allocations: 19.8 kB / 0.5913 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.4572, allocations: 0.8438 kB / 0.5913 GB, free: 6.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4573, allocations: 310.8 kB / 0.5916 GB, free: 6.406 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.4573, allocations: 7.906 kB / 0.5917 GB, free: 6.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.792e-05/0.4574, allocations: 21.72 kB / 0.5917 GB, free: 6.375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.4574, allocations: 7.938 kB / 0.5917 GB, free: 6.367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.4574, allocations: 0 / 0.5917 GB, free: 6.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001252/0.4576, allocations: 58.62 kB / 0.5917 GB, free: 6.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4576, allocations: 4 kB / 0.5917 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4576, allocations: 2.125 kB / 0.5917 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4576, allocations: 0 / 0.5917 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4578, allocations: 8 kB / 0.5917 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4578, allocations: 0 / 0.5917 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.4579, allocations: 6.453 kB / 0.5918 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4579, allocations: 7.938 kB / 0.5918 GB, free: 6.281 MB / 410.7 MB 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 (4): * Single equations (assignments): 4 * 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.754e-05/0.458, allocations: 102.5 kB / 0.5919 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.458, allocations: 3.906 kB / 0.5919 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.458, allocations: 12.12 kB / 0.5919 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4581, allocations: 7.188 kB / 0.5919 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4581, allocations: 320 / 0.5919 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4581, allocations: 4 kB / 0.5919 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.4582, allocations: 134.2 kB / 0.592 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4582, allocations: 2.062 kB / 0.592 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.4583, allocations: 11.94 kB / 0.592 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4584, allocations: 0 / 0.592 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4584, allocations: 4 kB / 0.592 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4584, allocations: 3.906 kB / 0.592 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4584, allocations: 0 / 0.592 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001929/0.4586, allocations: 86.67 kB / 0.5921 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.4586, allocations: 84.95 kB / 0.5922 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.4587, allocations: 0 / 0.5922 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4588, allocations: 4.031 kB / 0.5922 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.4588, allocations: 4 kB / 0.5922 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4588, allocations: 0 / 0.5922 GB, free: 5.754 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.134e-05/0.4589, allocations: 75.28 kB / 0.5923 GB, free: 5.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.459, allocations: 11.94 kB / 0.5923 GB, free: 5.668 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0001235/0.4592, allocations: 107.2 kB / 0.5924 GB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.4593, allocations: 23.98 kB / 0.5924 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4593, allocations: 0 / 0.5924 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.4593, allocations: 11.94 kB / 0.5924 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.4595, allocations: 1.094 kB / 0.5924 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.4598, allocations: 83.09 kB / 0.5925 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.4602, allocations: 0.6993 MB / 0.5932 GB, free: 4.695 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4602, allocations: 0 / 0.5932 GB, free: 4.695 MB / 410.7 MB Notification: Performance of Templates: time 0.002972/0.4632, allocations: 0.7706 MB / 0.5939 GB, free: 3.973 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)