Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.404e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2666, allocations: 48.69 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.611, allocations: 0.5992 GB / 0.9117 GB, free: 17.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/1.611, allocations: 63.97 kB / 0.9118 GB, free: 17.13 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.4081/2.02, allocations: 45.15 MB / 0.9559 GB, free: 144.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.4e-06/2.02, allocations: 0 / 0.9559 GB, free: 144.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.089e-06/2.02, allocations: 0 / 0.9559 GB, free: 144.1 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.0005844/2.02, allocations: 433.4 kB / 0.9563 GB, free: 143.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/2.02, allocations: 8.031 kB / 0.9563 GB, free: 143.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/2.02, allocations: 7.906 kB / 0.9563 GB, free: 143.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.049e-05/2.02, allocations: 171 kB / 0.9565 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/2.02, allocations: 0 / 0.9565 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/2.021, allocations: 11.92 kB / 0.9565 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/2.021, allocations: 47.92 kB / 0.9565 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/2.021, allocations: 58.69 kB / 0.9566 GB, free: 143.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/2.021, allocations: 0 / 0.9566 GB, free: 143.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.384e-06/2.021, allocations: 0 / 0.9566 GB, free: 143.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-06/2.021, allocations: 0 / 0.9566 GB, free: 143.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/2.021, allocations: 364.9 kB / 0.9569 GB, free: 142.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/2.021, allocations: 58.5 kB / 0.957 GB, free: 142.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/2.021, allocations: 20.8 kB / 0.957 GB, free: 142.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/2.022, allocations: 1.008 MB / 0.958 GB, free: 141.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/2.023, allocations: 30.56 kB / 0.958 GB, free: 141.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.772e-06/2.023, allocations: 0 / 0.958 GB, free: 141.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.008295/2.031, allocations: 0.8645 MB / 0.9589 GB, free: 140.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/2.031, allocations: 67.3 kB / 0.9589 GB, free: 140.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.423e-05/2.031, allocations: 93 kB / 0.959 GB, free: 140.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/2.031, allocations: 29.64 kB / 0.959 GB, free: 140.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/2.031, allocations: 154.8 kB / 0.9592 GB, free: 140.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/2.031, allocations: 47.3 kB / 0.9592 GB, free: 140.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/2.031, allocations: 0 / 0.9592 GB, free: 140.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/2.031, allocations: 319.1 kB / 0.9595 GB, free: 139.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/2.031, allocations: 71.98 kB / 0.9596 GB, free: 139.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/2.032, allocations: 95.53 kB / 0.9597 GB, free: 139.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/2.033, allocations: 217 kB / 0.9599 GB, free: 139.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.042e-06/2.033, allocations: 0 / 0.9599 GB, free: 139.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001903/2.035, allocations: 357.1 kB / 0.9603 GB, free: 139.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/2.035, allocations: 4.781 kB / 0.9603 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/2.035, allocations: 4 kB / 0.9603 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/2.035, allocations: 0 / 0.9603 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/2.036, allocations: 60 kB / 0.9603 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/2.036, allocations: 0 / 0.9603 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/2.036, allocations: 23.94 kB / 0.9603 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/2.036, allocations: 12.17 kB / 0.9604 GB, free: 139.1 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 0.0001111/2.037, allocations: 105 kB / 0.9605 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/2.037, allocations: 4 kB / 0.9605 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/2.039, allocations: 461.7 kB / 0.9609 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-06/2.039, allocations: 4 kB / 0.9609 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.112e-06/2.039, allocations: 0 / 0.9609 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.213e-06/2.039, allocations: 7.984 kB / 0.9609 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/2.041, allocations: 0.8206 MB / 0.9617 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/2.042, allocations: 0 / 0.9617 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/2.042, allocations: 47.89 kB / 0.9618 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.029e-06/2.042, allocations: 0 / 0.9618 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/2.042, allocations: 4 kB / 0.9618 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.584e-06/2.042, allocations: 11.94 kB / 0.9618 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/2.042, allocations: 0 / 0.9618 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/2.044, allocations: 469.3 kB / 0.9622 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/2.044, allocations: 104.9 kB / 0.9623 GB, free: 137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/2.044, allocations: 4 kB / 0.9623 GB, free: 137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/2.045, allocations: 7.984 kB / 0.9623 GB, free: 137 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/2.045, allocations: 11.92 kB / 0.9623 GB, free: 137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/2.045, allocations: 15.98 kB / 0.9624 GB, free: 136.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.805e-05/2.045, allocations: 79.28 kB / 0.9624 GB, free: 136.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.57e-07/2.045, allocations: 0 / 0.9624 GB, free: 136.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007345/2.046, allocations: 139.8 kB / 0.9626 GB, free: 136.7 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.001053/2.047, allocations: 0.7177 MB / 0.9633 GB, free: 136.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004548/2.047, allocations: 179.8 kB / 0.9634 GB, free: 135.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.374e-06/2.047, allocations: 128 / 0.9634 GB, free: 135.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/2.048, allocations: 107.9 kB / 0.9635 GB, free: 135.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/2.048, allocations: 23.97 kB / 0.9636 GB, free: 135.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/2.048, allocations: 178 kB / 0.9637 GB, free: 135.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/2.049, allocations: 0.7043 MB / 0.9644 GB, free: 134.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/2.049, allocations: 39.38 kB / 0.9645 GB, free: 134.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.601e-06/2.049, allocations: 4 kB / 0.9645 GB, free: 134.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01057/2.059, allocations: 6.868 MB / 0.9712 GB, free: 127.9 MB / 426.7 MB