Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [: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.2896/0.2896, allocations: 54.4 MB / 61.68 MB, free: 11.16 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.001551/0.001551, allocations: 184.9 kB / 75.37 MB, free: 1.5 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.625/1.625, allocations: 194.2 MB / 283.2 MB, free: 3.559 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.00196/0.00196, allocations: 120.2 kB / 341.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.116e-06/8.146e-06, allocations: 4 kB / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 57.64 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.5248, allocations: 85.13 MB / 0.5349 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5252, allocations: 76.52 kB / 0.535 GB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002713/0.5279, allocations: 0.6552 MB / 0.5356 GB, free: 11.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.5279, allocations: 4 kB / 0.5356 GB, free: 11.35 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003554/0.5283, allocations: 342.3 kB / 0.5359 GB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5284, allocations: 15.97 kB / 0.5359 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.5285, allocations: 0 / 0.5359 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.5286, allocations: 168.4 kB / 0.5361 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.5286, allocations: 3.906 kB / 0.5361 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.5287, allocations: 0 / 0.5361 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.276e-05/0.5287, allocations: 11.98 kB / 0.5361 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.463e-05/0.5288, allocations: 36.88 kB / 0.5361 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5288, allocations: 0 / 0.5361 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.5288, allocations: 0 / 0.5361 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5289, allocations: 4 kB / 0.5362 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.5292, allocations: 236 kB / 0.5364 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.418e-05/0.5293, allocations: 25.7 kB / 0.5364 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.5293, allocations: 12.23 kB / 0.5364 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.5293, allocations: 4.062 kB / 0.5364 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.5294, allocations: 34.56 kB / 0.5365 GB, free: 10.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5294, allocations: 0 / 0.5365 GB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001521/0.5295, allocations: 41.38 kB / 0.5365 GB, free: 10.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.5296, allocations: 51.41 kB / 0.5365 GB, free: 10.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.5296, allocations: 91.69 kB / 0.5366 GB, free: 10.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.5297, allocations: 30.52 kB / 0.5367 GB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.5297, allocations: 87.11 kB / 0.5367 GB, free: 10.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.5297, allocations: 7.938 kB / 0.5367 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-06/0.5297, allocations: 4.031 kB / 0.5367 GB, free: 10.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5298, allocations: 318.7 kB / 0.5371 GB, free: 9.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.5299, allocations: 7.438 kB / 0.5371 GB, free: 9.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.5299, allocations: 0 / 0.5371 GB, free: 9.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.5299, allocations: 7.312 kB / 0.5371 GB, free: 9.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5299, allocations: 1.969 kB / 0.5371 GB, free: 9.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.633e-05/0.53, allocations: 36.39 kB / 0.5371 GB, free: 9.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.53, allocations: 8 kB / 0.5371 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.53, allocations: 4.094 kB / 0.5371 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.53, allocations: 0 / 0.5371 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.5301, allocations: 15.98 kB / 0.5371 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5302, allocations: 0 / 0.5371 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.5302, allocations: 15.89 kB / 0.5371 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.5302, allocations: 4 kB / 0.5371 GB, free: 9.598 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 7.103e-05/0.5303, allocations: 105 kB / 0.5373 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.5304, allocations: 3.938 kB / 0.5373 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.5305, allocations: 50.02 kB / 0.5373 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5305, allocations: 7.906 kB / 0.5373 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5305, allocations: 0 / 0.5373 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5305, allocations: 3.984 kB / 0.5373 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.5307, allocations: 139.7 kB / 0.5374 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5307, allocations: 0 / 0.5374 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.227e-05/0.5307, allocations: 15.98 kB / 0.5375 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5308, allocations: 3.938 kB / 0.5375 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.5308, allocations: 0 / 0.5375 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5308, allocations: 0 / 0.5375 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5308, allocations: 3.906 kB / 0.5375 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001074/0.5309, allocations: 146.8 kB / 0.5376 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.531, allocations: 81.02 kB / 0.5377 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.531, allocations: 4 kB / 0.5377 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.5311, allocations: 7.984 kB / 0.5377 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.5311, allocations: 4.281 kB / 0.5377 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5311, allocations: 3.938 kB / 0.5377 GB, free: 8.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.587e-05/0.5312, allocations: 87.27 kB / 0.5378 GB, free: 8.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.5314, allocations: 4 kB / 0.5378 GB, free: 8.875 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 (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.0001037/0.5315, allocations: 99.23 kB / 0.5379 GB, free: 8.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.5316, allocations: 11.62 kB / 0.5379 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5316, allocations: 2.625 kB / 0.5379 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.5316, allocations: 11.94 kB / 0.5379 GB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.5318, allocations: 3.75 kB / 0.5379 GB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.532, allocations: 70.88 kB / 0.538 GB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.5323, allocations: 0.6958 MB / 0.5387 GB, free: 7.938 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5323, allocations: 0 / 0.5387 GB, free: 7.938 MB / 378.7 MB Notification: Performance of Templates: time 0.002202/0.5345, allocations: 448.8 kB / 0.5391 GB, free: 7.512 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)