Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [: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.7159/0.7159, allocations: 141.8 MB / 149.1 MB, free: 15.53 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 186.6 kB / 182 MB, free: 11.89 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.316/1.316, allocations: 221.3 MB / 436 MB, free: 4.574 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.000954/0.0009541, allocations: 104.6 kB / 0.507 GB, free: 18.82 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 272.7 kB / 0.5885 GB, free: 5.816 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.066e-05/1.07e-05, allocations: 2.438 kB / 0.6759 GB, free: 138.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 82.78 MB / 0.7568 GB, free: 86.93 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5088/0.6637, allocations: 134.5 MB / 0.8881 GB, free: 26.81 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.664, allocations: 78.02 kB / 0.8881 GB, free: 26.81 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.003773/0.6678, allocations: 1.342 MB / 0.8894 GB, free: 26.74 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6678, allocations: 5.281 kB / 0.8894 GB, free: 26.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002279/0.668, allocations: 321.2 kB / 0.8898 GB, free: 26.39 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6681, allocations: 9.281 kB / 0.8898 GB, free: 26.39 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.6681, allocations: 2 kB / 0.8898 GB, free: 26.39 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.513e-05/0.6682, allocations: 169.2 kB / 0.8899 GB, free: 26.19 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.6683, allocations: 29.09 kB / 0.89 GB, free: 26.16 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.6683, allocations: 1.031 kB / 0.89 GB, free: 26.16 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.871e-05/0.6684, allocations: 10.78 kB / 0.89 GB, free: 26.16 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.663e-05/0.6684, allocations: 30.67 kB / 0.89 GB, free: 26.12 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6685, allocations: 7.938 kB / 0.89 GB, free: 26.12 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6685, allocations: 2.438 kB / 0.89 GB, free: 26.12 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6685, allocations: 0 / 0.89 GB, free: 26.12 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.6686, allocations: 134.7 kB / 0.8901 GB, free: 25.96 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.465e-05/0.6687, allocations: 29.11 kB / 0.8902 GB, free: 25.93 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.6687, allocations: 10.83 kB / 0.8902 GB, free: 25.92 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.6689, allocations: 97.77 kB / 0.8903 GB, free: 25.82 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.6689, allocations: 34.97 kB / 0.8903 GB, free: 25.78 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6689, allocations: 0 / 0.8903 GB, free: 25.78 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0001833/0.6691, allocations: 44.11 kB / 0.8903 GB, free: 25.75 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.6691, allocations: 52.84 kB / 0.8904 GB, free: 25.69 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.918e-05/0.6692, allocations: 88.88 kB / 0.8905 GB, free: 25.6 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.6692, allocations: 26.89 kB / 0.8905 GB, free: 25.57 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 1.798e-05/0.6692, allocations: 82.06 kB / 0.8906 GB, free: 25.48 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.6693, allocations: 14.44 kB / 0.8906 GB, free: 25.47 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.6693, allocations: 5.5 kB / 0.8906 GB, free: 25.47 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.6693, allocations: 312.1 kB / 0.8909 GB, free: 25.16 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.6694, allocations: 4.5 kB / 0.8909 GB, free: 25.16 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.134e-05/0.6694, allocations: 4 kB / 0.8909 GB, free: 25.16 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.6694, allocations: 8.359 kB / 0.8909 GB, free: 25.16 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6694, allocations: 0 / 0.8909 GB, free: 25.16 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.515e-05/0.6695, allocations: 47.39 kB / 0.891 GB, free: 25.12 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.6695, allocations: 5.125 kB / 0.891 GB, free: 25.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6695, allocations: 5.406 kB / 0.891 GB, free: 25.12 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.6696, allocations: 5.219 kB / 0.891 GB, free: 25.12 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.6696, allocations: 6.906 kB / 0.891 GB, free: 25.12 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.6697, allocations: 0 / 0.891 GB, free: 25.12 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.6697, allocations: 1.312 kB / 0.891 GB, free: 25.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.6697, allocations: 1.156 kB / 0.891 GB, free: 25.12 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 (3): * Single equations (assignments): 3 * 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.503e-05/0.6698, allocations: 103.2 kB / 0.8911 GB, free: 25.01 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.6698, allocations: 5.031 kB / 0.8911 GB, free: 25.01 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.6699, allocations: 59.89 kB / 0.8911 GB, free: 24.96 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.6699, allocations: 5.188 kB / 0.8911 GB, free: 24.96 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6699, allocations: 0 / 0.8911 GB, free: 24.96 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6699, allocations: 1.062 kB / 0.8911 GB, free: 24.96 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.943e-05/0.67, allocations: 129.5 kB / 0.8913 GB, free: 24.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.67, allocations: 1.094 kB / 0.8913 GB, free: 24.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.67, allocations: 6.656 kB / 0.8913 GB, free: 24.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6701, allocations: 3.906 kB / 0.8913 GB, free: 24.8 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.6701, allocations: 1.359 kB / 0.8913 GB, free: 24.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.6701, allocations: 1.562 kB / 0.8913 GB, free: 24.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6701, allocations: 0 / 0.8913 GB, free: 24.8 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001002/0.6702, allocations: 80.5 kB / 0.8914 GB, free: 24.73 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.6702, allocations: 86.02 kB / 0.8914 GB, free: 24.63 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.6703, allocations: 2.516 kB / 0.8914 GB, free: 24.63 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.6703, allocations: 2.531 kB / 0.8914 GB, free: 24.63 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.6703, allocations: 3.375 kB / 0.8915 GB, free: 24.63 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.6703, allocations: 1.281 kB / 0.8915 GB, free: 24.63 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.947e-05/0.6704, allocations: 81.64 kB / 0.8915 GB, free: 24.55 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001856/0.6706, allocations: 17.86 kB / 0.8915 GB, free: 24.54 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 (3): * Single equations (assignments): 3 * 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.0002109/0.6708, allocations: 142 kB / 0.8917 GB, free: 24.45 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.463e-05/0.6709, allocations: 12.67 kB / 0.8917 GB, free: 24.45 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6709, allocations: 0.9844 kB / 0.8917 GB, free: 24.45 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.017e-05/0.6709, allocations: 9.938 kB / 0.8917 GB, free: 24.45 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.671, allocations: 12.16 kB / 0.8917 GB, free: 24.44 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.6712, allocations: 54.05 kB / 0.8918 GB, free: 24.38 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.6714, allocations: 0.6915 MB / 0.8924 GB, free: 23.68 MB / 0.5419 GB Notification: Performance of SimCode: time 9.12e-07/0.6714, allocations: 0 / 0.8924 GB, free: 23.68 MB / 0.5419 GB Notification: Performance of Templates: time 0.002884/0.6743, allocations: 0.7272 MB / 0.8932 GB, free: 23.58 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)