Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") [: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.7517/0.7517, allocations: 141.8 MB / 149.1 MB, free: 2.016 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.001201/0.001202, allocations: 181.2 kB / 182 MB, free: 1.582 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.358/1.358, allocations: 221.3 MB / 436 MB, free: 6.316 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: 111.2 kB / 0.5071 GB, free: 2.984 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 276.5 kB / 0.5885 GB, free: 47.95 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.402e-06, allocations: 0 / 0.6759 GB, free: 6.309 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3684, allocations: 82.77 MB / 0.7567 GB, free: 25.38 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.5127, allocations: 108.1 MB / 0.8624 GB, free: 13.09 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.513, allocations: 80.45 kB / 0.8624 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.004209/0.5172, allocations: 1.204 MB / 0.8636 GB, free: 11.81 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5172, allocations: 8 kB / 0.8636 GB, free: 11.8 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.0003527/0.5176, allocations: 326.4 kB / 0.8639 GB, free: 11.44 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5177, allocations: 8.031 kB / 0.8639 GB, free: 11.43 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.5179, allocations: 19.97 kB / 0.864 GB, free: 11.41 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.518, allocations: 166.9 kB / 0.8641 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.518, allocations: 0 / 0.8641 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.5181, allocations: 4 kB / 0.8641 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.408e-05/0.5182, allocations: 19.98 kB / 0.8641 GB, free: 11.18 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.957e-05/0.5182, allocations: 33.7 kB / 0.8642 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5182, allocations: 0 / 0.8642 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.5183, allocations: 0 / 0.8642 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5183, allocations: 0 / 0.8642 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.5185, allocations: 138.1 kB / 0.8643 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.5204, allocations: 282.4 kB / 0.8646 GB, free: 10.69 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.5204, allocations: 16.86 kB / 0.8646 GB, free: 10.67 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.5205, allocations: 3.938 kB / 0.8646 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5205, allocations: 30.56 kB / 0.8646 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.5205, allocations: 0 / 0.8646 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0001419/0.5207, allocations: 49.78 kB / 0.8647 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.5207, allocations: 55.41 kB / 0.8647 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.5208, allocations: 92.94 kB / 0.8648 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.5208, allocations: 25.7 kB / 0.8648 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.5208, allocations: 80.14 kB / 0.8649 GB, free: 10.29 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.5209, allocations: 15.75 kB / 0.8649 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5209, allocations: 0 / 0.8649 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.521, allocations: 318.8 kB / 0.8652 GB, free: 9.957 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.521, allocations: 4 kB / 0.8652 GB, free: 9.953 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.521, allocations: 8 kB / 0.8652 GB, free: 9.945 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.5211, allocations: 15.94 kB / 0.8653 GB, free: 9.93 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5211, allocations: 4.125 kB / 0.8653 GB, free: 9.926 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.14e-05/0.5212, allocations: 49.59 kB / 0.8653 GB, free: 9.871 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5212, allocations: 7.281 kB / 0.8653 GB, free: 9.867 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5212, allocations: 4 kB / 0.8653 GB, free: 9.863 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.5212, allocations: 0 / 0.8653 GB, free: 9.863 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.5213, allocations: 4 kB / 0.8653 GB, free: 9.859 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5213, allocations: 0 / 0.8653 GB, free: 9.859 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.5213, allocations: 0 / 0.8653 GB, free: 9.859 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.5213, allocations: 4 kB / 0.8653 GB, free: 9.855 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.636e-05/0.5214, allocations: 108.9 kB / 0.8654 GB, free: 9.742 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.5214, allocations: 4 kB / 0.8654 GB, free: 9.738 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.5215, allocations: 7.531 kB / 0.8654 GB, free: 9.727 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5215, allocations: 8.188 kB / 0.8654 GB, free: 9.719 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5215, allocations: 0 / 0.8654 GB, free: 9.719 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5215, allocations: 3.984 kB / 0.8654 GB, free: 9.715 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.943e-05/0.5216, allocations: 138.1 kB / 0.8656 GB, free: 9.543 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5216, allocations: 0 / 0.8656 GB, free: 9.543 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.5217, allocations: 7.938 kB / 0.8656 GB, free: 9.535 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5217, allocations: 0 / 0.8656 GB, free: 9.535 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.5217, allocations: 0 / 0.8656 GB, free: 9.535 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5217, allocations: 8 kB / 0.8656 GB, free: 9.527 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5217, allocations: 0 / 0.8656 GB, free: 9.527 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001086/0.5218, allocations: 77.03 kB / 0.8657 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.5219, allocations: 81.09 kB / 0.8657 GB, free: 9.336 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.522, allocations: 0 / 0.8657 GB, free: 9.336 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.522, allocations: 7.938 kB / 0.8658 GB, free: 9.328 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.522, allocations: 0 / 0.8658 GB, free: 9.328 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.522, allocations: 0 / 0.8658 GB, free: 9.328 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.071e-05/0.5221, allocations: 87.12 kB / 0.8658 GB, free: 9.242 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000189/0.5223, allocations: 8 kB / 0.8658 GB, free: 9.234 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 (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 Backend phase and start with SimCode phase: time 0.000129/0.5224, allocations: 95.25 kB / 0.8659 GB, free: 9.129 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.992e-05/0.5225, allocations: 31.92 kB / 0.866 GB, free: 9.098 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5225, allocations: 0 / 0.866 GB, free: 9.098 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.5225, allocations: 12 kB / 0.866 GB, free: 9.086 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.5227, allocations: 8.094 kB / 0.866 GB, free: 9.078 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.523, allocations: 64.05 kB / 0.866 GB, free: 8.992 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.5233, allocations: 0.6915 MB / 0.8667 GB, free: 8.277 MB / 0.5419 GB Notification: Performance of SimCode: time 3.41e-07/0.5233, allocations: 0 / 0.8667 GB, free: 8.277 MB / 0.5419 GB Notification: Performance of Templates: time 0.002509/0.5259, allocations: 0.5808 MB / 0.8673 GB, free: 7.699 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)