Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.MixtureGases.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 8 kB / 233.4 MB, free: 2.277 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 38.76 MB / 272.1 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.357/2.481, allocations: 0.7217 GB / 0.9874 GB, free: 105.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/2.481, allocations: 64.33 kB / 0.9875 GB, free: 105.8 MB / 362.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.362/2.843, allocations: 107.1 MB / 1.092 GB, free: 34.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/2.843, allocations: 0 / 1.092 GB, free: 34.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/2.843, allocations: 4 kB / 1.092 GB, free: 34.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003586/2.847, allocations: 0.7758 MB / 1.093 GB, free: 33.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/2.847, allocations: 8.031 kB / 1.093 GB, free: 33.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/2.847, allocations: 74.52 kB / 1.093 GB, free: 33.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/2.85, allocations: 251.8 kB / 1.093 GB, free: 33.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/2.851, allocations: 282.7 kB / 1.093 GB, free: 33.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/2.851, allocations: 24.55 kB / 1.093 GB, free: 33.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/2.851, allocations: 36 kB / 1.093 GB, free: 33.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/2.853, allocations: 0.6445 MB / 1.094 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/2.853, allocations: 7.906 kB / 1.094 GB, free: 32.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/2.853, allocations: 19.94 kB / 1.094 GB, free: 32.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/2.853, allocations: 20.42 kB / 1.094 GB, free: 32.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/2.856, allocations: 0.7439 MB / 1.095 GB, free: 31.59 MB / 362.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.005638/2.862, allocations: 1.803 MB / 1.097 GB, free: 29.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/2.864, allocations: 484.6 kB / 1.097 GB, free: 29.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002139/2.866, allocations: 0.912 MB / 1.098 GB, free: 28.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/2.866, allocations: 35.44 kB / 1.098 GB, free: 28.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.646e-06/2.866, allocations: 0 / 1.098 GB, free: 28.09 MB / 362.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.02331/2.889, allocations: 3.575 MB / 1.102 GB, free: 24.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/2.89, allocations: 85.11 kB / 1.102 GB, free: 24.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/2.89, allocations: 159 kB / 1.102 GB, free: 24.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-05/2.89, allocations: 33.7 kB / 1.102 GB, free: 24.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/2.89, allocations: 184.1 kB / 1.102 GB, free: 23.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/2.89, allocations: 169.5 kB / 1.102 GB, free: 23.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/2.89, allocations: 12 kB / 1.102 GB, free: 23.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.815e-05/2.89, allocations: 334.8 kB / 1.102 GB, free: 23.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/2.892, allocations: 265.1 kB / 1.103 GB, free: 23.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/2.893, allocations: 418 kB / 1.103 GB, free: 22.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/2.894, allocations: 315.8 kB / 1.103 GB, free: 22.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/2.894, allocations: 4 kB / 1.103 GB, free: 22.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003261/2.898, allocations: 0.773 MB / 1.104 GB, free: 21.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/2.898, allocations: 8 kB / 1.104 GB, free: 21.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/2.898, allocations: 4 kB / 1.104 GB, free: 21.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/2.898, allocations: 62.25 kB / 1.104 GB, free: 21.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/2.9, allocations: 171.7 kB / 1.104 GB, free: 21.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006569/2.901, allocations: 1.077 MB / 1.105 GB, free: 20.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/2.902, allocations: 51.8 kB / 1.105 GB, free: 20.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/2.902, allocations: 35.98 kB / 1.106 GB, free: 20.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003744/2.902, allocations: 177.8 kB / 1.106 GB, free: 19.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/2.903, allocations: 23.72 kB / 1.106 GB, free: 19.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/2.906, allocations: 0.7886 MB / 1.106 GB, free: 19.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/2.906, allocations: 4 kB / 1.106 GB, free: 19.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/2.906, allocations: 0 / 1.106 GB, free: 19.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/2.907, allocations: 7.984 kB / 1.107 GB, free: 19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005077/2.912, allocations: 1.569 MB / 1.108 GB, free: 17.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/2.912, allocations: 7.938 kB / 1.108 GB, free: 17.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/2.913, allocations: 139.7 kB / 1.108 GB, free: 17.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/2.914, allocations: 45.69 kB / 1.108 GB, free: 17.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-05/2.914, allocations: 28.17 kB / 1.108 GB, free: 17.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/2.915, allocations: 2.544 MB / 1.111 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/2.916, allocations: 3.938 kB / 1.111 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/2.92, allocations: 1.163 MB / 1.112 GB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/2.92, allocations: 104.8 kB / 1.112 GB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/2.92, allocations: 16 kB / 1.112 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/2.922, allocations: 39.86 kB / 1.112 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/2.922, allocations: 43.89 kB / 1.112 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/2.922, allocations: 35.97 kB / 1.112 GB, free: 12.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001207/2.922, allocations: 119.2 kB / 1.112 GB, free: 12.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.922, allocations: 0 / 1.112 GB, free: 12.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002121/2.924, allocations: 419.7 kB / 1.113 GB, free: 12.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * 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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009015/2.933, allocations: 3.301 MB / 1.116 GB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003302/2.936, allocations: 0.6478 MB / 1.116 GB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/2.937, allocations: 0 / 1.116 GB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/2.938, allocations: 0.5374 MB / 1.117 GB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/2.939, allocations: 83.92 kB / 1.117 GB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009814/2.949, allocations: 5.849 MB / 1.123 GB, free: 1.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/2.949, allocations: 0.793 MB / 1.124 GB, free: 0.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001986/2.951, allocations: 187.1 kB / 1.124 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006414/2.952, allocations: 123.4 kB / 1.124 GB, free: 452 kB / 362.7 MB Notification: Performance of SimCode: time 1.213e-06/2.952, allocations: 0 / 1.124 GB, free: 452 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/3.267, allocations: 27.66 MB / 1.151 GB, free: 91.37 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/3.268, allocations: 196.2 kB / 1.151 GB, free: 91.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.93/7.198, allocations: 0 / 1.151 GB, free: 91.13 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat