Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01497/0.01497, allocations: 169.4 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.742/1.742, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002006/0.002006, allocations: 115 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4555/0.4555, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005011, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1162, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.994/2.11, allocations: 0.5999 GB / 1.002 GB, free: 100.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/2.111, allocations: 71.89 kB / 1.002 GB, free: 100.1 MB / 442.7 MB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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 - DAE generated: time 0.1902/2.301, allocations: 45.98 MB / 1.047 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/2.301, allocations: 0 / 1.047 GB, free: 59.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/2.301, allocations: 4 kB / 1.047 GB, free: 59.62 MB / 442.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.0007151/2.302, allocations: 441.7 kB / 1.047 GB, free: 59.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/2.302, allocations: 8.031 kB / 1.047 GB, free: 59.13 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/2.302, allocations: 34.56 kB / 1.047 GB, free: 59.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/2.302, allocations: 7.953 kB / 1.047 GB, free: 59.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/2.302, allocations: 171 kB / 1.048 GB, free: 58.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/2.302, allocations: 11.94 kB / 1.048 GB, free: 58.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/2.302, allocations: 7.906 kB / 1.048 GB, free: 58.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/2.302, allocations: 65.67 kB / 1.048 GB, free: 58.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/2.302, allocations: 0 / 1.048 GB, free: 58.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/2.302, allocations: 4 kB / 1.048 GB, free: 58.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/2.302, allocations: 4 kB / 1.048 GB, free: 58.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/2.302, allocations: 47.97 kB / 1.048 GB, free: 58.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/2.303, allocations: 393.8 kB / 1.048 GB, free: 58.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/2.303, allocations: 70.42 kB / 1.048 GB, free: 58.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/2.304, allocations: 0.9974 MB / 1.049 GB, free: 57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/2.304, allocations: 38.55 kB / 1.049 GB, free: 56.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/2.304, allocations: 0 / 1.049 GB, free: 56.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.009655/2.314, allocations: 0.6474 MB / 1.05 GB, free: 56.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/2.314, allocations: 51.41 kB / 1.05 GB, free: 56.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.688e-05/2.314, allocations: 101 kB / 1.05 GB, free: 56.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/2.314, allocations: 25.7 kB / 1.05 GB, free: 56.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/2.314, allocations: 88.31 kB / 1.05 GB, free: 56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/2.314, allocations: 51.3 kB / 1.05 GB, free: 55.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/2.315, allocations: 0 / 1.05 GB, free: 55.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.779e-05/2.315, allocations: 314.8 kB / 1.05 GB, free: 55.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/2.315, allocations: 79.94 kB / 1.05 GB, free: 55.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/2.315, allocations: 102.5 kB / 1.051 GB, free: 55.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/2.316, allocations: 91.97 kB / 1.051 GB, free: 55.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/2.316, allocations: 3.953 kB / 1.051 GB, free: 55.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000885/2.317, allocations: 245.5 kB / 1.051 GB, free: 55.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/2.317, allocations: 4 kB / 1.051 GB, free: 55.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/2.317, allocations: 4 kB / 1.051 GB, free: 55.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/2.317, allocations: 0 / 1.051 GB, free: 55.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/2.318, allocations: 51.94 kB / 1.051 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/2.318, allocations: 8 kB / 1.051 GB, free: 55.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/2.318, allocations: 23.98 kB / 1.051 GB, free: 55.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/2.319, allocations: 12.23 kB / 1.051 GB, free: 55.01 MB / 442.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 () * Number of clocked 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 0.000141/2.319, allocations: 117 kB / 1.051 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/2.319, allocations: 11.86 kB / 1.051 GB, free: 54.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/2.32, allocations: 347.7 kB / 1.051 GB, free: 54.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/2.32, allocations: 8 kB / 1.051 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.32, allocations: 4 kB / 1.051 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/2.32, allocations: 0 / 1.051 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/2.322, allocations: 0.7423 MB / 1.052 GB, free: 53.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/2.322, allocations: 0 / 1.052 GB, free: 53.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/2.323, allocations: 43.91 kB / 1.052 GB, free: 53.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/2.323, allocations: 0 / 1.052 GB, free: 53.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/2.323, allocations: 7.984 kB / 1.052 GB, free: 53.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/2.323, allocations: 11.94 kB / 1.052 GB, free: 53.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/2.323, allocations: 0 / 1.052 GB, free: 53.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/2.323, allocations: 345.5 kB / 1.053 GB, free: 53.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/2.324, allocations: 112.9 kB / 1.053 GB, free: 53.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/2.324, allocations: 4 kB / 1.053 GB, free: 53.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/2.324, allocations: 11.98 kB / 1.053 GB, free: 53.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/2.325, allocations: 11.98 kB / 1.053 GB, free: 53.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/2.325, allocations: 15.98 kB / 1.053 GB, free: 53.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.199e-05/2.325, allocations: 79.28 kB / 1.053 GB, free: 53.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.325, allocations: 3.938 kB / 1.053 GB, free: 53.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008099/2.325, allocations: 147.8 kB / 1.053 GB, free: 52.88 MB / 442.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 () * Number of clocked 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.002196/2.328, allocations: 1.413 MB / 1.054 GB, free: 51.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008187/2.328, allocations: 203.8 kB / 1.055 GB, free: 51.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/2.329, allocations: 0 / 1.055 GB, free: 51.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/2.329, allocations: 111.9 kB / 1.055 GB, free: 51.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/2.329, allocations: 32.05 kB / 1.055 GB, free: 51.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/2.331, allocations: 397.8 kB / 1.055 GB, free: 50.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/2.331, allocations: 0.7007 MB / 1.056 GB, free: 49.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000819/2.332, allocations: 63.28 kB / 1.056 GB, free: 49.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/2.332, allocations: 43.39 kB / 1.056 GB, free: 49.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.843e-06/2.332, allocations: 0 / 1.056 GB, free: 49.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/2.377, allocations: 15.46 MB / 1.071 GB, free: 34.42 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/2.377, allocations: 178.3 kB / 1.071 GB, free: 34.17 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/5.835, allocations: 0 / 1.071 GB, free: 34.17 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat