Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,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_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005849/0.0005851, allocations: 12 kB / 283.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.348, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.594, allocations: 486 MB / 0.7986 GB, free: 5.348 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.594, allocations: 85.64 kB / 0.7987 GB, free: 5.301 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.5369/2.131, allocations: 57.97 MB / 0.8553 GB, free: 137.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/2.131, allocations: 0 / 0.8553 GB, free: 137.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/2.131, allocations: 4 kB / 0.8553 GB, free: 137.6 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002556/2.133, allocations: 0.6982 MB / 0.856 GB, free: 136.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/2.134, allocations: 12.03 kB / 0.856 GB, free: 136.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/2.146, allocations: 0.5893 MB / 0.8566 GB, free: 136.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/2.147, allocations: 258.7 kB / 0.8568 GB, free: 135.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/2.147, allocations: 127.4 kB / 0.857 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/2.147, allocations: 20 kB / 0.857 GB, free: 135.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/2.149, allocations: 0.5634 MB / 0.8575 GB, free: 135.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/2.149, allocations: 0 / 0.8575 GB, free: 135.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/2.149, allocations: 15.98 kB / 0.8576 GB, free: 135.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/2.149, allocations: 8 kB / 0.8576 GB, free: 135.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/2.151, allocations: 0.6104 MB / 0.8582 GB, free: 134.5 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/2.154, allocations: 1.634 MB / 0.8598 GB, free: 132.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/2.155, allocations: 158.5 kB / 0.8599 GB, free: 132.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/2.156, allocations: 1.202 MB / 0.8611 GB, free: 131.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/2.156, allocations: 34.55 kB / 0.8611 GB, free: 131.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.795e-06/2.156, allocations: 0 / 0.8611 GB, free: 131.1 MB / 442.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.001434/2.157, allocations: 345.2 kB / 0.8614 GB, free: 130.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/2.157, allocations: 59.36 kB / 0.8615 GB, free: 130.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/2.158, allocations: 174.2 kB / 0.8617 GB, free: 130.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/2.158, allocations: 33.7 kB / 0.8617 GB, free: 130.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/2.158, allocations: 245.8 kB / 0.8619 GB, free: 130.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/2.158, allocations: 74.94 kB / 0.862 GB, free: 130.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/2.158, allocations: 8 kB / 0.862 GB, free: 130.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.747e-05/2.158, allocations: 330.8 kB / 0.8623 GB, free: 129.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/2.158, allocations: 60.72 kB / 0.8624 GB, free: 129.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/2.159, allocations: 260 kB / 0.8626 GB, free: 129.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/2.159, allocations: 108.5 kB / 0.8627 GB, free: 129.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/2.159, allocations: 0 / 0.8627 GB, free: 129.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008195/2.16, allocations: 360.7 kB / 0.8631 GB, free: 129 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/2.16, allocations: 8.938 kB / 0.8631 GB, free: 129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/2.16, allocations: 8 kB / 0.8631 GB, free: 129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/2.16, allocations: 16 kB / 0.8631 GB, free: 128.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/2.16, allocations: 123.8 kB / 0.8632 GB, free: 128.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003151/2.161, allocations: 0.6055 MB / 0.8638 GB, free: 128.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/2.161, allocations: 39.59 kB / 0.8639 GB, free: 128.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/2.161, allocations: 39.98 kB / 0.8639 GB, free: 128.1 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0001778/2.161, allocations: 149.8 kB / 0.864 GB, free: 128 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/2.162, allocations: 19.81 kB / 0.8641 GB, free: 127.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/2.163, allocations: 322.7 kB / 0.8644 GB, free: 127.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/2.163, allocations: 0 / 0.8644 GB, free: 127.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/2.163, allocations: 7.938 kB / 0.8644 GB, free: 127.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/2.163, allocations: 0 / 0.8644 GB, free: 127.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009516/2.164, allocations: 0.5413 MB / 0.8649 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/2.164, allocations: 0 / 0.8649 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/2.164, allocations: 63.95 kB / 0.865 GB, free: 126.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/2.164, allocations: 4 kB / 0.865 GB, free: 126.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/2.164, allocations: 7.984 kB / 0.865 GB, free: 126.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002704/2.165, allocations: 0.6017 MB / 0.8656 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/2.165, allocations: 0 / 0.8656 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/2.165, allocations: 295.6 kB / 0.8658 GB, free: 126 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/2.165, allocations: 112.8 kB / 0.8659 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/2.165, allocations: 11.98 kB / 0.866 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/2.166, allocations: 11.98 kB / 0.866 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/2.166, allocations: 19.94 kB / 0.866 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/2.166, allocations: 19.98 kB / 0.866 GB, free: 125.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001261/2.166, allocations: 127.8 kB / 0.8661 GB, free: 125.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.166, allocations: 0 / 0.8661 GB, free: 125.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001261/2.167, allocations: 263.8 kB / 0.8664 GB, free: 125.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * 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.001759/2.169, allocations: 0.7548 MB / 0.8671 GB, free: 124.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008321/2.17, allocations: 221 kB / 0.8673 GB, free: 124.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/2.17, allocations: 4 kB / 0.8673 GB, free: 124.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/2.17, allocations: 87.83 kB / 0.8674 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/2.171, allocations: 61.16 kB / 0.8675 GB, free: 124.3 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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 simCode: created linear, non-linear and system jacobian parts: time 0.1133/2.284, allocations: 31.38 MB / 0.8981 GB, free: 92.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/2.284, allocations: 0.7248 MB / 0.8988 GB, free: 91.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/2.285, allocations: 63.39 kB / 0.8989 GB, free: 91.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/2.285, allocations: 4 kB / 0.8989 GB, free: 91.89 MB / 442.7 MB Notification: Performance of Templates: time 0.017/2.302, allocations: 8.465 MB / 0.9072 GB, free: 83.42 MB / 442.7 MB