Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [: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.2655/0.2655, allocations: 54.39 MB / 61.68 MB, free: 11.19 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.001159/0.00116, allocations: 193.8 kB / 75.38 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.58/1.58, allocations: 194.2 MB / 283.2 MB, free: 3.582 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.00181/0.001809, allocations: 112 kB / 341.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.554e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 57.65 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5317, allocations: 111.3 MB / 0.5605 GB, free: 1.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.532, allocations: 80.7 kB / 0.5605 GB, free: 1.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.003756/0.5358, allocations: 1.297 MB / 0.5618 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.5358, allocations: 0 / 0.5618 GB, free: 0.5508 MB / 394.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.0003121/0.5362, allocations: 322.5 kB / 0.5621 GB, free: 200 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5362, allocations: 11.97 kB / 0.5621 GB, free: 188 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.5362, allocations: 4 kB / 0.5621 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.5364, allocations: 167.9 kB / 0.5623 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.5365, allocations: 29.7 kB / 0.5623 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.5365, allocations: 3.906 kB / 0.5623 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.193e-05/0.5366, allocations: 4 kB / 0.5623 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.515e-05/0.5367, allocations: 41.38 kB / 0.5624 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.5367, allocations: 0 / 0.5624 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.5367, allocations: 0 / 0.5624 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.5367, allocations: 0.75 kB / 0.5624 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.5369, allocations: 134 kB / 0.5625 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.537, allocations: 26.58 kB / 0.5625 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.537, allocations: 16.36 kB / 0.5625 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.5372, allocations: 89.23 kB / 0.5626 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5373, allocations: 34.47 kB / 0.5627 GB, free: 15.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.5373, allocations: 0 / 0.5627 GB, free: 15.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002339/0.5375, allocations: 56.86 kB / 0.5627 GB, free: 15.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.5376, allocations: 55.34 kB / 0.5628 GB, free: 15.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.5376, allocations: 92.98 kB / 0.5629 GB, free: 15.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.5377, allocations: 26.47 kB / 0.5629 GB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.5377, allocations: 83.2 kB / 0.563 GB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.5378, allocations: 3.906 kB / 0.563 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.5378, allocations: 0 / 0.563 GB, free: 15.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5379, allocations: 314.8 kB / 0.5633 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.5379, allocations: 11.44 kB / 0.5633 GB, free: 14.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.538, allocations: 4 kB / 0.5633 GB, free: 14.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.5381, allocations: 10.06 kB / 0.5633 GB, free: 14.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5381, allocations: 0 / 0.5633 GB, free: 14.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001183/0.5382, allocations: 45 kB / 0.5633 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5382, allocations: 4 kB / 0.5633 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5382, allocations: 0 / 0.5633 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5382, allocations: 0 / 0.5633 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.5383, allocations: 11.92 kB / 0.5633 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5384, allocations: 7.984 kB / 0.5634 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.5384, allocations: 4 kB / 0.5634 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.5384, allocations: 0 / 0.5634 GB, free: 14.78 MB / 410.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 (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.13e-05/0.5385, allocations: 104.9 kB / 0.5635 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.5385, allocations: 4 kB / 0.5635 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.5387, allocations: 55.48 kB / 0.5635 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.5387, allocations: 0 / 0.5635 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5387, allocations: 0 / 0.5635 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5387, allocations: 3.906 kB / 0.5635 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.5388, allocations: 130.2 kB / 0.5636 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5388, allocations: 0 / 0.5636 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.5389, allocations: 8 kB / 0.5636 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.5389, allocations: 3.938 kB / 0.5637 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5389, allocations: 7.938 kB / 0.5637 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5389, allocations: 0 / 0.5637 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5389, allocations: 0 / 0.5637 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001204/0.539, allocations: 75.64 kB / 0.5637 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.5391, allocations: 77.11 kB / 0.5638 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.5392, allocations: 7.906 kB / 0.5638 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.239e-05/0.5392, allocations: 4 kB / 0.5638 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.5392, allocations: 3.984 kB / 0.5638 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.5393, allocations: 0 / 0.5638 GB, free: 14.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.172e-05/0.5393, allocations: 82.56 kB / 0.5639 GB, free: 14.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000198/0.5395, allocations: 11.94 kB / 0.5639 GB, free: 14.13 MB / 410.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.0002553/0.5398, allocations: 143.2 kB / 0.564 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.152e-05/0.5398, allocations: 15.39 kB / 0.5641 GB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5399, allocations: 11.94 kB / 0.5641 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.5399, allocations: 4.094 kB / 0.5641 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.5401, allocations: 11.73 kB / 0.5641 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.5403, allocations: 48.03 kB / 0.5641 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.5406, allocations: 0.6915 MB / 0.5648 GB, free: 13.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5406, allocations: 0 / 0.5648 GB, free: 13.16 MB / 410.7 MB Notification: Performance of Templates: time 0.00305/0.5437, allocations: 0.7327 MB / 0.5655 GB, free: 12.45 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)