Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2") [: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.002425/0.002425, allocations: 184 kB / 7.456 MB, free: 2.512 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.214/1.214, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.001661/0.001661, allocations: 117.4 kB / 247.1 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1793/0.1793, allocations: 39.94 MB / 331.9 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.041e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.208, allocations: 492 MB / 0.9176 GB, free: 144.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.209, allocations: 76.83 kB / 0.9177 GB, free: 144.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.1277/1.337, allocations: 56.43 MB / 0.9728 GB, free: 87.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.695e-05/1.337, allocations: 4 kB / 0.9728 GB, free: 87.91 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002428/1.339, allocations: 0.6973 MB / 0.9735 GB, free: 87.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/1.339, allocations: 12.03 kB / 0.9735 GB, free: 87.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007552/1.347, allocations: 0.7055 MB / 0.9742 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/1.347, allocations: 262.5 kB / 0.9744 GB, free: 86.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/1.347, allocations: 115.3 kB / 0.9746 GB, free: 86.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/1.348, allocations: 12 kB / 0.9746 GB, free: 86 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00105/1.349, allocations: 0.5513 MB / 0.9751 GB, free: 85.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/1.349, allocations: 311.5 kB / 0.9754 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.349, allocations: 0 / 0.9754 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/1.349, allocations: 3.906 kB / 0.9754 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/1.349, allocations: 12 kB / 0.9754 GB, free: 85.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/1.352, allocations: 2.548 MB / 0.9779 GB, free: 82.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.353, allocations: 118.6 kB / 0.978 GB, free: 82.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/1.353, allocations: 40.98 kB / 0.9781 GB, free: 82.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/1.353, allocations: 24.69 kB / 0.9781 GB, free: 82.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/1.353, allocations: 34.56 kB / 0.9781 GB, free: 82.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 2.093e-06/1.353, allocations: 0 / 0.9781 GB, free: 82.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.003162/1.356, allocations: 0.4945 MB / 0.9786 GB, free: 81.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/1.356, allocations: 51.41 kB / 0.9786 GB, free: 81.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/1.357, allocations: 187 kB / 0.9788 GB, free: 81.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/1.357, allocations: 29.7 kB / 0.9789 GB, free: 81.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/1.357, allocations: 210.8 kB / 0.9791 GB, free: 80.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/1.357, allocations: 39.55 kB / 0.9791 GB, free: 80.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/1.357, allocations: 288 / 0.9791 GB, free: 80.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.634e-05/1.357, allocations: 326.7 kB / 0.9794 GB, free: 80.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/1.357, allocations: 60.86 kB / 0.9795 GB, free: 80.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/1.357, allocations: 262 kB / 0.9797 GB, free: 80.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.358, allocations: 311.5 kB / 0.98 GB, free: 79.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.358, allocations: 8 kB / 0.98 GB, free: 79.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001518/1.36, allocations: 0.5276 MB / 0.9805 GB, free: 79.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.36, allocations: 8.938 kB / 0.9805 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.36, allocations: 4 kB / 0.9805 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.36, allocations: 12 kB / 0.9806 GB, free: 79.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/1.36, allocations: 167.8 kB / 0.9807 GB, free: 79.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002842/1.361, allocations: 0.6093 MB / 0.9813 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/1.361, allocations: 8 kB / 0.9813 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/1.361, allocations: 55.98 kB / 0.9814 GB, free: 78.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.361, allocations: 117 kB / 0.9815 GB, free: 78.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/1.361, allocations: 27.73 kB / 0.9815 GB, free: 78.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007531/1.362, allocations: 295.6 kB / 0.9818 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.362, allocations: 0 / 0.9818 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.362, allocations: 4 kB / 0.9818 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.362, allocations: 0 / 0.9818 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/1.363, allocations: 456.5 kB / 0.9822 GB, free: 77.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.363, allocations: 0 / 0.9822 GB, free: 77.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/1.363, allocations: 79.88 kB / 0.9823 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/1.363, allocations: 4 kB / 0.9823 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.363, allocations: 7.984 kB / 0.9823 GB, free: 77.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002408/1.363, allocations: 0.6016 MB / 0.9829 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.363, allocations: 0 / 0.9829 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002595/1.364, allocations: 272.5 kB / 0.9832 GB, free: 76.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/1.364, allocations: 116.9 kB / 0.9833 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/1.364, allocations: 4.094 kB / 0.9833 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/1.364, allocations: 15.92 kB / 0.9833 GB, free: 76.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/1.364, allocations: 15.89 kB / 0.9833 GB, free: 76.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/1.364, allocations: 23.98 kB / 0.9833 GB, free: 76.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.958e-05/1.364, allocations: 143.2 kB / 0.9835 GB, free: 76.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001148/1.365, allocations: 275.7 kB / 0.9837 GB, free: 75.91 MB / 490.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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002252/1.368, allocations: 0.8771 MB / 0.9846 GB, free: 75.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005935/1.368, allocations: 221.3 kB / 0.9848 GB, free: 74.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.368, allocations: 96 / 0.9848 GB, free: 74.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/1.369, allocations: 95.83 kB / 0.9849 GB, free: 74.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/1.369, allocations: 23.98 kB / 0.9849 GB, free: 74.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09463/1.463, allocations: 30.1 MB / 1.014 GB, free: 44.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/1.464, allocations: 0.8412 MB / 1.015 GB, free: 43.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.464, allocations: 7.938 kB / 1.015 GB, free: 43.57 MB / 490.7 MB Notification: Performance of Templates: time 0.01689/1.481, allocations: 10.89 MB / 1.026 GB, free: 32.68 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)