Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2757/0.2757, allocations: 54.39 MB / 61.67 MB, free: 11.12 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001318/0.001318, allocations: 182.3 kB / 75.37 MB, free: 1.469 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.446/1.446, allocations: 194.2 MB / 283.2 MB, free: 3.5 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001815/0.001815, allocations: 113.6 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.385e-06, allocations: 0 / 405 MB, free: 27.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 57.65 MB / 462.6 MB, free: 1.887 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.009/4.139, allocations: 2.114 GB / 2.566 GB, free: 79.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/4.14, allocations: 80.98 kB / 2.566 GB, free: 79.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.05107/4.191, allocations: 26.01 MB / 2.591 GB, free: 52.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.376e-06/4.191, allocations: 0 / 2.591 GB, free: 52.76 MB / 0.4948 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.0003214/4.191, allocations: 359.1 kB / 2.591 GB, free: 52.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/4.191, allocations: 18.03 kB / 2.591 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/4.192, allocations: 31.95 kB / 2.591 GB, free: 52.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/4.192, allocations: 167 kB / 2.592 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/4.192, allocations: 7.906 kB / 2.592 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/4.192, allocations: 0 / 2.592 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001239/4.192, allocations: 8 kB / 2.592 GB, free: 52.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/4.192, allocations: 53.59 kB / 2.592 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/4.192, allocations: 3.984 kB / 2.592 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/4.192, allocations: 0 / 2.592 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/4.192, allocations: 0 / 2.592 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/4.193, allocations: 225.4 kB / 2.592 GB, free: 51.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/4.193, allocations: 22.58 kB / 2.592 GB, free: 51.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/4.193, allocations: 16.91 kB / 2.592 GB, free: 51.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/4.193, allocations: 0 / 2.592 GB, free: 51.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/4.193, allocations: 34.56 kB / 2.592 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/4.193, allocations: 0 / 2.592 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/4.193, allocations: 29.7 kB / 2.592 GB, free: 51.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/4.193, allocations: 63.34 kB / 2.592 GB, free: 51.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/4.193, allocations: 96.98 kB / 2.592 GB, free: 51.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/4.193, allocations: 33.67 kB / 2.592 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/4.193, allocations: 88.05 kB / 2.592 GB, free: 51.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-06/4.193, allocations: 7.844 kB / 2.592 GB, free: 51.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/4.193, allocations: 0 / 2.592 GB, free: 51.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/4.193, allocations: 310.8 kB / 2.593 GB, free: 51.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/4.193, allocations: 11.98 kB / 2.593 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/4.193, allocations: 4 kB / 2.593 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/4.193, allocations: 4 kB / 2.593 GB, free: 51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/4.194, allocations: 0 / 2.593 GB, free: 51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00011/4.194, allocations: 53.67 kB / 2.593 GB, free: 50.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/4.194, allocations: 4 kB / 2.593 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/4.194, allocations: 3.906 kB / 2.593 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/4.194, allocations: 0 / 2.593 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/4.194, allocations: 11.98 kB / 2.593 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/4.194, allocations: 0 / 2.593 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/4.194, allocations: 15.92 kB / 2.593 GB, free: 50.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/4.194, allocations: 0 / 2.593 GB, free: 50.91 MB / 0.4948 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 7.013e-05/4.194, allocations: 105 kB / 2.593 GB, free: 50.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/4.194, allocations: 3.906 kB / 2.593 GB, free: 50.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/4.194, allocations: 11.27 kB / 2.593 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/4.194, allocations: 0 / 2.593 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/4.194, allocations: 0 / 2.593 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/4.194, allocations: 0 / 2.593 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/4.194, allocations: 134.2 kB / 2.593 GB, free: 50.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/4.194, allocations: 0 / 2.593 GB, free: 50.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/4.194, allocations: 4 kB / 2.593 GB, free: 50.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/4.194, allocations: 7.891 kB / 2.593 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/4.194, allocations: 4 kB / 2.593 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/4.194, allocations: 4 kB / 2.593 GB, free: 50.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/4.194, allocations: 3.938 kB / 2.593 GB, free: 50.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.485e-05/4.194, allocations: 127.6 kB / 2.593 GB, free: 50.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/4.195, allocations: 89 kB / 2.593 GB, free: 50.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/4.195, allocations: 0 / 2.593 GB, free: 50.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/4.195, allocations: 0 / 2.593 GB, free: 50.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/4.195, allocations: 16.28 kB / 2.593 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/4.195, allocations: 0 / 2.593 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.516e-05/4.195, allocations: 92.58 kB / 2.593 GB, free: 50.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003432/4.195, allocations: 47.98 kB / 2.593 GB, free: 50.2 MB / 0.4948 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.0008201/4.196, allocations: 0.6553 MB / 2.594 GB, free: 49.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.669e-05/4.196, allocations: 19.98 kB / 2.594 GB, free: 49.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/4.196, allocations: 0 / 2.594 GB, free: 49.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/4.196, allocations: 4 kB / 2.594 GB, free: 49.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/4.196, allocations: 7.906 kB / 2.594 GB, free: 49.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/4.197, allocations: 71.83 kB / 2.594 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/4.197, allocations: 0.6958 MB / 2.595 GB, free: 48.69 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/4.197, allocations: 0 / 2.595 GB, free: 48.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.007677/4.204, allocations: 4.077 MB / 2.599 GB, free: 44.61 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)