Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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 1.6.0+build.1/package.mo): time 0.4739/0.4739, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001054/0.001054, allocations: 176.4 kB / 125.3 MB, free: 11.96 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.157/1.157, allocations: 170.5 MB / 319 MB, free: 9.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001745/0.001745, allocations: 111.7 kB / 381 MB, free: 18.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/8.005e-06, allocations: 4.219 kB / 448.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 61.51 MB / 0.4981 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.673/7.796, allocations: 4.464 GB / 4.962 GB, free: 175 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/7.796, allocations: 86.27 kB / 4.962 GB, free: 175 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.06943/7.866, allocations: 34.82 MB / 4.996 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.804e-06/7.866, allocations: 3.938 kB / 4.996 GB, free: 150.6 MB / 0.5261 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.0002969/7.866, allocations: 354.4 kB / 4.996 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/7.866, allocations: 9.031 kB / 4.996 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/7.866, allocations: 13.55 kB / 4.996 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/7.867, allocations: 165.7 kB / 4.996 GB, free: 150 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/7.867, allocations: 0 / 4.996 GB, free: 150 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/7.867, allocations: 3.562 kB / 4.996 GB, free: 150 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.015e-05/7.867, allocations: 4 kB / 4.996 GB, free: 150 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.822e-05/7.867, allocations: 37.62 kB / 4.996 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/7.867, allocations: 0 / 4.996 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/7.867, allocations: 2.953 kB / 4.996 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/7.867, allocations: 0 / 4.996 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/7.867, allocations: 476.7 kB / 4.997 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.565e-05/7.867, allocations: 22.58 kB / 4.997 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/7.867, allocations: 8.922 kB / 4.997 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/7.867, allocations: 3.984 kB / 4.997 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/7.867, allocations: 34.56 kB / 4.997 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/7.867, allocations: 4 kB / 4.997 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000136/7.868, allocations: 41.58 kB / 4.997 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/7.868, allocations: 51.41 kB / 4.997 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/7.868, allocations: 97 kB / 4.997 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/7.868, allocations: 25.7 kB / 4.997 GB, free: 149 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/7.868, allocations: 84.08 kB / 4.997 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/7.868, allocations: 7.906 kB / 4.997 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/7.868, allocations: 0 / 4.997 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/7.868, allocations: 318.9 kB / 4.997 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/7.868, allocations: 4 kB / 4.997 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/7.868, allocations: 4 kB / 4.997 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/7.868, allocations: 4 kB / 4.997 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/7.868, allocations: 0 / 4.997 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.078e-05/7.868, allocations: 45.59 kB / 4.998 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/7.868, allocations: 7.938 kB / 4.998 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/7.868, allocations: 0 / 4.998 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/7.868, allocations: 0 / 4.998 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/7.868, allocations: 4 kB / 4.998 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/7.868, allocations: 8 kB / 4.998 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/7.868, allocations: 0 / 4.998 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/7.868, allocations: 2.625 kB / 4.998 GB, free: 148.5 MB / 0.5261 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.825e-05/7.868, allocations: 104.9 kB / 4.998 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/7.868, allocations: 4 kB / 4.998 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/7.868, allocations: 15.25 kB / 4.998 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/7.868, allocations: 0 / 4.998 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/7.868, allocations: 4 kB / 4.998 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/7.868, allocations: 0 / 4.998 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/7.868, allocations: 135.3 kB / 4.998 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/7.868, allocations: 0 / 4.998 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/7.868, allocations: 7.984 kB / 4.998 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/7.868, allocations: 0 / 4.998 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/7.868, allocations: 0 / 4.998 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/7.869, allocations: 0 / 4.998 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/7.869, allocations: 0 / 4.998 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.393e-05/7.869, allocations: 135.4 kB / 4.998 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/7.869, allocations: 89.12 kB / 4.998 GB, free: 148 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/7.869, allocations: 0 / 4.998 GB, free: 148 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-05/7.869, allocations: 0 / 4.998 GB, free: 148 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/7.869, allocations: 3.906 kB / 4.998 GB, free: 148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/7.869, allocations: 2.062 kB / 4.998 GB, free: 148 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.266e-05/7.869, allocations: 83.28 kB / 4.998 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003774/7.869, allocations: 59.92 kB / 4.998 GB, free: 147.8 MB / 0.5261 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.0008881/7.87, allocations: 0.7095 MB / 4.999 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.045e-05/7.87, allocations: 11.94 kB / 4.999 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/7.87, allocations: 0 / 4.999 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/7.87, allocations: 11.94 kB / 4.999 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/7.87, allocations: 12.05 kB / 4.999 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/7.871, allocations: 57.48 kB / 4.999 GB, free: 147 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/7.871, allocations: 0.6841 MB / 5 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/7.871, allocations: 0 / 5 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.007052/7.878, allocations: 4.11 MB / 5.004 GB, free: 142.2 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)