Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.907e-05, allocations: 0 / 225 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2566, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.148/2.405, allocations: 0.7216 GB / 0.9792 GB, free: 65.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/2.405, allocations: 64.16 kB / 0.9793 GB, free: 65.21 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.5986/3.004, allocations: 107 MB / 1.084 GB, free: 110.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/3.004, allocations: 0 / 1.084 GB, free: 110.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/3.004, allocations: 4 kB / 1.084 GB, free: 110.4 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.003563/3.008, allocations: 0.7646 MB / 1.085 GB, free: 109.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/3.008, allocations: 12.03 kB / 1.085 GB, free: 109.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/3.008, allocations: 63.66 kB / 1.085 GB, free: 109.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/3.011, allocations: 254.3 kB / 1.085 GB, free: 109.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/3.012, allocations: 289.1 kB / 1.085 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/3.012, allocations: 24.52 kB / 1.085 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/3.012, allocations: 24 kB / 1.085 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/3.013, allocations: 0.6189 MB / 1.086 GB, free: 108.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/3.013, allocations: 3.906 kB / 1.086 GB, free: 108.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/3.013, allocations: 19.98 kB / 1.086 GB, free: 108.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/3.013, allocations: 16.38 kB / 1.086 GB, free: 108.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/3.015, allocations: 0.6584 MB / 1.086 GB, free: 108 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.005794/3.021, allocations: 1.794 MB / 1.088 GB, free: 106.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/3.022, allocations: 404.9 kB / 1.089 GB, free: 105.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/3.022, allocations: 181.7 kB / 1.089 GB, free: 105.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/3.025, allocations: 0.9188 MB / 1.09 GB, free: 104.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/3.025, allocations: 42.5 kB / 1.09 GB, free: 104.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/3.025, allocations: 0 / 1.09 GB, free: 104.5 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.01623/3.041, allocations: 2.713 MB / 1.092 GB, free: 101.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/3.041, allocations: 81.11 kB / 1.092 GB, free: 101.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/3.041, allocations: 158.5 kB / 1.093 GB, free: 101.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.202e-05/3.041, allocations: 33.7 kB / 1.093 GB, free: 101.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/3.041, allocations: 249 kB / 1.093 GB, free: 101.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/3.041, allocations: 175.5 kB / 1.093 GB, free: 100.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/3.042, allocations: 12 kB / 1.093 GB, free: 100.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.451e-05/3.042, allocations: 326.8 kB / 1.093 GB, free: 100.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/3.042, allocations: 209.5 kB / 1.094 GB, free: 100.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/3.043, allocations: 375.4 kB / 1.094 GB, free: 99.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/3.044, allocations: 265.2 kB / 1.094 GB, free: 99.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/3.044, allocations: 0 / 1.094 GB, free: 99.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001859/3.045, allocations: 0.6677 MB / 1.095 GB, free: 99.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/3.046, allocations: 9.406 kB / 1.095 GB, free: 99.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/3.046, allocations: 4 kB / 1.095 GB, free: 99.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/3.046, allocations: 61.69 kB / 1.095 GB, free: 98.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/3.048, allocations: 175.7 kB / 1.095 GB, free: 98.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007027/3.049, allocations: 1.081 MB / 1.096 GB, free: 97.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/3.05, allocations: 43.97 kB / 1.096 GB, free: 97.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/3.05, allocations: 39.97 kB / 1.096 GB, free: 97.57 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.0002375/3.05, allocations: 144.9 kB / 1.096 GB, free: 97.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/3.05, allocations: 23.72 kB / 1.096 GB, free: 97.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/3.053, allocations: 0.687 MB / 1.097 GB, free: 96.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/3.053, allocations: 4 kB / 1.097 GB, free: 96.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/3.053, allocations: 0 / 1.097 GB, free: 96.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/3.053, allocations: 7.984 kB / 1.097 GB, free: 96.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/3.057, allocations: 1.47 MB / 1.098 GB, free: 95.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/3.057, allocations: 0 / 1.098 GB, free: 95.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/3.058, allocations: 151.7 kB / 1.099 GB, free: 94.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/3.059, allocations: 45.92 kB / 1.099 GB, free: 94.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/3.059, allocations: 19.97 kB / 1.099 GB, free: 94.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/3.06, allocations: 2.533 MB / 1.101 GB, free: 92.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/3.06, allocations: 4.25 kB / 1.101 GB, free: 92.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/3.063, allocations: 1.015 MB / 1.102 GB, free: 91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/3.063, allocations: 104.8 kB / 1.102 GB, free: 90.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/3.063, allocations: 12 kB / 1.102 GB, free: 90.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/3.064, allocations: 43.94 kB / 1.102 GB, free: 90.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/3.064, allocations: 39.89 kB / 1.102 GB, free: 90.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/3.065, allocations: 39.95 kB / 1.102 GB, free: 90.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001187/3.065, allocations: 119.3 kB / 1.102 GB, free: 90.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.065, allocations: 0 / 1.102 GB, free: 90.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001989/3.067, allocations: 427.6 kB / 1.103 GB, free: 90.21 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.006765/3.073, allocations: 3.144 MB / 1.106 GB, free: 87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001801/3.075, allocations: 0.552 MB / 1.106 GB, free: 86.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/3.075, allocations: 4 kB / 1.106 GB, free: 86.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009812/3.076, allocations: 485 kB / 1.107 GB, free: 85.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009821/3.077, allocations: 92.28 kB / 1.107 GB, free: 85.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/3.081, allocations: 1.011 MB / 1.108 GB, free: 84.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/3.081, allocations: 0.7931 MB / 1.109 GB, free: 83.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008185/3.082, allocations: 139.3 kB / 1.109 GB, free: 83.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.763e-06/3.082, allocations: 0 / 1.109 GB, free: 83.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.181/6.263, allocations: 18.95 MB / 1.127 GB, free: 64.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat