Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003623/0.003623, allocations: 183.5 kB / 7.451 MB, free: 2.52 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.228/1.228, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001672/0.001672, allocations: 123.8 kB / 217.7 MB, free: 8.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.931e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07718/0.07721, allocations: 38.76 MB / 300.5 MB, free: 3.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7866/0.8639, allocations: 431.5 MB / 0.7149 GB, free: 27.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.8642, allocations: 62.48 kB / 0.7149 GB, free: 27.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.04954/0.9137, allocations: 24.25 MB / 0.7386 GB, free: 7.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.9138, allocations: 4 kB / 0.7386 GB, free: 7.023 MB / 362.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.0006993/0.9145, allocations: 435.1 kB / 0.739 GB, free: 6.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9145, allocations: 8.031 kB / 0.739 GB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005772/0.9203, allocations: 0.5419 MB / 0.7396 GB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.9204, allocations: 163 kB / 0.7397 GB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.9204, allocations: 0 / 0.7397 GB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.9205, allocations: 15.91 kB / 0.7397 GB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004623/0.921, allocations: 227.9 kB / 0.7399 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.9212, allocations: 113.5 kB / 0.7401 GB, free: 5.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.9212, allocations: 3.938 kB / 0.7401 GB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.9212, allocations: 0 / 0.7401 GB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9212, allocations: 4 kB / 0.7401 GB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009453/0.9222, allocations: 401.2 kB / 0.7404 GB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.9229, allocations: 157.5 kB / 0.7406 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.923, allocations: 60.94 kB / 0.7407 GB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.923, allocations: 3.984 kB / 0.7407 GB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.9231, allocations: 34.56 kB / 0.7407 GB, free: 4.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.9231, allocations: 0 / 0.7407 GB, free: 4.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001206/0.9243, allocations: 297.4 kB / 0.741 GB, free: 4.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.9243, allocations: 51.41 kB / 0.741 GB, free: 4.383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.9244, allocations: 96.98 kB / 0.7411 GB, free: 4.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.9244, allocations: 25.7 kB / 0.7411 GB, free: 4.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.9245, allocations: 99.89 kB / 0.7412 GB, free: 4.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.9245, allocations: 51.2 kB / 0.7413 GB, free: 4.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.9245, allocations: 4 kB / 0.7413 GB, free: 4.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.9246, allocations: 318.8 kB / 0.7416 GB, free: 3.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/0.9247, allocations: 52.38 kB / 0.7416 GB, free: 3.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.9248, allocations: 93.41 kB / 0.7417 GB, free: 3.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.9249, allocations: 71.81 kB / 0.7418 GB, free: 3.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.9249, allocations: 0 / 0.7418 GB, free: 3.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003051/0.9252, allocations: 193.4 kB / 0.742 GB, free: 3.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.9252, allocations: 4 kB / 0.742 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9253, allocations: 0 / 0.742 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.9253, allocations: 7.938 kB / 0.742 GB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.9257, allocations: 51.86 kB / 0.742 GB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9257, allocations: 3.938 kB / 0.742 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.9259, allocations: 16.11 kB / 0.7421 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.926, allocations: 15.98 kB / 0.7421 GB, free: 3.25 MB / 362.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 8.641e-05/0.9261, allocations: 105 kB / 0.7422 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.9261, allocations: 7.906 kB / 0.7422 GB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.9267, allocations: 238.1 kB / 0.7424 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9267, allocations: 4 kB / 0.7424 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.9267, allocations: 4 kB / 0.7424 GB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9267, allocations: 0 / 0.7424 GB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/0.9275, allocations: 0.4896 MB / 0.7429 GB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9276, allocations: 0 / 0.7429 GB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.9279, allocations: 55.95 kB / 0.7429 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.9279, allocations: 4 kB / 0.743 GB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.928, allocations: 8 kB / 0.743 GB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.928, allocations: 3.984 kB / 0.743 GB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.928, allocations: 0 / 0.743 GB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003181/0.9283, allocations: 304.6 kB / 0.7433 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.9283, allocations: 81.02 kB / 0.7433 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.9284, allocations: 4 kB / 0.7433 GB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.9287, allocations: 11.89 kB / 0.7433 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.9287, allocations: 19.97 kB / 0.7434 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.9288, allocations: 8 kB / 0.7434 GB, free: 1.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.935e-05/0.9288, allocations: 83.28 kB / 0.7435 GB, free: 1.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004726/0.9293, allocations: 75.92 kB / 0.7435 GB, free: 1.645 MB / 362.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.0007579/0.93, allocations: 0.5916 MB / 0.7441 GB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.9303, allocations: 155.8 kB / 0.7443 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.9303, allocations: 3.938 kB / 0.7443 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.9305, allocations: 87.84 kB / 0.7443 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.9308, allocations: 27.91 kB / 0.7444 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.9314, allocations: 177.4 kB / 0.7445 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1214/1.053, allocations: 0.7455 MB / 0.7453 GB, free: 158.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/1.053, allocations: 0 / 0.7453 GB, free: 158.5 MB / 362.7 MB Notification: Performance of Templates: time 0.01012/1.063, allocations: 6.107 MB / 0.7512 GB, free: 158.3 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)