Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") [: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.003911/0.003911, allocations: 177.5 kB / 7.453 MB, free: 2.508 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.273/1.273, allocations: 170.6 MB / 178.4 MB, free: 15.8 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.001767/0.001767, allocations: 107.9 kB / 217.7 MB, free: 8.578 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.002e-06/6.111e-06, allocations: 0 / 261.7 MB, free: 26.72 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07175/0.07177, allocations: 38.76 MB / 300.5 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5165/0.5883, allocations: 181.5 MB / 482 MB, free: 129.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.5886, allocations: 73.11 kB / 482.1 MB, free: 129.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04844/0.637, allocations: 21.9 MB / 0.4922 GB, free: 108.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.6371, allocations: 4 kB / 0.4922 GB, free: 108.9 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004511/0.6375, allocations: 427.1 kB / 0.4926 GB, free: 108.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.6376, allocations: 11.97 kB / 0.4926 GB, free: 108.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.6379, allocations: 39.72 kB / 0.4927 GB, free: 108.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.6381, allocations: 191 kB / 0.4928 GB, free: 108.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.6381, allocations: 0 / 0.4928 GB, free: 108.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.6382, allocations: 4 kB / 0.4928 GB, free: 108.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001714/0.6383, allocations: 103.9 kB / 0.4929 GB, free: 108.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.6385, allocations: 121 kB / 0.4931 GB, free: 107.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6385, allocations: 0 / 0.4931 GB, free: 107.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.6385, allocations: 0 / 0.4931 GB, free: 107.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6386, allocations: 4 kB / 0.4931 GB, free: 107.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.6391, allocations: 0.5993 MB / 0.4937 GB, free: 107.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.6392, allocations: 74.56 kB / 0.4937 GB, free: 107.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.6393, allocations: 32.86 kB / 0.4938 GB, free: 107.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/0.6397, allocations: 0.8037 MB / 0.4945 GB, free: 106.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.6397, allocations: 34.56 kB / 0.4946 GB, free: 106.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.6398, allocations: 0 / 0.4946 GB, free: 106.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006314/0.6404, allocations: 141.6 kB / 0.4947 GB, free: 106 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.607e-05/0.6404, allocations: 51.41 kB / 0.4948 GB, free: 105.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.6405, allocations: 105.2 kB / 0.4949 GB, free: 105.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.6405, allocations: 25.7 kB / 0.4949 GB, free: 105.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.6405, allocations: 103.9 kB / 0.495 GB, free: 105.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.6406, allocations: 39.36 kB / 0.495 GB, free: 105.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.6406, allocations: 0 / 0.495 GB, free: 105.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.6406, allocations: 318.8 kB / 0.4953 GB, free: 105.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.6407, allocations: 19.98 kB / 0.4953 GB, free: 105.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.6407, allocations: 69.16 kB / 0.4954 GB, free: 105.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.6412, allocations: 72.73 kB / 0.4955 GB, free: 105.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6412, allocations: 3.906 kB / 0.4955 GB, free: 105.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000548/0.6417, allocations: 161.5 kB / 0.4956 GB, free: 105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6418, allocations: 7.984 kB / 0.4956 GB, free: 105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6418, allocations: 4 kB / 0.4956 GB, free: 105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6418, allocations: 384 / 0.4956 GB, free: 105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.6419, allocations: 31.92 kB / 0.4957 GB, free: 104.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6419, allocations: 4 kB / 0.4957 GB, free: 104.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.642, allocations: 15.78 kB / 0.4957 GB, free: 104.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.642, allocations: 11.94 kB / 0.4957 GB, free: 104.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.129e-05/0.6421, allocations: 109.9 kB / 0.4958 GB, free: 104.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.6421, allocations: 7.906 kB / 0.4958 GB, free: 104.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006411/0.6428, allocations: 190.2 kB / 0.496 GB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6428, allocations: 0 / 0.496 GB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6428, allocations: 4 kB / 0.496 GB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6428, allocations: 0 / 0.496 GB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.6435, allocations: 386.9 kB / 0.4964 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6435, allocations: 0 / 0.4964 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.6436, allocations: 19.98 kB / 0.4964 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6436, allocations: 0 / 0.4964 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.6436, allocations: 7.984 kB / 0.4964 GB, free: 104.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6436, allocations: 4 kB / 0.4964 GB, free: 104.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.6437, allocations: 3.906 kB / 0.4964 GB, free: 104.1 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004762/0.6441, allocations: 231.3 kB / 0.4966 GB, free: 103.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.6442, allocations: 101 kB / 0.4967 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.6442, allocations: 0 / 0.4967 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.6443, allocations: 4 kB / 0.4967 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.6444, allocations: 3.984 kB / 0.4967 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.6444, allocations: 8 kB / 0.4967 GB, free: 103.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.117e-05/0.6444, allocations: 91.28 kB / 0.4968 GB, free: 103.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003384/0.6448, allocations: 63.83 kB / 0.4969 GB, free: 103.6 MB / 346.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 (13): * Single equations (assignments): 13 * 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.0002609/0.645, allocations: 155.1 kB / 0.497 GB, free: 103.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.6452, allocations: 75.92 kB / 0.4971 GB, free: 103.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6452, allocations: 0 / 0.4971 GB, free: 103.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.6452, allocations: 32 kB / 0.4971 GB, free: 103.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.6456, allocations: 44.42 kB / 0.4972 GB, free: 103.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.6459, allocations: 119.3 kB / 0.4973 GB, free: 103.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.6461, allocations: 0.7274 MB / 0.498 GB, free: 102.4 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6461, allocations: 0 / 0.498 GB, free: 102.4 MB / 346.7 MB Notification: Performance of Templates: time 0.004727/0.6508, allocations: 2.494 MB / 0.5004 GB, free: 99.91 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)