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.78/1.78, allocations: 209.3 MB / 224.8 MB, free: 1.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004559, allocations: 8 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08869, allocations: 48.71 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.328, allocations: 486 MB / 0.7981 GB, free: 3.801 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.329, allocations: 71.95 kB / 0.7982 GB, free: 3.762 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.4203/1.749, allocations: 57.98 MB / 0.8548 GB, free: 121 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.751e-06/1.749, allocations: 0 / 0.8548 GB, free: 121 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/1.749, allocations: 0 / 0.8548 GB, free: 121 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.00166/1.751, allocations: 0.6982 MB / 0.8555 GB, free: 120.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.751, allocations: 12.03 kB / 0.8555 GB, free: 120.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008152/1.759, allocations: 0.5893 MB / 0.8561 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/1.759, allocations: 250.7 kB / 0.8563 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/1.759, allocations: 131.4 kB / 0.8565 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.76, allocations: 27.95 kB / 0.8565 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.761, allocations: 0.5556 MB / 0.857 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/1.761, allocations: 11.94 kB / 0.857 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.761, allocations: 8 kB / 0.857 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/1.761, allocations: 4 kB / 0.857 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/1.763, allocations: 0.6065 MB / 0.8576 GB, free: 118 MB / 426.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.002149/1.765, allocations: 1.631 MB / 0.8592 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/1.766, allocations: 161.9 kB / 0.8594 GB, free: 116.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/1.767, allocations: 1.202 MB / 0.8606 GB, free: 114.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.767, allocations: 39.02 kB / 0.8606 GB, free: 114.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.111e-06/1.767, allocations: 0 / 0.8606 GB, free: 114.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.001296/1.768, allocations: 341.1 kB / 0.8609 GB, free: 114.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/1.768, allocations: 51.41 kB / 0.861 GB, free: 114.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/1.768, allocations: 165.3 kB / 0.8611 GB, free: 114 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/1.768, allocations: 29.7 kB / 0.8612 GB, free: 114 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/1.768, allocations: 245.8 kB / 0.8614 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/1.768, allocations: 78.94 kB / 0.8615 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/1.768, allocations: 4 kB / 0.8615 GB, free: 113.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/1.769, allocations: 326.8 kB / 0.8618 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/1.769, allocations: 64.7 kB / 0.8618 GB, free: 113.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/1.769, allocations: 256 kB / 0.8621 GB, free: 112.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/1.769, allocations: 100.5 kB / 0.8622 GB, free: 112.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.412e-06/1.769, allocations: 0 / 0.8622 GB, free: 112.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000756/1.77, allocations: 378.1 kB / 0.8625 GB, free: 112.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.77, allocations: 8.625 kB / 0.8625 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.77, allocations: 8 kB / 0.8626 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/1.77, allocations: 12 kB / 0.8626 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/1.771, allocations: 123.8 kB / 0.8627 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003107/1.771, allocations: 0.6019 MB / 0.8633 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/1.771, allocations: 39.69 kB / 0.8633 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/1.771, allocations: 43.98 kB / 0.8634 GB, free: 111.6 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 () * 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.0001686/1.772, allocations: 149.6 kB / 0.8635 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/1.772, allocations: 23.81 kB / 0.8635 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.773, allocations: 326.8 kB / 0.8638 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.557e-06/1.773, allocations: 0 / 0.8638 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-06/1.773, allocations: 0 / 0.8638 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.773, allocations: 4 kB / 0.8638 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/1.774, allocations: 0.5375 MB / 0.8644 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-06/1.774, allocations: 160 / 0.8644 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/1.774, allocations: 63.91 kB / 0.8644 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.661e-06/1.774, allocations: 4 kB / 0.8644 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.774, allocations: 11.98 kB / 0.8644 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002686/1.774, allocations: 0.6015 MB / 0.865 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.774, allocations: 3.938 kB / 0.865 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/1.775, allocations: 352.2 kB / 0.8654 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.775, allocations: 108.8 kB / 0.8655 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/1.775, allocations: 11.95 kB / 0.8655 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/1.775, allocations: 11.98 kB / 0.8655 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/1.775, allocations: 19.92 kB / 0.8655 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/1.775, allocations: 19.98 kB / 0.8655 GB, free: 109.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001158/1.776, allocations: 127.8 kB / 0.8656 GB, free: 109 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.05e-07/1.776, allocations: 4 kB / 0.8657 GB, free: 109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001193/1.777, allocations: 259.8 kB / 0.8659 GB, free: 108.8 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 () * 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.001494/1.778, allocations: 0.7546 MB / 0.8666 GB, free: 108 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006715/1.779, allocations: 217.3 kB / 0.8668 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.713e-06/1.779, allocations: 0 / 0.8668 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/1.779, allocations: 83.94 kB / 0.8669 GB, free: 107.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/1.78, allocations: 52.53 kB / 0.867 GB, free: 107.7 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.09812/1.878, allocations: 31.38 MB / 0.8976 GB, free: 76.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/1.878, allocations: 0.7209 MB / 0.8983 GB, free: 75.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/1.879, allocations: 59.41 kB / 0.8984 GB, free: 75.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.647e-06/1.879, allocations: 0 / 0.8984 GB, free: 75.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01321/1.892, allocations: 8.477 MB / 0.9067 GB, free: 66.84 MB / 426.7 MB