Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00115/0.001151, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008881/0.0008881, allocations: 93.69 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.726e-06, allocations: 4 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.258, allocations: 0.5023 GB / 1.006 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/1.259, allocations: 71.97 kB / 1.006 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1017/1.36, allocations: 47.69 MB / 1.053 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.36, allocations: 8 kB / 1.053 GB, free: 115.7 MB / 0.5261 GB 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.001686/1.362, allocations: 0.6466 MB / 1.053 GB, free: 115 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.362, allocations: 8.031 kB / 1.053 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007926/1.37, allocations: 0.7328 MB / 1.054 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/1.371, allocations: 246.8 kB / 1.054 GB, free: 114 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.371, allocations: 119.2 kB / 1.054 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/1.371, allocations: 12 kB / 1.054 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/1.372, allocations: 0.5552 MB / 1.055 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/1.373, allocations: 311.4 kB / 1.055 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/1.373, allocations: 3.984 kB / 1.055 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/1.373, allocations: 4 kB / 1.055 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/1.373, allocations: 8 kB / 1.055 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/1.375, allocations: 2.045 MB / 1.057 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.376, allocations: 118.5 kB / 1.057 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/1.377, allocations: 40.91 kB / 1.057 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/1.377, allocations: 93.17 kB / 1.058 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/1.377, allocations: 30.56 kB / 1.058 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/1.377, allocations: 0 / 1.058 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.003229/1.38, allocations: 498.7 kB / 1.058 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/1.38, allocations: 55.34 kB / 1.058 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/1.38, allocations: 198.7 kB / 1.058 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/1.38, allocations: 29.64 kB / 1.058 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/1.38, allocations: 210.8 kB / 1.059 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/1.38, allocations: 43.45 kB / 1.059 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/1.38, allocations: 0 / 1.059 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.848e-05/1.38, allocations: 326.8 kB / 1.059 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/1.38, allocations: 60.86 kB / 1.059 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/1.381, allocations: 254.1 kB / 1.059 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/1.381, allocations: 123.8 kB / 1.059 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.381, allocations: 4 kB / 1.059 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007628/1.382, allocations: 360.1 kB / 1.06 GB, free: 108 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.382, allocations: 7.984 kB / 1.06 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.382, allocations: 8 kB / 1.06 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.382, allocations: 12.72 kB / 1.06 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/1.382, allocations: 171.8 kB / 1.06 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003171/1.383, allocations: 0.6132 MB / 1.06 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/1.383, allocations: 11.94 kB / 1.06 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/1.383, allocations: 56.17 kB / 1.06 GB, free: 107.1 MB / 0.5261 GB 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.0001035/1.383, allocations: 119.2 kB / 1.061 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/1.383, allocations: 31.75 kB / 1.061 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009089/1.384, allocations: 455.7 kB / 1.061 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.384, allocations: 4 kB / 1.061 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.384, allocations: 0 / 1.061 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.384, allocations: 7.984 kB / 1.061 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/1.385, allocations: 444.6 kB / 1.062 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.385, allocations: 4 kB / 1.062 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/1.385, allocations: 75.89 kB / 1.062 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.385, allocations: 4 kB / 1.062 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.385, allocations: 4 kB / 1.062 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002139/1.385, allocations: 0.6016 MB / 1.062 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.386, allocations: 0 / 1.062 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002509/1.386, allocations: 272.4 kB / 1.062 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/1.386, allocations: 108.9 kB / 1.063 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/1.386, allocations: 0 / 1.063 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/1.386, allocations: 11.89 kB / 1.063 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/1.386, allocations: 19.98 kB / 1.063 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/1.386, allocations: 23.94 kB / 1.063 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.026e-05/1.386, allocations: 143.4 kB / 1.063 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009473/1.387, allocations: 215.8 kB / 1.063 GB, free: 104.5 MB / 0.5261 GB 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.001401/1.389, allocations: 0.7646 MB / 1.064 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005282/1.389, allocations: 221.3 kB / 1.064 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.389, allocations: 0 / 1.064 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/1.39, allocations: 88.28 kB / 1.064 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/1.39, allocations: 23.98 kB / 1.064 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/1.396, allocations: 1.732 MB / 1.066 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/1.396, allocations: 0.8918 MB / 1.067 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/1.396, allocations: 0 / 1.067 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01583/1.412, allocations: 9.955 MB / 1.076 GB, free: 90.76 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1)