Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.conf.json 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) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") [: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/Complex 3.2.2+maint.om/package.mo): time 0.001715/0.001715, allocations: 191.6 kB / 8.135 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.182/1.182, allocations: 194.2 MB / 202.8 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001772/0.001772, allocations: 121.7 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.3e-06/5.33e-06, allocations: 0 / 297.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07256/0.07258, allocations: 44.5 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6722/0.7448, allocations: 437.3 MB / 0.761 GB, free: 52.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.745, allocations: 67.97 kB / 0.7611 GB, free: 52.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05326/0.7983, allocations: 24.25 MB / 0.7848 GB, free: 27.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.7983, allocations: 0 / 0.7848 GB, free: 27.95 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007021/0.799, allocations: 436.5 kB / 0.7852 GB, free: 27.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.7991, allocations: 12.03 kB / 0.7852 GB, free: 27.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.8057, allocations: 0.5368 MB / 0.7857 GB, free: 26.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.519e-05/0.8058, allocations: 166.9 kB / 0.7859 GB, free: 26.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.8058, allocations: 7.984 kB / 0.7859 GB, free: 26.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.8059, allocations: 4 kB / 0.7859 GB, free: 26.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004732/0.8064, allocations: 227.9 kB / 0.7861 GB, free: 26.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.8066, allocations: 106.4 kB / 0.7862 GB, free: 26.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8066, allocations: 5.5 kB / 0.7862 GB, free: 26.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.8066, allocations: 0 / 0.7862 GB, free: 26.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.8067, allocations: 8 kB / 0.7863 GB, free: 26.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.8076, allocations: 397.3 kB / 0.7866 GB, free: 25.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.8084, allocations: 153.6 kB / 0.7868 GB, free: 25.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.697e-05/0.8085, allocations: 56.94 kB / 0.7868 GB, free: 25.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.8085, allocations: 7.938 kB / 0.7868 GB, free: 25.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.064e-05/0.8086, allocations: 30.56 kB / 0.7869 GB, free: 25.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.8086, allocations: 0 / 0.7869 GB, free: 25.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001223/0.8098, allocations: 293.4 kB / 0.7871 GB, free: 25.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.8098, allocations: 55.41 kB / 0.7872 GB, free: 25.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.8099, allocations: 100.9 kB / 0.7873 GB, free: 25.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.8099, allocations: 25.7 kB / 0.7873 GB, free: 25.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.8099, allocations: 91.89 kB / 0.7874 GB, free: 25.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.81, allocations: 55.2 kB / 0.7875 GB, free: 25.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.81, allocations: 0 / 0.7875 GB, free: 25.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.8101, allocations: 330.7 kB / 0.7878 GB, free: 24.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.8102, allocations: 55 kB / 0.7878 GB, free: 24.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.8103, allocations: 92.83 kB / 0.7879 GB, free: 24.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.8104, allocations: 61.53 kB / 0.788 GB, free: 24.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.8104, allocations: 4 kB / 0.788 GB, free: 24.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000337/0.8108, allocations: 196.8 kB / 0.7882 GB, free: 24.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.8108, allocations: 4 kB / 0.7882 GB, free: 24.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8108, allocations: 4 kB / 0.7882 GB, free: 24.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8108, allocations: 0 / 0.7882 GB, free: 24.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.8113, allocations: 47.95 kB / 0.7882 GB, free: 24.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8113, allocations: 4 kB / 0.7882 GB, free: 24.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.8116, allocations: 16.11 kB / 0.7882 GB, free: 24.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.8116, allocations: 11.98 kB / 0.7883 GB, free: 24.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.168e-05/0.8117, allocations: 112.7 kB / 0.7884 GB, free: 24.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.8118, allocations: 8.094 kB / 0.7884 GB, free: 24.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.8124, allocations: 245.6 kB / 0.7886 GB, free: 23.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.8124, allocations: 4 kB / 0.7886 GB, free: 23.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8124, allocations: 0 / 0.7886 GB, free: 23.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8124, allocations: 0 / 0.7886 GB, free: 23.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.8133, allocations: 0.4939 MB / 0.7891 GB, free: 23.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8133, allocations: 0 / 0.7891 GB, free: 23.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.8137, allocations: 48.02 kB / 0.7891 GB, free: 23.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.8137, allocations: 0 / 0.7891 GB, free: 23.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.8137, allocations: 11.98 kB / 0.7891 GB, free: 23.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8137, allocations: 8 kB / 0.7892 GB, free: 23.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8137, allocations: 3.938 kB / 0.7892 GB, free: 23.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003196/0.8141, allocations: 300.5 kB / 0.7894 GB, free: 22.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.8141, allocations: 89 kB / 0.7895 GB, free: 22.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.8142, allocations: 0 / 0.7895 GB, free: 22.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.8145, allocations: 13.39 kB / 0.7895 GB, free: 22.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.8145, allocations: 7.984 kB / 0.7895 GB, free: 22.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.8146, allocations: 12 kB / 0.7896 GB, free: 22.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.857e-05/0.8146, allocations: 87.27 kB / 0.7896 GB, free: 22.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004132/0.815, allocations: 68 kB / 0.7897 GB, free: 22.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.000604/0.8156, allocations: 0.6042 MB / 0.7903 GB, free: 22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.8159, allocations: 151.8 kB / 0.7904 GB, free: 21.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8159, allocations: 0 / 0.7904 GB, free: 21.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.816, allocations: 79.92 kB / 0.7905 GB, free: 21.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.8164, allocations: 36.19 kB / 0.7906 GB, free: 21.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.817, allocations: 181.8 kB / 0.7907 GB, free: 21.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.8174, allocations: 0.7474 MB / 0.7915 GB, free: 20.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.8174, allocations: 0 / 0.7915 GB, free: 20.77 MB / 394.7 MB Notification: Performance of Templates: time 0.009125/0.8265, allocations: 6.106 MB / 0.7974 GB, free: 14.68 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)