Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7623/0.7623, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 177.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 399.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 89.16 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.471e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2109, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.602/0.813, allocations: 102.1 MB / 0.7206 GB, free: 10.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.8133, allocations: 83.94 kB / 0.7207 GB, free: 10.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.005526/0.8189, allocations: 1.6 MB / 0.7223 GB, free: 8.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.8189, allocations: 0 / 0.7223 GB, free: 8.668 MB / 490.7 MB 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.0003588/0.8193, allocations: 334.4 kB / 0.7226 GB, free: 8.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.8194, allocations: 12.03 kB / 0.7226 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.8195, allocations: 11.98 kB / 0.7226 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.8197, allocations: 163 kB / 0.7228 GB, free: 8.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.8197, allocations: 3.906 kB / 0.7228 GB, free: 8.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.8197, allocations: 4 kB / 0.7228 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.384e-05/0.8198, allocations: 12 kB / 0.7228 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.235e-05/0.8199, allocations: 41.69 kB / 0.7228 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.8199, allocations: 0 / 0.7228 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.8199, allocations: 0 / 0.7228 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.82, allocations: 4 kB / 0.7228 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.8201, allocations: 142.1 kB / 0.723 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.8202, allocations: 41.02 kB / 0.723 GB, free: 7.781 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.8203, allocations: 21.86 kB / 0.723 GB, free: 7.758 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.8203, allocations: 0 / 0.723 GB, free: 7.758 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.8203, allocations: 30.56 kB / 0.723 GB, free: 7.719 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 3.476e-06/0.8203, allocations: 3.984 kB / 0.723 GB, free: 7.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.002123/0.8225, allocations: 486 kB / 0.7235 GB, free: 7.188 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.8225, allocations: 51.41 kB / 0.7236 GB, free: 7.125 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.448e-05/0.8226, allocations: 85 kB / 0.7236 GB, free: 7.035 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.8226, allocations: 25.7 kB / 0.7237 GB, free: 7.004 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.8226, allocations: 80.14 kB / 0.7237 GB, free: 6.922 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.8227, allocations: 27.56 kB / 0.7238 GB, free: 6.895 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.8227, allocations: 0 / 0.7238 GB, free: 6.895 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8228, allocations: 318.8 kB / 0.7241 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.789e-05/0.8228, allocations: 20 kB / 0.7241 GB, free: 6.555 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.8229, allocations: 20.94 kB / 0.7241 GB, free: 6.535 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.032e-05/0.8229, allocations: 24 kB / 0.7241 GB, free: 6.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.8229, allocations: 0 / 0.7241 GB, free: 6.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000137/0.8231, allocations: 96.7 kB / 0.7242 GB, free: 6.414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.8231, allocations: 8 kB / 0.7242 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8231, allocations: 0 / 0.7242 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.8231, allocations: 0 / 0.7242 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.8233, allocations: 12 kB / 0.7242 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.8233, allocations: 0 / 0.7242 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.8234, allocations: 4 kB / 0.7243 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.8234, allocations: 4 kB / 0.7243 GB, free: 6.387 MB / 490.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 (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 7.93e-05/0.8235, allocations: 108.8 kB / 0.7244 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.8235, allocations: 3.984 kB / 0.7244 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.8236, allocations: 15.91 kB / 0.7244 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8236, allocations: 0 / 0.7244 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.8236, allocations: 0 / 0.7244 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8236, allocations: 0 / 0.7244 GB, free: 6.258 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.8237, allocations: 148 kB / 0.7245 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8237, allocations: 3.984 kB / 0.7245 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.8239, allocations: 19.94 kB / 0.7245 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.8239, allocations: 0 / 0.7245 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.8239, allocations: 0 / 0.7245 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8239, allocations: 0 / 0.7245 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.8239, allocations: 4 kB / 0.7245 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002414/0.8242, allocations: 145.6 kB / 0.7247 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.8242, allocations: 77.11 kB / 0.7248 GB, free: 5.797 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.8243, allocations: 0 / 0.7248 GB, free: 5.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.8244, allocations: 11.97 kB / 0.7248 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.8244, allocations: 3.984 kB / 0.7248 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.8244, allocations: 4.25 kB / 0.7248 GB, free: 5.777 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.616e-05/0.8244, allocations: 75.28 kB / 0.7248 GB, free: 5.703 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.8246, allocations: 12 kB / 0.7249 GB, free: 5.691 MB / 490.7 MB 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.0001705/0.8248, allocations: 103.2 kB / 0.725 GB, free: 5.578 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.825, allocations: 55.92 kB / 0.725 GB, free: 5.523 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.825, allocations: 4 kB / 0.725 GB, free: 5.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.825, allocations: 31.98 kB / 0.725 GB, free: 5.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.8252, allocations: 4.281 kB / 0.7251 GB, free: 5.484 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.8258, allocations: 132.1 kB / 0.7252 GB, free: 5.332 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.8261, allocations: 0.7035 MB / 0.7259 GB, free: 4.602 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8261, allocations: 0 / 0.7259 GB, free: 4.602 MB / 490.7 MB Notification: Performance of Templates: time 0.00339/0.8295, allocations: 0.9474 MB / 0.7268 GB, free: 3.695 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)