Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.507/1.507, allocations: 289.8 MB / 297.1 MB, free: 6.719 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 181.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.1 MB / 0.6256 GB, free: 5.844 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009127, allocations: 83.59 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.026e-05, allocations: 8 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5325, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.052/4.584, allocations: 2.055 GB / 3.028 GB, free: 357.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/4.584, allocations: 92.7 kB / 3.028 GB, free: 357.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.05153/4.636, allocations: 26.43 MB / 3.054 GB, free: 351.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.513e-06/4.636, allocations: 3.938 kB / 3.054 GB, free: 351.7 MB / 0.948 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.0002193/4.636, allocations: 346.3 kB / 3.054 GB, free: 351.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/4.636, allocations: 8.188 kB / 3.054 GB, free: 351.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/4.637, allocations: 43.12 kB / 3.054 GB, free: 351.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/4.637, allocations: 167.4 kB / 3.054 GB, free: 351.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/4.637, allocations: 0 / 3.054 GB, free: 351.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/4.637, allocations: 2.938 kB / 3.054 GB, free: 351.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.973e-05/4.637, allocations: 11.83 kB / 3.054 GB, free: 351.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.603e-05/4.637, allocations: 44.72 kB / 3.054 GB, free: 351 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/4.637, allocations: 4.031 kB / 3.054 GB, free: 351 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/4.637, allocations: 0.6562 kB / 3.054 GB, free: 351 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/4.637, allocations: 7.938 kB / 3.054 GB, free: 351 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/4.637, allocations: 223.6 kB / 3.055 GB, free: 350.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/4.637, allocations: 24.36 kB / 3.055 GB, free: 350.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/4.637, allocations: 11.8 kB / 3.055 GB, free: 350.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/4.638, allocations: 0 / 3.055 GB, free: 350.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/4.638, allocations: 34.56 kB / 3.055 GB, free: 350.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/4.638, allocations: 0 / 3.055 GB, free: 350.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001233/4.638, allocations: 43.05 kB / 3.055 GB, free: 350.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.582e-05/4.638, allocations: 51.41 kB / 3.055 GB, free: 350.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.891e-05/4.638, allocations: 97.91 kB / 3.055 GB, free: 350.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/4.638, allocations: 26.92 kB / 3.055 GB, free: 350.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/4.638, allocations: 87.2 kB / 3.055 GB, free: 350.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-06/4.638, allocations: 5.672 kB / 3.055 GB, free: 350.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/4.638, allocations: 4.031 kB / 3.055 GB, free: 350.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/4.638, allocations: 318.8 kB / 3.055 GB, free: 350.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/4.638, allocations: 4.828 kB / 3.055 GB, free: 350.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.532e-05/4.638, allocations: 6.594 kB / 3.055 GB, free: 350.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/4.638, allocations: 5.406 kB / 3.055 GB, free: 350.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/4.638, allocations: 0 / 3.055 GB, free: 350.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.537e-05/4.638, allocations: 53.41 kB / 3.055 GB, free: 350 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/4.638, allocations: 2.906 kB / 3.055 GB, free: 350 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/4.638, allocations: 0 / 3.055 GB, free: 350 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/4.638, allocations: 7 kB / 3.055 GB, free: 350 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/4.638, allocations: 16.34 kB / 3.055 GB, free: 350 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/4.638, allocations: 0 / 3.055 GB, free: 350 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/4.638, allocations: 10.69 kB / 3.055 GB, free: 350 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/4.638, allocations: 1.312 kB / 3.055 GB, free: 350 MB / 0.948 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.408e-05/4.638, allocations: 103.9 kB / 3.056 GB, free: 349.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/4.638, allocations: 336 / 3.056 GB, free: 349.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/4.638, allocations: 16.39 kB / 3.056 GB, free: 349.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/4.639, allocations: 6.922 kB / 3.056 GB, free: 349.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/4.639, allocations: 0 / 3.056 GB, free: 349.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/4.639, allocations: 1.078 kB / 3.056 GB, free: 349.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/4.639, allocations: 129.3 kB / 3.056 GB, free: 349.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/4.639, allocations: 0 / 3.056 GB, free: 349.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/4.639, allocations: 2.812 kB / 3.056 GB, free: 349.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/4.639, allocations: 5.953 kB / 3.056 GB, free: 349.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/4.639, allocations: 0 / 3.056 GB, free: 349.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/4.639, allocations: 3.062 kB / 3.056 GB, free: 349.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/4.639, allocations: 3.906 kB / 3.056 GB, free: 349.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.208e-05/4.639, allocations: 136.7 kB / 3.056 GB, free: 349.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/4.639, allocations: 86.89 kB / 3.056 GB, free: 349.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/4.639, allocations: 3 kB / 3.056 GB, free: 349.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/4.639, allocations: 0.9375 kB / 3.056 GB, free: 349.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/4.639, allocations: 2.562 kB / 3.056 GB, free: 349.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/4.639, allocations: 0 / 3.056 GB, free: 349.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.316e-05/4.639, allocations: 92.31 kB / 3.056 GB, free: 349.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002936/4.639, allocations: 46.36 kB / 3.056 GB, free: 349.4 MB / 0.948 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 (2): * Single equations (assignments): 2 * 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.0006862/4.64, allocations: 0.6524 MB / 3.057 GB, free: 349.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.444e-05/4.64, allocations: 17.73 kB / 3.057 GB, free: 349.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/4.64, allocations: 0 / 3.057 GB, free: 349.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-06/4.64, allocations: 2.938 kB / 3.057 GB, free: 349.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/4.64, allocations: 14.89 kB / 3.057 GB, free: 349.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/4.64, allocations: 68.45 kB / 3.057 GB, free: 349.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/4.641, allocations: 0.6936 MB / 3.057 GB, free: 348.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/4.641, allocations: 0 / 3.057 GB, free: 348.4 MB / 0.948 GB Notification: Performance of Templates: time 0.006385/4.647, allocations: 4.076 MB / 3.061 GB, free: 347.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)