Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa") [: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.00445/0.00445, allocations: 174.6 kB / 7.45 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.186/1.186, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001777/0.001777, allocations: 104.4 kB / 217.7 MB, free: 8.168 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.1716/0.1716, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.025e-05, allocations: 1.406 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.446/1.554, allocations: 0.5853 GB / 0.9742 GB, free: 131.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.555, allocations: 66.47 kB / 0.9743 GB, free: 131.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1441/1.699, allocations: 60.15 MB / 1.033 GB, free: 73.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/1.699, allocations: 4 kB / 1.033 GB, free: 73.83 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002414/1.701, allocations: 0.7167 MB / 1.034 GB, free: 73.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.701, allocations: 8.031 kB / 1.034 GB, free: 73.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007724/1.709, allocations: 0.7055 MB / 1.034 GB, free: 72.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/1.71, allocations: 254.8 kB / 1.035 GB, free: 72.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/1.71, allocations: 127.2 kB / 1.035 GB, free: 71.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/1.71, allocations: 12 kB / 1.035 GB, free: 71.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001299/1.712, allocations: 0.5474 MB / 1.035 GB, free: 71.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/1.712, allocations: 303.5 kB / 1.036 GB, free: 71.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.712, allocations: 4 kB / 1.036 GB, free: 71.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/1.712, allocations: 4 kB / 1.036 GB, free: 71.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/1.712, allocations: 4 kB / 1.036 GB, free: 71.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/1.715, allocations: 1.922 MB / 1.038 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.716, allocations: 110.5 kB / 1.038 GB, free: 68.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/1.716, allocations: 37.03 kB / 1.038 GB, free: 68.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.76e-05/1.716, allocations: 28.62 kB / 1.038 GB, free: 68.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.716, allocations: 38.56 kB / 1.038 GB, free: 68.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 3.566e-06/1.716, allocations: 4.188 kB / 1.038 GB, free: 68.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.003538/1.72, allocations: 498.4 kB / 1.038 GB, free: 68.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/1.72, allocations: 59.41 kB / 1.038 GB, free: 68.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/1.72, allocations: 193.4 kB / 1.038 GB, free: 67.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/1.72, allocations: 25.7 kB / 1.038 GB, free: 67.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/1.72, allocations: 214.8 kB / 1.039 GB, free: 67.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/1.72, allocations: 43.39 kB / 1.039 GB, free: 67.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/1.72, allocations: 0 / 1.039 GB, free: 67.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/1.721, allocations: 330.8 kB / 1.039 GB, free: 67.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/1.721, allocations: 60.86 kB / 1.039 GB, free: 67.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/1.721, allocations: 254 kB / 1.039 GB, free: 66.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/1.721, allocations: 127.8 kB / 1.039 GB, free: 66.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.721, allocations: 4 kB / 1.039 GB, free: 66.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008017/1.722, allocations: 364.8 kB / 1.04 GB, free: 66.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.722, allocations: 11.72 kB / 1.04 GB, free: 66.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.722, allocations: 4.906 kB / 1.04 GB, free: 66.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.722, allocations: 12 kB / 1.04 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/1.723, allocations: 175.7 kB / 1.04 GB, free: 66.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003139/1.723, allocations: 0.6093 MB / 1.041 GB, free: 65.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/1.724, allocations: 11.98 kB / 1.041 GB, free: 65.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/1.724, allocations: 59.98 kB / 1.041 GB, free: 65.48 MB / 426.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.0001163/1.724, allocations: 124.8 kB / 1.041 GB, free: 65.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/1.724, allocations: 15.81 kB / 1.041 GB, free: 65.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007716/1.725, allocations: 307.7 kB / 1.041 GB, free: 65.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.725, allocations: 0 / 1.041 GB, free: 65.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.725, allocations: 0 / 1.041 GB, free: 65.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.725, allocations: 0 / 1.041 GB, free: 65.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/1.725, allocations: 452.6 kB / 1.042 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.725, allocations: 0 / 1.042 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/1.726, allocations: 71.95 kB / 1.042 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.726, allocations: 0 / 1.042 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.726, allocations: 15.89 kB / 1.042 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002657/1.726, allocations: 0.6056 MB / 1.042 GB, free: 63.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.726, allocations: 0 / 1.042 GB, free: 63.82 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002661/1.726, allocations: 264.3 kB / 1.042 GB, free: 63.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.726, allocations: 117 kB / 1.043 GB, free: 63.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/1.726, allocations: 7.844 kB / 1.043 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/1.727, allocations: 11.98 kB / 1.043 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/1.727, allocations: 15.98 kB / 1.043 GB, free: 63.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/1.727, allocations: 23.98 kB / 1.043 GB, free: 63.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001039/1.727, allocations: 136.6 kB / 1.043 GB, free: 63.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001165/1.728, allocations: 259.9 kB / 1.043 GB, free: 62.95 MB / 426.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.002035/1.73, allocations: 0.856 MB / 1.044 GB, free: 62.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006163/1.731, allocations: 217.5 kB / 1.044 GB, free: 61.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.731, allocations: 0 / 1.044 GB, free: 61.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/1.731, allocations: 83.89 kB / 1.044 GB, free: 61.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/1.731, allocations: 32 kB / 1.044 GB, free: 61.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08786/1.819, allocations: 28.21 MB / 1.072 GB, free: 33.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006995/1.82, allocations: 0.849 MB / 1.073 GB, free: 32.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.813e-06/1.82, allocations: 0 / 1.073 GB, free: 32.53 MB / 426.7 MB Notification: Performance of Templates: time 0.0167/1.837, allocations: 10.6 MB / 1.083 GB, free: 21.91 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1)