Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") [: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.1+maint.om/package.mo): time 0.005766/0.005767, allocations: 173.6 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.296/1.296, allocations: 170.6 MB / 178.4 MB, free: 15.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001742/0.001742, allocations: 119.8 kB / 217.7 MB, free: 8.164 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.293e-06/7.323e-06, allocations: 0 / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 38.76 MB / 300.5 MB, free: 3.914 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.708/8.811, allocations: 3.693 GB / 3.986 GB, free: 51.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/8.811, allocations: 63.97 kB / 3.986 GB, free: 51.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1106/8.922, allocations: 47.82 MB / 4.033 GB, free: 2.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.246e-05/8.922, allocations: 7.938 kB / 4.033 GB, free: 2.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002218/8.924, allocations: 0.6355 MB / 4.033 GB, free: 2.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/8.924, allocations: 12.03 kB / 4.033 GB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/8.925, allocations: 15.81 kB / 4.034 GB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/8.925, allocations: 214.8 kB / 4.034 GB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/8.925, allocations: 4 kB / 4.034 GB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/8.925, allocations: 15.94 kB / 4.034 GB, free: 2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004522/8.926, allocations: 212.6 kB / 4.034 GB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/8.926, allocations: 217.2 kB / 4.034 GB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/8.926, allocations: 3.906 kB / 4.034 GB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/8.926, allocations: 4 kB / 4.034 GB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/8.926, allocations: 4 kB / 4.034 GB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/8.928, allocations: 0.6572 MB / 4.035 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/8.928, allocations: 177.2 kB / 4.035 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/8.928, allocations: 109.7 kB / 4.035 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/8.929, allocations: 356.4 kB / 4.035 GB, free: 120 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/8.929, allocations: 34.56 kB / 4.035 GB, free: 76 kB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.264e-06/8.929, allocations: 0 / 4.035 GB, free: 76 kB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.2002/9.129, allocations: 0.4923 MB / 4.036 GB, free: 124.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/9.129, allocations: 80.61 kB / 4.036 GB, free: 124.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/9.129, allocations: 107.8 kB / 4.036 GB, free: 124 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/9.129, allocations: 31.92 kB / 4.036 GB, free: 124 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/9.129, allocations: 108.1 kB / 4.036 GB, free: 123.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/9.129, allocations: 118.5 kB / 4.036 GB, free: 123.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/9.129, allocations: 0 / 4.036 GB, free: 123.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/9.129, allocations: 326.9 kB / 4.037 GB, free: 123.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/9.13, allocations: 103.4 kB / 4.037 GB, free: 123.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/9.13, allocations: 172.3 kB / 4.037 GB, free: 123.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/9.13, allocations: 142.5 kB / 4.037 GB, free: 123.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/9.13, allocations: 0 / 4.037 GB, free: 123.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006096/9.131, allocations: 351.2 kB / 4.037 GB, free: 123.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/9.131, allocations: 10.06 kB / 4.037 GB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/9.131, allocations: 5.5 kB / 4.037 GB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/9.131, allocations: 6.969 kB / 4.037 GB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/9.131, allocations: 87.64 kB / 4.037 GB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/9.131, allocations: 8.484 kB / 4.038 GB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/9.132, allocations: 20.66 kB / 4.038 GB, free: 123.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/9.132, allocations: 16.66 kB / 4.038 GB, free: 123.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001028/9.132, allocations: 116 kB / 4.038 GB, free: 123.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/9.132, allocations: 17.44 kB / 4.038 GB, free: 123.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/9.132, allocations: 188.2 kB / 4.038 GB, free: 123.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/9.132, allocations: 3.375 kB / 4.038 GB, free: 123.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/9.132, allocations: 0 / 4.038 GB, free: 123.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/9.132, allocations: 7.719 kB / 4.038 GB, free: 123.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/9.134, allocations: 0.6621 MB / 4.039 GB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/9.134, allocations: 0 / 4.039 GB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/9.134, allocations: 79.16 kB / 4.039 GB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/9.134, allocations: 3.938 kB / 4.039 GB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/9.134, allocations: 9.969 kB / 4.039 GB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/9.134, allocations: 11.03 kB / 4.039 GB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/9.134, allocations: 3.281 kB / 4.039 GB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008492/9.135, allocations: 0.7055 MB / 4.039 GB, free: 122.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/9.135, allocations: 116 kB / 4.039 GB, free: 122.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/9.135, allocations: 3.562 kB / 4.039 GB, free: 122.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/9.136, allocations: 23.84 kB / 4.039 GB, free: 122.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/9.136, allocations: 23.7 kB / 4.039 GB, free: 122.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/9.136, allocations: 12.44 kB / 4.039 GB, free: 122.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.615e-05/9.136, allocations: 94.03 kB / 4.04 GB, free: 122.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008026/9.136, allocations: 166.1 kB / 4.04 GB, free: 122.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001152/9.138, allocations: 0.7375 MB / 4.04 GB, free: 122.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004744/9.138, allocations: 278.2 kB / 4.041 GB, free: 122.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/9.138, allocations: 2.531 kB / 4.041 GB, free: 122.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/9.138, allocations: 152.6 kB / 4.041 GB, free: 122.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/9.139, allocations: 77.28 kB / 4.041 GB, free: 122.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/9.14, allocations: 493.3 kB / 4.041 GB, free: 122.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/9.141, allocations: 0.7865 MB / 4.042 GB, free: 121.4 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/9.141, allocations: 0 / 4.042 GB, free: 121.4 MB / 346.7 MB Notification: Performance of Templates: time 0.01371/9.155, allocations: 9.131 MB / 4.051 GB, free: 121 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)