Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.492/1.492, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.001088/0.001088, allocations: 181.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.2 MB / 0.6256 GB, free: 5.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009335/0.0009336, allocations: 93.58 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.121e-05/1.136e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6918, allocations: 116.3 MB / 0.9726 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.8806, allocations: 138.4 MB / 1.108 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.8809, allocations: 84.59 kB / 1.108 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.005469/0.8864, allocations: 1.501 MB / 1.109 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.8865, allocations: 4 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003422/0.8868, allocations: 330.4 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.8869, allocations: 12.03 kB / 1.11 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.887, allocations: 11.89 kB / 1.11 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.8872, allocations: 159.6 kB / 1.11 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.8872, allocations: 4 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.8872, allocations: 0 / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.237e-05/0.8873, allocations: 12 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.8874, allocations: 53.62 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.8874, allocations: 3.938 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.8875, allocations: 1.125 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.8875, allocations: 0 / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.8876, allocations: 138.1 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.077e-05/0.8877, allocations: 38.64 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.8878, allocations: 16.98 kB / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.8878, allocations: 7.984 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.8879, allocations: 37.03 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.8879, allocations: 0 / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.002082/0.89, allocations: 474 kB / 1.111 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.89, allocations: 51.41 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.772e-05/0.8901, allocations: 89 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.8901, allocations: 27.58 kB / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.8901, allocations: 80.14 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.8902, allocations: 31.64 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.8902, allocations: 0 / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8903, allocations: 318.8 kB / 1.111 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.8904, allocations: 20 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.8904, allocations: 23.94 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.174e-05/0.8905, allocations: 19.98 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.8905, allocations: 0 / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001451/0.8906, allocations: 82.25 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8907, allocations: 4.75 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8907, allocations: 4 kB / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8907, allocations: 0 / 1.111 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.8909, allocations: 15.94 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8909, allocations: 3.984 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.891, allocations: 7.906 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.891, allocations: 0 / 1.111 GB, free: 6.254 MB / 0.7136 GB 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 (9): * Single equations (assignments): 9 * 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 8.617e-05/0.8911, allocations: 101 kB / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.8911, allocations: 4.562 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.8911, allocations: 15.91 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8912, allocations: 7.906 kB / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8912, allocations: 0 / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.8912, allocations: 3.984 kB / 1.111 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.8913, allocations: 157.2 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8913, allocations: 0.75 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.8915, allocations: 15.94 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8915, allocations: 0 / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.8915, allocations: 4 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8915, allocations: 0 / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8915, allocations: 0 / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002388/0.8918, allocations: 141 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.627e-05/0.8919, allocations: 81.02 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.8919, allocations: 256 / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.892, allocations: 11.98 kB / 1.112 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.892, allocations: 8 kB / 1.112 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.8921, allocations: 0 / 1.112 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.338e-05/0.8921, allocations: 75.28 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001962/0.8923, allocations: 12 kB / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001883/0.8925, allocations: 115.2 kB / 1.112 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.8926, allocations: 53.41 kB / 1.112 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8927, allocations: 0 / 1.112 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/0.8927, allocations: 35.94 kB / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.8929, allocations: 0 / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.8935, allocations: 124.2 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.8938, allocations: 0.7029 MB / 1.113 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of SimCode: time 6.42e-07/0.8939, allocations: 4 kB / 1.113 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of Templates: time 0.003197/0.8971, allocations: 0.9369 MB / 1.114 GB, free: 3.551 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)