Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [: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.471/1.471, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001208/0.001208, allocations: 185.3 kB / 366.3 MB, free: 2 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.457/1.457, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.000992/0.0009921, allocations: 92.75 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.243e-06/7.354e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5619, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.7256, allocations: 139.4 MB / 1.109 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.7259, allocations: 92.86 kB / 1.109 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008454/0.7344, allocations: 2.521 MB / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.7344, allocations: 4 kB / 1.111 GB, free: 6.516 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003431/0.7348, allocations: 350.4 kB / 1.112 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7348, allocations: 8.688 kB / 1.112 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.7352, allocations: 35.86 kB / 1.112 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.7354, allocations: 163 kB / 1.112 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.7354, allocations: 4 kB / 1.112 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.7354, allocations: 4 kB / 1.112 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.815e-05/0.7355, allocations: 15.98 kB / 1.112 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.394e-05/0.7356, allocations: 49.67 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.7356, allocations: 1.031 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.7357, allocations: 11.83 kB / 1.112 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7357, allocations: 0 / 1.112 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.7359, allocations: 142.2 kB / 1.112 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.7361, allocations: 45.73 kB / 1.112 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.7361, allocations: 24.88 kB / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.7361, allocations: 0 / 1.112 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.7362, allocations: 34.56 kB / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.7362, allocations: 0 / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001802/0.738, allocations: 418.1 kB / 1.113 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.738, allocations: 59.34 kB / 1.113 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.7381, allocations: 89.75 kB / 1.113 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.7381, allocations: 25.83 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.7382, allocations: 84.14 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.7382, allocations: 23.73 kB / 1.113 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.7382, allocations: 0 / 1.113 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.7384, allocations: 314.8 kB / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.7384, allocations: 31.98 kB / 1.113 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.7385, allocations: 23.98 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.426e-05/0.7385, allocations: 30.48 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.7386, allocations: 0 / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002046/0.7388, allocations: 105.6 kB / 1.113 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7388, allocations: 8 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7388, allocations: 0 / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7388, allocations: 0 / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.7391, allocations: 31.81 kB / 1.113 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.7391, allocations: 0 / 1.113 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.7393, allocations: 7.984 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.7393, allocations: 7.984 kB / 1.113 GB, free: 4.172 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 (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 prepare postOptimizeDAE: time 8.767e-05/0.7394, allocations: 105.5 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.7394, allocations: 3.906 kB / 1.113 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.7395, allocations: 17 kB / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7395, allocations: 0 / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7395, allocations: 0 / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7395, allocations: 0 / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.7397, allocations: 166.9 kB / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7397, allocations: 0 / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.74, allocations: 23.97 kB / 1.114 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.74, allocations: 4 kB / 1.114 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.74, allocations: 3.984 kB / 1.114 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.74, allocations: 3.906 kB / 1.114 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.74, allocations: 0 / 1.114 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003022/0.7403, allocations: 169.1 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.7404, allocations: 81.95 kB / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.7405, allocations: 0 / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.7407, allocations: 16.05 kB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.7407, allocations: 4.062 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.7407, allocations: 7.984 kB / 1.114 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.593e-05/0.7408, allocations: 75.28 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000259/0.741, allocations: 35.98 kB / 1.114 GB, free: 3.383 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 (6): * Single equations (assignments): 6 * 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.0002323/0.7413, allocations: 139.2 kB / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.7414, allocations: 70.41 kB / 1.114 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7415, allocations: 0 / 1.114 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.7415, allocations: 41 kB / 1.114 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.7417, allocations: 7.906 kB / 1.114 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.7423, allocations: 116.2 kB / 1.114 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.7426, allocations: 0.7114 MB / 1.115 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7426, allocations: 3.938 kB / 1.115 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.004432/0.7471, allocations: 2.098 MB / 1.117 GB, free: 172 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)