Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.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.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.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.004841/0.004841, allocations: 177.6 kB / 7.451 MB, free: 2.512 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.659/1.659, 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.001881/0.001881, allocations: 119.8 kB / 217.7 MB, free: 8.148 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.2205/0.2205, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.182e-05/1.204e-05, allocations: 1.344 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.757/1.889, allocations: 0.5991 GB / 0.988 GB, free: 104.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004226/1.889, allocations: 66.17 kB / 0.9881 GB, free: 104.3 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd: time 0.1021/1.991, allocations: 45.17 MB / 1.032 GB, free: 67.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/1.991, allocations: 0 / 1.032 GB, free: 67.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008229/1.992, allocations: 430.1 kB / 1.033 GB, free: 67.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.559e-05/1.992, allocations: 8.031 kB / 1.033 GB, free: 67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/1.992, allocations: 11.84 kB / 1.033 GB, free: 66.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/1.993, allocations: 167 kB / 1.033 GB, free: 66.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/1.993, allocations: 4 kB / 1.033 GB, free: 66.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/1.993, allocations: 4 kB / 1.033 GB, free: 66.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001705/1.993, allocations: 39.98 kB / 1.033 GB, free: 66.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.993, allocations: 61.61 kB / 1.033 GB, free: 66.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.993, allocations: 8 kB / 1.033 GB, free: 66.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/1.993, allocations: 0 / 1.033 GB, free: 66.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.993, allocations: 4 kB / 1.033 GB, free: 66.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/1.994, allocations: 366.3 kB / 1.033 GB, free: 66.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.52e-05/1.994, allocations: 49.7 kB / 1.033 GB, free: 66.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/1.994, allocations: 16.86 kB / 1.033 GB, free: 66.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/1.995, allocations: 1.001 MB / 1.034 GB, free: 64.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/1.995, allocations: 34.5 kB / 1.034 GB, free: 64.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/1.995, allocations: 4 kB / 1.034 GB, free: 64.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.007621/2.003, allocations: 0.9181 MB / 1.035 GB, free: 64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/2.003, allocations: 55.41 kB / 1.035 GB, free: 63.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.696e-05/2.003, allocations: 96.94 kB / 1.035 GB, free: 63.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/2.003, allocations: 25.7 kB / 1.035 GB, free: 63.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/2.003, allocations: 88.33 kB / 1.035 GB, free: 63.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/2.003, allocations: 47.3 kB / 1.036 GB, free: 63.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/2.003, allocations: 0 / 1.036 GB, free: 63.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.799e-05/2.003, allocations: 318.8 kB / 1.036 GB, free: 63.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/2.003, allocations: 71.98 kB / 1.036 GB, free: 63.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/2.003, allocations: 94.55 kB / 1.036 GB, free: 63.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/2.005, allocations: 231.7 kB / 1.036 GB, free: 62.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/2.005, allocations: 0 / 1.036 GB, free: 62.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001516/2.006, allocations: 374.3 kB / 1.037 GB, free: 62.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/2.006, allocations: 8 kB / 1.037 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/2.006, allocations: 0 / 1.037 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/2.006, allocations: 7.844 kB / 1.037 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/2.007, allocations: 55.88 kB / 1.037 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/2.007, allocations: 7.984 kB / 1.037 GB, free: 62.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/2.007, allocations: 20.05 kB / 1.037 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/2.007, allocations: 11.98 kB / 1.037 GB, free: 62.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 9.662e-05/2.007, allocations: 105 kB / 1.037 GB, free: 62.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/2.008, allocations: 8.156 kB / 1.037 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/2.009, allocations: 498.5 kB / 1.037 GB, free: 61.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/2.009, allocations: 7.906 kB / 1.037 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/2.009, allocations: 4 kB / 1.037 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/2.009, allocations: 0 / 1.037 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/2.011, allocations: 0.8439 MB / 1.038 GB, free: 60.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/2.011, allocations: 0 / 1.038 GB, free: 60.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/2.012, allocations: 43.97 kB / 1.038 GB, free: 60.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/2.012, allocations: 3.906 kB / 1.038 GB, free: 60.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/2.012, allocations: 7.984 kB / 1.038 GB, free: 60.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/2.012, allocations: 0 / 1.038 GB, free: 60.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/2.012, allocations: 0 / 1.038 GB, free: 60.86 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001507/2.013, allocations: 483 kB / 1.039 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/2.014, allocations: 101 kB / 1.039 GB, free: 60.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/2.014, allocations: 0 / 1.039 GB, free: 60.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/2.014, allocations: 11.98 kB / 1.039 GB, free: 60.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/2.014, allocations: 19.89 kB / 1.039 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/2.014, allocations: 11.92 kB / 1.039 GB, free: 60.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.962e-05/2.014, allocations: 79.28 kB / 1.039 GB, free: 60.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005803/2.015, allocations: 139.8 kB / 1.039 GB, free: 60 MB / 426.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 (19): * Single equations (assignments): 19 * 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.001144/2.016, allocations: 0.7314 MB / 1.04 GB, free: 59.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003885/2.016, allocations: 183.9 kB / 1.04 GB, free: 59.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.016, allocations: 0 / 1.04 GB, free: 59.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/2.017, allocations: 112 kB / 1.04 GB, free: 58.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/2.017, allocations: 23.91 kB / 1.04 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/2.017, allocations: 168 kB / 1.04 GB, free: 58.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/2.018, allocations: 0.7426 MB / 1.041 GB, free: 58 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/2.018, allocations: 4 kB / 1.041 GB, free: 57.99 MB / 426.7 MB Notification: Performance of Templates: time 0.01547/2.033, allocations: 8.858 MB / 1.05 GB, free: 49.13 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1)