Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") [: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.006772/0.006772, allocations: 174.5 kB / 7.45 MB, free: 2.504 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.481/1.481, 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.001794/0.001794, allocations: 112.6 kB / 217.7 MB, free: 8.172 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1874/0.1874, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.295e-06/8.325e-06, allocations: 1.438 kB / 349.5 MB, free: 37.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 48.7 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4884/0.6009, allocations: 183.6 MB / 0.5682 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.6012, allocations: 78.52 kB / 0.5682 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1268/0.728, allocations: 43.72 MB / 0.6109 GB, free: 7.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.7281, allocations: 0 / 0.6109 GB, free: 7.625 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001754/0.7298, allocations: 0.6225 MB / 0.6115 GB, free: 6.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.092e-05/0.7299, allocations: 15.91 kB / 0.6115 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.7306, allocations: 35.78 kB / 0.6116 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.731, allocations: 218.8 kB / 0.6118 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.731, allocations: 4 kB / 0.6118 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.7311, allocations: 12 kB / 0.6118 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003689/0.7315, allocations: 207.8 kB / 0.612 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.7318, allocations: 208.8 kB / 0.6122 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.7319, allocations: 3.906 kB / 0.6122 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.7319, allocations: 4 kB / 0.6122 GB, free: 6.188 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7319, allocations: 4 kB / 0.6122 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.735, allocations: 2.402 MB / 0.6146 GB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.7352, allocations: 49.7 kB / 0.6146 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.752e-05/0.7352, allocations: 24.86 kB / 0.6146 GB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/0.7357, allocations: 344.4 kB / 0.615 GB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.736, allocations: 118 kB / 0.6151 GB, free: 2.793 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.597e-06/0.736, allocations: 0 / 0.6151 GB, free: 2.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001218/0.7372, allocations: 216.4 kB / 0.6153 GB, free: 2.574 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.7373, allocations: 102.8 kB / 0.6154 GB, free: 2.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.7376, allocations: 159 kB / 0.6155 GB, free: 2.285 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.7376, allocations: 25.7 kB / 0.6155 GB, free: 2.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.7377, allocations: 155.5 kB / 0.6157 GB, free: 2.098 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.7378, allocations: 51.3 kB / 0.6157 GB, free: 2.047 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.7378, allocations: 0 / 0.6157 GB, free: 2.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.738, allocations: 322.8 kB / 0.6161 GB, free: 1.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.738, allocations: 39.84 kB / 0.6161 GB, free: 1.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.7382, allocations: 171.2 kB / 0.6163 GB, free: 1.445 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.7394, allocations: 147.8 kB / 0.6164 GB, free: 1.301 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.7394, allocations: 0 / 0.6164 GB, free: 1.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001272/0.7407, allocations: 297 kB / 0.6167 GB, free: 1.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.7407, allocations: 4 kB / 0.6167 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.7407, allocations: 8 kB / 0.6167 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.7407, allocations: 8 kB / 0.6167 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.7414, allocations: 108.4 kB / 0.6168 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000525/0.7419, allocations: 0.606 MB / 0.6174 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.7421, allocations: 4 kB / 0.6174 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.7422, allocations: 27.92 kB / 0.6174 GB, free: 224 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.000167/0.7424, allocations: 116.6 kB / 0.6175 GB, free: 100 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.7424, allocations: 19.75 kB / 0.6176 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1738/0.9162, allocations: 268 kB / 0.6178 GB, free: 191.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.9163, allocations: 0 / 0.6178 GB, free: 191.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9163, allocations: 0 / 0.6178 GB, free: 191.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.9163, allocations: 0 / 0.6178 GB, free: 191.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.917, allocations: 387 kB / 0.6182 GB, free: 191.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.917, allocations: 3.891 kB / 0.6182 GB, free: 191.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.9175, allocations: 59.77 kB / 0.6182 GB, free: 191.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.9175, allocations: 3.75 kB / 0.6182 GB, free: 191.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.9175, allocations: 3.438 kB / 0.6182 GB, free: 191.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003288/0.9178, allocations: 0.5885 MB / 0.6188 GB, free: 191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9179, allocations: 3.969 kB / 0.6188 GB, free: 191 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003674/0.9182, allocations: 226.2 kB / 0.619 GB, free: 190.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.9184, allocations: 124 kB / 0.6192 GB, free: 190.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.9185, allocations: 3.969 kB / 0.6192 GB, free: 190.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.9186, allocations: 3.703 kB / 0.6192 GB, free: 190.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.9187, allocations: 7.609 kB / 0.6192 GB, free: 190.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.9187, allocations: 11.47 kB / 0.6192 GB, free: 190.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.753e-05/0.9188, allocations: 108.1 kB / 0.6193 GB, free: 190.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008532/0.9196, allocations: 186.3 kB / 0.6195 GB, free: 190.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0009509/0.9206, allocations: 338.4 kB / 0.6198 GB, free: 190.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.9211, allocations: 139.1 kB / 0.6199 GB, free: 190.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9211, allocations: 3.844 kB / 0.6199 GB, free: 190.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.9213, allocations: 49.02 kB / 0.62 GB, free: 190.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.9216, allocations: 20.83 kB / 0.62 GB, free: 190.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02888/0.9505, allocations: 11.47 MB / 0.6312 GB, free: 190.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.9509, allocations: 0.7575 MB / 0.6319 GB, free: 189.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.951, allocations: 0 / 0.6319 GB, free: 189.6 MB / 426.7 MB Notification: Performance of Templates: time 0.01048/0.9615, allocations: 4.871 MB / 0.6367 GB, free: 189.3 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1)