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.724/1.724, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.383e-05, allocations: 0 / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2602, allocations: 38.77 MB / 258.3 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.252/2.512, allocations: 0.721 GB / 0.9732 GB, free: 88.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/2.513, allocations: 66.97 kB / 0.9733 GB, free: 88.29 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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.5934/3.106, allocations: 105.3 MB / 1.076 GB, free: 108.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/3.106, allocations: 0 / 1.076 GB, free: 108.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/3.106, allocations: 5.969 kB / 1.076 GB, free: 108.6 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.003575/3.11, allocations: 0.7676 MB / 1.077 GB, free: 108.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/3.11, allocations: 7.406 kB / 1.077 GB, free: 108.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/3.113, allocations: 256.6 kB / 1.077 GB, free: 108.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/3.113, allocations: 279.8 kB / 1.077 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/3.114, allocations: 13.55 kB / 1.077 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/3.114, allocations: 16.59 kB / 1.077 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001367/3.115, allocations: 0.6053 MB / 1.078 GB, free: 108 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/3.116, allocations: 0.5675 MB / 1.079 GB, free: 107.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/3.116, allocations: 4.625 kB / 1.079 GB, free: 107.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/3.117, allocations: 0 / 1.079 GB, free: 107.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/3.117, allocations: 19.8 kB / 1.079 GB, free: 107.9 MB / 362.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.00575/3.122, allocations: 1.734 MB / 1.08 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008249/3.123, allocations: 375.9 kB / 1.081 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/3.124, allocations: 180.3 kB / 1.081 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002247/3.126, allocations: 0.9088 MB / 1.082 GB, free: 106.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/3.126, allocations: 44.61 kB / 1.082 GB, free: 106.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.737e-06/3.126, allocations: 2.125 kB / 1.082 GB, free: 106.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.01188/3.138, allocations: 2.126 MB / 1.084 GB, free: 105.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/3.138, allocations: 89.95 kB / 1.084 GB, free: 105.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/3.138, allocations: 155.6 kB / 1.084 GB, free: 105.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/3.138, allocations: 29.64 kB / 1.084 GB, free: 105.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/3.138, allocations: 174.9 kB / 1.084 GB, free: 105.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/3.139, allocations: 170.5 kB / 1.084 GB, free: 105 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/3.139, allocations: 2.125 kB / 1.084 GB, free: 105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/3.139, allocations: 335.6 kB / 1.085 GB, free: 104.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/3.139, allocations: 200 kB / 1.085 GB, free: 104.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/3.14, allocations: 353.9 kB / 1.085 GB, free: 104.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/3.14, allocations: 240.5 kB / 1.085 GB, free: 104.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/3.14, allocations: 0 / 1.085 GB, free: 104.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001706/3.142, allocations: 0.622 MB / 1.086 GB, free: 104.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/3.142, allocations: 8.906 kB / 1.086 GB, free: 104.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/3.142, allocations: 4.219 kB / 1.086 GB, free: 104.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/3.143, allocations: 51.78 kB / 1.086 GB, free: 104.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/3.144, allocations: 177 kB / 1.086 GB, free: 104.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006638/3.145, allocations: 1.086 MB / 1.087 GB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/3.146, allocations: 32.89 kB / 1.087 GB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/3.147, allocations: 41.02 kB / 1.087 GB, free: 103.3 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 () * 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.0002378/3.147, allocations: 120.3 kB / 1.088 GB, free: 103.2 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001397/3.148, allocations: 0.4932 MB / 1.088 GB, free: 103.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/3.148, allocations: 24.47 kB / 1.088 GB, free: 103.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/3.15, allocations: 0.6479 MB / 1.089 GB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/3.15, allocations: 7.828 kB / 1.089 GB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/3.151, allocations: 4.875 kB / 1.089 GB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/3.151, allocations: 3.891 kB / 1.089 GB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/3.154, allocations: 1.372 MB / 1.09 GB, free: 102.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/3.154, allocations: 6.375 kB / 1.09 GB, free: 102.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/3.156, allocations: 145 kB / 1.09 GB, free: 102.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/3.156, allocations: 41.83 kB / 1.09 GB, free: 102.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.636e-05/3.156, allocations: 25.69 kB / 1.09 GB, free: 102.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/3.158, allocations: 2.426 MB / 1.093 GB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/3.158, allocations: 5.094 kB / 1.093 GB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/3.16, allocations: 0.9887 MB / 1.094 GB, free: 99.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/3.16, allocations: 102.5 kB / 1.094 GB, free: 99.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/3.161, allocations: 3.938 kB / 1.094 GB, free: 99.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/3.162, allocations: 36.23 kB / 1.094 GB, free: 99.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/3.162, allocations: 48.06 kB / 1.094 GB, free: 99.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/3.162, allocations: 34.67 kB / 1.094 GB, free: 99.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001244/3.162, allocations: 115.7 kB / 1.094 GB, free: 99.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.162, allocations: 3.062 kB / 1.094 GB, free: 99.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002186/3.164, allocations: 387.9 kB / 1.094 GB, free: 99.45 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 () * 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.007075/3.172, allocations: 3.216 MB / 1.097 GB, free: 97.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/3.173, allocations: 0.5169 MB / 1.098 GB, free: 97.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/3.173, allocations: 3.938 kB / 1.098 GB, free: 97.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009331/3.174, allocations: 469.2 kB / 1.098 GB, free: 97.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/3.175, allocations: 76.52 kB / 1.098 GB, free: 97.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/3.179, allocations: 0.9321 MB / 1.099 GB, free: 97.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/3.18, allocations: 0.7908 MB / 1.1 GB, free: 96.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00209/3.182, allocations: 183.8 kB / 1.1 GB, free: 96.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/3.182, allocations: 133.8 kB / 1.1 GB, free: 96.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.984e-06/3.182, allocations: 1.406 kB / 1.1 GB, free: 96.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08968/3.272, allocations: 21.61 MB / 1.122 GB, free: 88.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/3.272, allocations: 124.4 kB / 1.122 GB, free: 88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.641/6.914, allocations: 4 kB / 1.122 GB, free: 88 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