Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [: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.2856/0.2856, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001299/0.001299, allocations: 194.4 kB / 75.37 MB, free: 1.488 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.543/1.543, allocations: 194.2 MB / 283.2 MB, free: 3.504 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.00194/0.00194, allocations: 113.3 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/8.105e-06, allocations: 4 kB / 405 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.504, allocations: 85.71 MB / 0.5355 GB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.5043, allocations: 75.61 kB / 0.5355 GB, free: 11.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.005539/0.5099, allocations: 1.473 MB / 0.537 GB, free: 10.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.5099, allocations: 0 / 0.537 GB, free: 10.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003504/0.5103, allocations: 338.4 kB / 0.5373 GB, free: 9.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.5103, allocations: 11.97 kB / 0.5373 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.5108, allocations: 40.36 kB / 0.5373 GB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.5109, allocations: 159.1 kB / 0.5375 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5109, allocations: 0 / 0.5375 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.511, allocations: 0 / 0.5375 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.309e-05/0.5111, allocations: 15.73 kB / 0.5375 GB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.5112, allocations: 45.58 kB / 0.5375 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5112, allocations: 0 / 0.5375 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5112, allocations: 0 / 0.5375 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5112, allocations: 4 kB / 0.5376 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.5114, allocations: 137.9 kB / 0.5377 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.969e-05/0.5115, allocations: 36.72 kB / 0.5377 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.5115, allocations: 12.73 kB / 0.5377 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.5116, allocations: 0 / 0.5377 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.5116, allocations: 34.56 kB / 0.5378 GB, free: 9.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.474e-06/0.5116, allocations: 4 kB / 0.5378 GB, free: 9.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.5118, allocations: 48.28 kB / 0.5378 GB, free: 9.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.5119, allocations: 52.06 kB / 0.5379 GB, free: 8.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.512, allocations: 103.9 kB / 0.538 GB, free: 8.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.512, allocations: 25.7 kB / 0.538 GB, free: 8.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.512, allocations: 80.14 kB / 0.5381 GB, free: 8.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.5121, allocations: 7.844 kB / 0.5381 GB, free: 8.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.5121, allocations: 0 / 0.5381 GB, free: 8.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5122, allocations: 320.1 kB / 0.5384 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.5123, allocations: 7.938 kB / 0.5384 GB, free: 8.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.5123, allocations: 11.36 kB / 0.5384 GB, free: 8.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.5123, allocations: 7.188 kB / 0.5384 GB, free: 8.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5123, allocations: 0 / 0.5384 GB, free: 8.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.838e-05/0.5124, allocations: 52.86 kB / 0.5385 GB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5125, allocations: 4 kB / 0.5385 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5125, allocations: 0 / 0.5385 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5125, allocations: 3.906 kB / 0.5385 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.5126, allocations: 12.08 kB / 0.5385 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5126, allocations: 0 / 0.5385 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.5127, allocations: 4 kB / 0.5385 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.5127, allocations: 0.625 kB / 0.5385 GB, free: 8.332 MB / 378.7 MB 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 (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 prepare postOptimizeDAE: time 8.301e-05/0.5128, allocations: 101 kB / 0.5386 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.5128, allocations: 7.906 kB / 0.5386 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.5129, allocations: 18.33 kB / 0.5386 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5129, allocations: 0 / 0.5386 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5129, allocations: 3.984 kB / 0.5386 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5129, allocations: 0 / 0.5386 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.5131, allocations: 137.4 kB / 0.5387 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5131, allocations: 7.938 kB / 0.5387 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.5132, allocations: 7.984 kB / 0.5387 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5132, allocations: 0 / 0.5387 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.5132, allocations: 0 / 0.5387 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5132, allocations: 7.906 kB / 0.5388 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5132, allocations: 0 / 0.5388 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001276/0.5133, allocations: 75.36 kB / 0.5388 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.5134, allocations: 81.02 kB / 0.5389 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.5134, allocations: 0 / 0.5389 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.5135, allocations: 7.984 kB / 0.5389 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.5135, allocations: 0 / 0.5389 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.5135, allocations: 4.031 kB / 0.5389 GB, free: 7.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.174e-05/0.5136, allocations: 79.28 kB / 0.539 GB, free: 7.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.5138, allocations: 16 kB / 0.539 GB, free: 7.723 MB / 378.7 MB 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.000193/0.514, allocations: 114.3 kB / 0.5391 GB, free: 7.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.744e-05/0.5141, allocations: 22.86 kB / 0.5391 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5141, allocations: 0 / 0.5391 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.5141, allocations: 15.17 kB / 0.5391 GB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.5143, allocations: 7.984 kB / 0.5392 GB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.5146, allocations: 63.61 kB / 0.5392 GB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.5149, allocations: 0.6958 MB / 0.5399 GB, free: 6.762 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5149, allocations: 0 / 0.5399 GB, free: 6.762 MB / 378.7 MB Notification: Performance of Templates: time 0.003237/0.5182, allocations: 0.8839 MB / 0.5408 GB, free: 5.891 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)