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.TestAllProperties.CO2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.841/1.841, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.971e-05, allocations: 7.984 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08301, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.264, allocations: 485.9 MB / 0.7934 GB, free: 41.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.264, allocations: 74.22 kB / 0.7935 GB, free: 41.68 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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.5095/1.774, allocations: 57.85 MB / 0.85 GB, free: 126.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.828e-06/1.774, allocations: 0 / 0.85 GB, free: 126.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/1.774, allocations: 2.438 kB / 0.85 GB, free: 126.9 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001663/1.776, allocations: 0.6905 MB / 0.8507 GB, free: 126.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.776, allocations: 13.03 kB / 0.8507 GB, free: 126.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008127/1.784, allocations: 0.5939 MB / 0.8512 GB, free: 126.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/1.784, allocations: 253.1 kB / 0.8515 GB, free: 126.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/1.784, allocations: 125.5 kB / 0.8516 GB, free: 126.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.785, allocations: 20.16 kB / 0.8516 GB, free: 126.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.786, allocations: 0.5226 MB / 0.8521 GB, free: 126 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/1.786, allocations: 3.906 kB / 0.8521 GB, free: 126 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.786, allocations: 15.47 kB / 0.8522 GB, free: 126 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/1.786, allocations: 6.5 kB / 0.8522 GB, free: 126 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/1.787, allocations: 0.5672 MB / 0.8527 GB, free: 126 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002158/1.79, allocations: 1.628 MB / 0.8543 GB, free: 124.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/1.79, allocations: 146.5 kB / 0.8544 GB, free: 124.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/1.79, allocations: 74.39 kB / 0.8545 GB, free: 124.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.791, allocations: 1.215 MB / 0.8557 GB, free: 123.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/1.791, allocations: 35.56 kB / 0.8557 GB, free: 123.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.48e-06/1.791, allocations: 0 / 0.8557 GB, free: 123.6 MB / 426.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.001039/1.792, allocations: 282.4 kB / 0.856 GB, free: 123.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.792, allocations: 59.22 kB / 0.8561 GB, free: 123.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.793, allocations: 156.6 kB / 0.8562 GB, free: 123.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/1.793, allocations: 30.39 kB / 0.8562 GB, free: 123.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/1.793, allocations: 249.6 kB / 0.8565 GB, free: 123.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/1.793, allocations: 77.06 kB / 0.8566 GB, free: 123.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/1.793, allocations: 10.25 kB / 0.8566 GB, free: 123.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/1.793, allocations: 337.1 kB / 0.8569 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/1.793, allocations: 61.88 kB / 0.8569 GB, free: 122.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/1.793, allocations: 250.6 kB / 0.8572 GB, free: 122.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/1.794, allocations: 104.9 kB / 0.8573 GB, free: 122.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.026e-06/1.794, allocations: 4.656 kB / 0.8573 GB, free: 122.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007308/1.794, allocations: 351.6 kB / 0.8576 GB, free: 122.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.794, allocations: 8.094 kB / 0.8576 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.794, allocations: 7.656 kB / 0.8576 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/1.794, allocations: 10.72 kB / 0.8576 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/1.795, allocations: 131.3 kB / 0.8578 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002984/1.795, allocations: 0.606 MB / 0.8584 GB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/1.796, allocations: 39.06 kB / 0.8584 GB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/1.796, allocations: 40.47 kB / 0.8584 GB, free: 121.9 MB / 426.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 () * 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.0001227/1.796, allocations: 131.9 kB / 0.8586 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/1.796, allocations: 18.81 kB / 0.8586 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/1.797, allocations: 318.2 kB / 0.8589 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.797, allocations: 6.703 kB / 0.8589 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.028e-06/1.797, allocations: 1.875 kB / 0.8589 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.597e-06/1.797, allocations: 0 / 0.8589 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/1.798, allocations: 0.5391 MB / 0.8594 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.845e-06/1.798, allocations: 0.9375 kB / 0.8594 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/1.798, allocations: 61.94 kB / 0.8595 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/1.798, allocations: 8.219 kB / 0.8595 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/1.798, allocations: 9.469 kB / 0.8595 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002572/1.799, allocations: 0.5911 MB / 0.8601 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.951e-06/1.799, allocations: 7.625 kB / 0.8601 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/1.799, allocations: 345.2 kB / 0.8604 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.799, allocations: 115.1 kB / 0.8605 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/1.799, allocations: 12.56 kB / 0.8605 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/1.8, allocations: 13.17 kB / 0.8605 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/1.8, allocations: 16.16 kB / 0.8606 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/1.8, allocations: 27.03 kB / 0.8606 GB, free: 120.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001197/1.8, allocations: 128.4 kB / 0.8607 GB, free: 120.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.333e-06/1.8, allocations: 0 / 0.8607 GB, free: 120.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00119/1.801, allocations: 265.9 kB / 0.861 GB, free: 120.3 MB / 426.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 () * 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.001438/1.802, allocations: 0.7468 MB / 0.8617 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/1.803, allocations: 209.8 kB / 0.8619 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.417e-06/1.803, allocations: 0 / 0.8619 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/1.803, allocations: 88.34 kB / 0.862 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/1.804, allocations: 60.59 kB / 0.862 GB, free: 120.1 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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.1022/1.906, allocations: 30.99 MB / 0.8923 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/1.906, allocations: 0.7287 MB / 0.893 GB, free: 112 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/1.907, allocations: 63.39 kB / 0.8931 GB, free: 112 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/1.907, allocations: 0 / 0.8931 GB, free: 112 MB / 426.7 MB Notification: Performance of Templates: time 0.01271/1.919, allocations: 8.438 MB / 0.9013 GB, free: 103.5 MB / 426.7 MB