Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [: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.816/0.816, allocations: 141.8 MB / 149.1 MB, free: 4.582 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.001082/0.001082, allocations: 175.2 kB / 181.9 MB, free: 236 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.315/1.315, allocations: 221.3 MB / 436 MB, free: 9.371 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.0009544/0.0009543, allocations: 95.78 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001743, allocations: 281 kB / 0.5884 GB, free: 12.39 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.062e-06/6.082e-06, allocations: 0 / 0.6759 GB, free: 2.758 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3764, allocations: 82.77 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.4896, allocations: 109.3 MB / 0.8634 GB, free: 3.562 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4898, allocations: 87.75 kB / 0.8635 GB, free: 3.48 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.01705/0.5069, allocations: 5.868 MB / 0.8693 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.5069, allocations: 4 kB / 0.8693 GB, free: 13.64 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.0003139/0.5072, allocations: 366.3 kB / 0.8696 GB, free: 13.24 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5073, allocations: 15.97 kB / 0.8696 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.5075, allocations: 7.984 kB / 0.8696 GB, free: 13.22 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.5076, allocations: 163 kB / 0.8698 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.5076, allocations: 0 / 0.8698 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.5076, allocations: 4 kB / 0.8698 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.315e-05/0.5077, allocations: 19.92 kB / 0.8698 GB, free: 13 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.914e-05/0.5078, allocations: 37.69 kB / 0.8698 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5078, allocations: 0 / 0.8698 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5078, allocations: 8 kB / 0.8699 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5078, allocations: 0 / 0.8699 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.5079, allocations: 138.1 kB / 0.87 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.5088, allocations: 126.6 kB / 0.8701 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.5088, allocations: 20.95 kB / 0.8701 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.509, allocations: 85.09 kB / 0.8702 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.509, allocations: 36.84 kB / 0.8702 GB, free: 12.47 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.509, allocations: 3.938 kB / 0.8702 GB, free: 12.47 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0001594/0.5092, allocations: 49.69 kB / 0.8703 GB, free: 12.41 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.5092, allocations: 55.41 kB / 0.8703 GB, free: 12.35 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.954e-05/0.5093, allocations: 96.98 kB / 0.8704 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.5093, allocations: 25.7 kB / 0.8705 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.5093, allocations: 80.14 kB / 0.8705 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.5094, allocations: 7.812 kB / 0.8705 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5094, allocations: 4 kB / 0.8705 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5095, allocations: 310.8 kB / 0.8708 GB, free: 11.81 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.5095, allocations: 8 kB / 0.8709 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.5096, allocations: 8 kB / 0.8709 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.5096, allocations: 12.11 kB / 0.8709 GB, free: 11.78 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5096, allocations: 4 kB / 0.8709 GB, free: 11.78 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.5097, allocations: 61.52 kB / 0.8709 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5097, allocations: 4 kB / 0.8709 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5097, allocations: 0 / 0.8709 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.5098, allocations: 0 / 0.8709 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.5098, allocations: 12 kB / 0.8709 GB, free: 11.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.5098, allocations: 0 / 0.8709 GB, free: 11.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.5099, allocations: 192 / 0.8709 GB, free: 11.7 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.5099, allocations: 0 / 0.8709 GB, free: 11.7 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 (4): * Single equations (assignments): 4 * 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.294e-05/0.51, allocations: 116.8 kB / 0.8711 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.51, allocations: 7.969 kB / 0.8711 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.5102, allocations: 83.72 kB / 0.8711 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5102, allocations: 1.219 kB / 0.8711 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5103, allocations: 0 / 0.8711 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5103, allocations: 7.984 kB / 0.8712 GB, free: 11.47 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.5104, allocations: 130.2 kB / 0.8713 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5104, allocations: 0 / 0.8713 GB, free: 11.31 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.5104, allocations: 15.98 kB / 0.8713 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5104, allocations: 0 / 0.8713 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.5105, allocations: 4 kB / 0.8713 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5105, allocations: 0 / 0.8713 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5105, allocations: 0 / 0.8713 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000118/0.5106, allocations: 85.03 kB / 0.8714 GB, free: 11.19 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.5107, allocations: 85.03 kB / 0.8715 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.5107, allocations: 3.906 kB / 0.8715 GB, free: 11.08 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.726e-05/0.5107, allocations: 2.75 kB / 0.8715 GB, free: 11.08 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.5108, allocations: 4 kB / 0.8715 GB, free: 11.08 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.5108, allocations: 8 kB / 0.8715 GB, free: 11.07 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.903e-05/0.5108, allocations: 87.22 kB / 0.8716 GB, free: 10.98 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002533/0.5111, allocations: 51.92 kB / 0.8716 GB, free: 10.93 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0003503/0.5114, allocations: 171.5 kB / 0.8718 GB, free: 10.76 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.692e-05/0.5115, allocations: 24 kB / 0.8718 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5115, allocations: 4.094 kB / 0.8718 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.5115, allocations: 19.94 kB / 0.8718 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.5117, allocations: 5.484 kB / 0.8718 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.5119, allocations: 63.92 kB / 0.8719 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.5121, allocations: 0.6876 MB / 0.8726 GB, free: 9.914 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/0.5121, allocations: 0 / 0.8726 GB, free: 9.914 MB / 0.5419 GB Notification: Performance of Templates: time 0.003094/0.5152, allocations: 1.084 MB / 0.8736 GB, free: 8.871 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)