Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7347/0.7347, allocations: 141.8 MB / 149.1 MB, free: 3.141 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.001039/0.001039, allocations: 175.2 kB / 181.9 MB, free: 15 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.317/1.317, allocations: 221.3 MB / 436 MB, free: 8.09 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.001031/0.001031, allocations: 91.11 kB / 0.507 GB, free: 24.49 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001794, allocations: 286.2 kB / 0.5884 GB, free: 11.2 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.444e-06, allocations: 0 / 0.6759 GB, free: 1.559 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4154, allocations: 82.77 MB / 0.7567 GB, free: 111.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.529, allocations: 109.1 MB / 0.8633 GB, free: 2.496 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.5293, allocations: 88.41 kB / 0.8634 GB, free: 2.414 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.007877/0.5372, allocations: 2.562 MB / 0.8659 GB, free: 15.89 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.5372, allocations: 4 kB / 0.8659 GB, free: 15.88 MB / 0.5419 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.0003134/0.5375, allocations: 346.9 kB / 0.8662 GB, free: 15.5 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5376, allocations: 12.03 kB / 0.8662 GB, free: 15.49 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.5379, allocations: 27.95 kB / 0.8663 GB, free: 15.46 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.5381, allocations: 171 kB / 0.8664 GB, free: 15.25 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5381, allocations: 0 / 0.8664 GB, free: 15.25 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.5381, allocations: 8 kB / 0.8664 GB, free: 15.25 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.68e-05/0.5382, allocations: 12 kB / 0.8664 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.5383, allocations: 57.59 kB / 0.8665 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.5383, allocations: 5.531 kB / 0.8665 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5384, allocations: 4 kB / 0.8665 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5384, allocations: 0 / 0.8665 GB, free: 15.16 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.5386, allocations: 142.1 kB / 0.8666 GB, free: 14.99 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.5387, allocations: 37.73 kB / 0.8667 GB, free: 14.95 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.5388, allocations: 24.86 kB / 0.8667 GB, free: 14.92 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.5388, allocations: 4 kB / 0.8667 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5389, allocations: 30.56 kB / 0.8667 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5389, allocations: 0 / 0.8667 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6): time 0.001794/0.5407, allocations: 422.2 kB / 0.8671 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.5407, allocations: 51.41 kB / 0.8672 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.5408, allocations: 92.98 kB / 0.8673 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5408, allocations: 25.7 kB / 0.8673 GB, free: 14.22 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.5409, allocations: 84.14 kB / 0.8674 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.5409, allocations: 19.66 kB / 0.8674 GB, free: 14.11 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.5409, allocations: 0 / 0.8674 GB, free: 14.11 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5411, allocations: 322.7 kB / 0.8677 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.5412, allocations: 30.47 kB / 0.8677 GB, free: 13.76 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.127e-05/0.5412, allocations: 23.98 kB / 0.8678 GB, free: 13.74 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.925e-05/0.5413, allocations: 35.92 kB / 0.8678 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.5413, allocations: 0 / 0.8678 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000211/0.5415, allocations: 97.62 kB / 0.8679 GB, free: 13.6 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5416, allocations: 8 kB / 0.8679 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5416, allocations: 192 / 0.8679 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5416, allocations: 0 / 0.8679 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.5418, allocations: 32.02 kB / 0.8679 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5419, allocations: 8 kB / 0.8679 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.542, allocations: 7.984 kB / 0.8679 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.5421, allocations: 7.891 kB / 0.868 GB, free: 13.54 MB / 0.5419 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 9.698e-05/0.5422, allocations: 105 kB / 0.8681 GB, free: 13.43 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.5422, allocations: 0 / 0.8681 GB, free: 13.43 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.5423, allocations: 16.06 kB / 0.8681 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5423, allocations: 4.688 kB / 0.8681 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5423, allocations: 3.906 kB / 0.8681 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5423, allocations: 7.984 kB / 0.8681 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.5425, allocations: 164.9 kB / 0.8682 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5425, allocations: 0 / 0.8682 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.5428, allocations: 23.95 kB / 0.8683 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.5428, allocations: 4 kB / 0.8683 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.5428, allocations: 0 / 0.8683 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5428, allocations: 1.406 kB / 0.8683 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5428, allocations: 3.984 kB / 0.8683 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003264/0.5432, allocations: 161 kB / 0.8684 GB, free: 12.99 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.5432, allocations: 89 kB / 0.8685 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.5432, allocations: 0 / 0.8685 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.5435, allocations: 8 kB / 0.8685 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.5435, allocations: 3.984 kB / 0.8685 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.5435, allocations: 7.984 kB / 0.8685 GB, free: 12.87 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.18e-05/0.5435, allocations: 79.28 kB / 0.8686 GB, free: 12.79 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002499/0.5438, allocations: 36.16 kB / 0.8686 GB, free: 12.75 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 (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.0002517/0.5441, allocations: 139.2 kB / 0.8688 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.5443, allocations: 67.95 kB / 0.8688 GB, free: 12.54 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5443, allocations: 0 / 0.8688 GB, free: 12.54 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.5443, allocations: 35.92 kB / 0.8689 GB, free: 12.51 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.5445, allocations: 17.11 kB / 0.8689 GB, free: 12.49 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.5451, allocations: 116.1 kB / 0.869 GB, free: 12.36 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.5455, allocations: 0.7075 MB / 0.8697 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of SimCode: time 2.2e-07/0.5456, allocations: 0 / 0.8697 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of Templates: time 0.004743/0.5503, allocations: 2.106 MB / 0.8717 GB, free: 9.555 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)