Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") [: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.7938/0.7938, allocations: 141.8 MB / 149.1 MB, free: 4.457 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.001184/0.001184, allocations: 180.4 kB / 181.9 MB, free: 112 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.3 MB / 436 MB, free: 9.324 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.0009396/0.0009397, allocations: 91.58 kB / 0.507 GB, free: 24.12 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 269.2 kB / 0.5884 GB, free: 12.29 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.461e-05, allocations: 7.938 kB / 0.6759 GB, free: 2.637 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3909, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.5033, allocations: 108.1 MB / 0.8623 GB, free: 4.656 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.5036, allocations: 91.69 kB / 0.8624 GB, free: 4.57 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.005435/0.5091, allocations: 1.795 MB / 0.8642 GB, free: 2.797 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5091, allocations: 0.5 kB / 0.8642 GB, free: 2.797 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000233/0.5093, allocations: 346.3 kB / 0.8645 GB, free: 2.418 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5094, allocations: 8.031 kB / 0.8645 GB, free: 2.41 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.5095, allocations: 8.766 kB / 0.8645 GB, free: 2.402 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.938e-05/0.5096, allocations: 163 kB / 0.8647 GB, free: 2.203 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5096, allocations: 4.625 kB / 0.8647 GB, free: 2.199 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.5097, allocations: 4 kB / 0.8647 GB, free: 2.195 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.186e-05/0.5097, allocations: 8.781 kB / 0.8647 GB, free: 2.188 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.5098, allocations: 37.69 kB / 0.8647 GB, free: 2.145 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5099, allocations: 4.562 kB / 0.8647 GB, free: 2.141 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5099, allocations: 0.5938 kB / 0.8647 GB, free: 2.141 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5099, allocations: 7.938 kB / 0.8647 GB, free: 2.133 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.51, allocations: 134.7 kB / 0.8649 GB, free: 1.965 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.5102, allocations: 38.59 kB / 0.8649 GB, free: 1.922 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.5102, allocations: 21.48 kB / 0.8649 GB, free: 1.898 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.5102, allocations: 0.7188 kB / 0.8649 GB, free: 1.898 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.5102, allocations: 35.39 kB / 0.865 GB, free: 1.855 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.5103, allocations: 4.719 kB / 0.865 GB, free: 1.852 MB / 0.5263 GB Notification: Performance of matching and sorting (n=6): time 0.001196/0.5115, allocations: 372.2 kB / 0.8653 GB, free: 1.441 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.5115, allocations: 52.75 kB / 0.8654 GB, free: 1.379 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.695e-05/0.5115, allocations: 85 kB / 0.8654 GB, free: 1.289 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.5115, allocations: 25.7 kB / 0.8655 GB, free: 1.258 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.5116, allocations: 81.52 kB / 0.8655 GB, free: 1.176 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.5116, allocations: 27.64 kB / 0.8656 GB, free: 1.148 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.5116, allocations: 0 / 0.8656 GB, free: 1.148 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.5116, allocations: 311.8 kB / 0.8659 GB, free: 0.8359 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.5117, allocations: 21.31 kB / 0.8659 GB, free: 0.8164 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.5117, allocations: 16.52 kB / 0.8659 GB, free: 0.8008 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.5118, allocations: 16 kB / 0.8659 GB, free: 0.7852 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.5118, allocations: 1.188 kB / 0.8659 GB, free: 0.7852 MB / 0.5263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001084/0.5119, allocations: 81.59 kB / 0.866 GB, free: 0.6992 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5119, allocations: 4 kB / 0.866 GB, free: 0.6953 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5119, allocations: 7.906 kB / 0.866 GB, free: 0.6875 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5119, allocations: 4 kB / 0.866 GB, free: 0.6836 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.512, allocations: 11.98 kB / 0.866 GB, free: 0.6719 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5121, allocations: 0 / 0.866 GB, free: 0.6719 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.5121, allocations: 0 / 0.866 GB, free: 0.6719 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5121, allocations: 4 kB / 0.866 GB, free: 0.668 MB / 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 (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 4.986e-05/0.5122, allocations: 101 kB / 0.8661 GB, free: 0.5625 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.5122, allocations: 3.906 kB / 0.8661 GB, free: 0.5586 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.5124, allocations: 103.2 kB / 0.8662 GB, free: 460 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5124, allocations: 0 / 0.8662 GB, free: 460 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5124, allocations: 7.984 kB / 0.8662 GB, free: 452 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5124, allocations: 0 / 0.8662 GB, free: 452 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.906e-05/0.5125, allocations: 142.2 kB / 0.8664 GB, free: 272 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5125, allocations: 192 / 0.8664 GB, free: 272 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.5126, allocations: 12 kB / 0.8664 GB, free: 260 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5127, allocations: 0 / 0.8664 GB, free: 260 kB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5127, allocations: 11.88 kB / 0.8664 GB, free: 248 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5127, allocations: 4 kB / 0.8664 GB, free: 244 kB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5127, allocations: 0 / 0.8664 GB, free: 244 kB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001573/0.5129, allocations: 127.2 kB / 0.8665 GB, free: 100 kB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.5129, allocations: 77.11 kB / 0.8666 GB, free: 4 kB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.5129, allocations: 0 / 0.8666 GB, free: 4 kB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.513, allocations: 8.047 kB / 0.8666 GB, free: 15.99 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.5131, allocations: 8 kB / 0.8666 GB, free: 15.98 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.5131, allocations: 4 kB / 0.8666 GB, free: 15.98 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.955e-05/0.5131, allocations: 79.34 kB / 0.8667 GB, free: 15.9 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002021/0.5133, allocations: 10.44 kB / 0.8667 GB, free: 15.89 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 (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 Backend phase and start with SimCode phase: time 0.0001355/0.5135, allocations: 107.2 kB / 0.8668 GB, free: 15.78 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.5136, allocations: 39.94 kB / 0.8668 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5136, allocations: 0 / 0.8668 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.5136, allocations: 27.94 kB / 0.8669 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.5138, allocations: 5 kB / 0.8669 GB, free: 15.71 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.5141, allocations: 88.25 kB / 0.867 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.5144, allocations: 0.6958 MB / 0.8676 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.5144, allocations: 0 / 0.8676 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of Templates: time 0.002743/0.5171, allocations: 0.7839 MB / 0.8684 GB, free: 14.14 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1)