Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7176/0.7176, allocations: 141.8 MB / 149.1 MB, free: 4.027 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 175.3 kB / 181.9 MB, free: 15.73 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.3 MB / 436 MB, free: 8.844 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009433, allocations: 104.7 kB / 0.507 GB, free: 24.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001855/0.001855, allocations: 278 kB / 0.5884 GB, free: 11.88 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.105e-05/1.108e-05, allocations: 4 kB / 0.6759 GB, free: 2.238 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3974, allocations: 82.76 MB / 0.7567 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.5227, allocations: 108.1 MB / 0.8623 GB, free: 4.191 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.523, allocations: 83.77 kB / 0.8624 GB, free: 4.113 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.004349/0.5273, allocations: 1.538 MB / 0.8639 GB, free: 2.59 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.5274, allocations: 0 / 0.8639 GB, free: 2.59 MB / 0.5263 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.0002522/0.5276, allocations: 330.4 kB / 0.8642 GB, free: 2.227 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5277, allocations: 11.97 kB / 0.8642 GB, free: 2.215 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.5278, allocations: 11.98 kB / 0.8642 GB, free: 2.203 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.258e-05/0.5279, allocations: 171.8 kB / 0.8644 GB, free: 1.996 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5279, allocations: 7.984 kB / 0.8644 GB, free: 1.988 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.528, allocations: 0 / 0.8644 GB, free: 1.988 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.436e-05/0.5281, allocations: 12.78 kB / 0.8644 GB, free: 1.977 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.5281, allocations: 38.38 kB / 0.8645 GB, free: 1.934 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5282, allocations: 0 / 0.8645 GB, free: 1.934 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.5282, allocations: 4.938 kB / 0.8645 GB, free: 1.93 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.5282, allocations: 0 / 0.8645 GB, free: 1.93 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.5283, allocations: 134.7 kB / 0.8646 GB, free: 1.762 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.5284, allocations: 44.09 kB / 0.8646 GB, free: 1.711 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.5284, allocations: 16.98 kB / 0.8647 GB, free: 1.691 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.5284, allocations: 8.531 kB / 0.8647 GB, free: 1.684 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.5285, allocations: 35.22 kB / 0.8647 GB, free: 1.641 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.5285, allocations: 2.719 kB / 0.8647 GB, free: 1.641 MB / 0.5263 GB Notification: Performance of matching and sorting (n=8): time 0.001962/0.5304, allocations: 462.8 kB / 0.8651 GB, free: 1.148 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.5305, allocations: 63.34 kB / 0.8652 GB, free: 1.074 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.116e-05/0.5305, allocations: 85 kB / 0.8653 GB, free: 0.9844 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.5305, allocations: 25.7 kB / 0.8653 GB, free: 0.9531 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.533e-05/0.5306, allocations: 80.7 kB / 0.8654 GB, free: 0.8711 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5306, allocations: 32.39 kB / 0.8654 GB, free: 0.8398 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.5306, allocations: 0 / 0.8654 GB, free: 0.8398 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.5307, allocations: 311.6 kB / 0.8657 GB, free: 0.5273 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.5307, allocations: 20.5 kB / 0.8657 GB, free: 0.5078 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.5307, allocations: 20 kB / 0.8657 GB, free: 500 kB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.5308, allocations: 23.52 kB / 0.8658 GB, free: 480 kB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5308, allocations: 4 kB / 0.8658 GB, free: 476 kB / 0.5263 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001189/0.5309, allocations: 86.19 kB / 0.8659 GB, free: 384 kB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5309, allocations: 4 kB / 0.8659 GB, free: 380 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.531, allocations: 0.5938 kB / 0.8659 GB, free: 380 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.531, allocations: 0 / 0.8659 GB, free: 380 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.5311, allocations: 20.67 kB / 0.8659 GB, free: 360 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5311, allocations: 0 / 0.8659 GB, free: 360 kB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.5312, allocations: 4.5 kB / 0.8659 GB, free: 356 kB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.5312, allocations: 0.5625 kB / 0.8659 GB, free: 356 kB / 0.5263 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 5.877e-05/0.5313, allocations: 109.9 kB / 0.866 GB, free: 240 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.5313, allocations: 4 kB / 0.866 GB, free: 236 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.5314, allocations: 12.69 kB / 0.866 GB, free: 220 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5314, allocations: 0 / 0.866 GB, free: 220 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5314, allocations: 0.9688 kB / 0.866 GB, free: 220 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5314, allocations: 0 / 0.866 GB, free: 220 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.5315, allocations: 165.3 kB / 0.8662 GB, free: 20 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5315, allocations: 0 / 0.8662 GB, free: 20 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.5317, allocations: 16.55 kB / 0.8662 GB, free: 4 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5317, allocations: 4.594 kB / 0.8662 GB, free: 0 / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5317, allocations: 0 / 0.8662 GB, free: 0 / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5317, allocations: 0.5312 kB / 0.8662 GB, free: 0 / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5317, allocations: 0 / 0.8662 GB, free: 0 / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002558/0.532, allocations: 139.6 kB / 0.8663 GB, free: 15.84 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.532, allocations: 77.11 kB / 0.8664 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.532, allocations: 12.61 kB / 0.8664 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.5322, allocations: 0.8438 kB / 0.8664 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.5322, allocations: 7.984 kB / 0.8664 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.5322, allocations: 1.062 kB / 0.8664 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.819e-05/0.5323, allocations: 79.88 kB / 0.8665 GB, free: 15.65 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001956/0.5325, allocations: 8 kB / 0.8665 GB, free: 15.64 MB / 0.5419 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.0001845/0.5326, allocations: 117.4 kB / 0.8666 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.5328, allocations: 52.83 kB / 0.8667 GB, free: 15.47 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5328, allocations: 0 / 0.8667 GB, free: 15.47 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.5329, allocations: 36.42 kB / 0.8667 GB, free: 15.44 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.5331, allocations: 4.062 kB / 0.8667 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.5336, allocations: 125.4 kB / 0.8668 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.534, allocations: 0.7024 MB / 0.8675 GB, free: 14.56 MB / 0.5419 GB Notification: Performance of SimCode: time 2.1e-07/0.534, allocations: 0 / 0.8675 GB, free: 14.56 MB / 0.5419 GB Notification: Performance of Templates: time 0.003097/0.5372, allocations: 0.9467 MB / 0.8684 GB, free: 13.66 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)