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.938/1.938, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.182e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.122/2.41, allocations: 0.7216 GB / 0.9793 GB, free: 64.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/2.41, allocations: 65.62 kB / 0.9793 GB, free: 64.75 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.6424/3.053, allocations: 107 MB / 1.084 GB, free: 110 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.544e-06/3.053, allocations: 0 / 1.084 GB, free: 110 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/3.053, allocations: 4 kB / 1.084 GB, free: 110 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.003507/3.057, allocations: 0.7691 MB / 1.085 GB, free: 109.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/3.057, allocations: 12.03 kB / 1.085 GB, free: 109.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/3.057, allocations: 72.19 kB / 1.085 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/3.06, allocations: 252.6 kB / 1.085 GB, free: 109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/3.06, allocations: 287.2 kB / 1.085 GB, free: 108.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/3.06, allocations: 24.52 kB / 1.085 GB, free: 108.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/3.061, allocations: 24 kB / 1.085 GB, free: 108.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/3.062, allocations: 0.6161 MB / 1.086 GB, free: 108.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/3.062, allocations: 7.906 kB / 1.086 GB, free: 108.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/3.062, allocations: 15.94 kB / 1.086 GB, free: 108.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/3.062, allocations: 16.38 kB / 1.086 GB, free: 108.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/3.064, allocations: 0.6537 MB / 1.086 GB, free: 107.5 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.005436/3.069, allocations: 1.804 MB / 1.088 GB, free: 105.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009485/3.07, allocations: 384.9 kB / 1.089 GB, free: 105.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/3.071, allocations: 185.7 kB / 1.089 GB, free: 105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/3.073, allocations: 0.9146 MB / 1.09 GB, free: 104 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/3.073, allocations: 38.55 kB / 1.09 GB, free: 103.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.945e-06/3.073, allocations: 0 / 1.09 GB, free: 103.9 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.01596/3.089, allocations: 2.706 MB / 1.092 GB, free: 101.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/3.089, allocations: 81.11 kB / 1.092 GB, free: 101 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/3.089, allocations: 154.5 kB / 1.093 GB, free: 100.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/3.089, allocations: 33.7 kB / 1.093 GB, free: 100.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/3.089, allocations: 253.1 kB / 1.093 GB, free: 100.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/3.09, allocations: 178.6 kB / 1.093 GB, free: 100.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/3.09, allocations: 8 kB / 1.093 GB, free: 100.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/3.09, allocations: 338.8 kB / 1.093 GB, free: 100 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005784/3.09, allocations: 213.5 kB / 1.094 GB, free: 99.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/3.091, allocations: 369.9 kB / 1.094 GB, free: 99.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/3.092, allocations: 250.7 kB / 1.094 GB, free: 99.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/3.092, allocations: 4 kB / 1.094 GB, free: 99.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001876/3.094, allocations: 0.6562 MB / 1.095 GB, free: 98.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/3.094, allocations: 8.781 kB / 1.095 GB, free: 98.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/3.094, allocations: 8.609 kB / 1.095 GB, free: 98.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/3.094, allocations: 57.7 kB / 1.095 GB, free: 98.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/3.096, allocations: 179.7 kB / 1.095 GB, free: 98.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006785/3.097, allocations: 1.081 MB / 1.096 GB, free: 97.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/3.098, allocations: 43.95 kB / 1.096 GB, free: 97.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/3.098, allocations: 35.98 kB / 1.096 GB, free: 96.98 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.0002417/3.098, allocations: 140.9 kB / 1.096 GB, free: 96.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/3.098, allocations: 27.72 kB / 1.096 GB, free: 96.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/3.101, allocations: 0.687 MB / 1.097 GB, free: 96.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/3.101, allocations: 12 kB / 1.097 GB, free: 96.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/3.101, allocations: 0 / 1.097 GB, free: 96.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/3.101, allocations: 0 / 1.097 GB, free: 96.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/3.104, allocations: 1.48 MB / 1.098 GB, free: 94.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/3.104, allocations: 4 kB / 1.098 GB, free: 94.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/3.106, allocations: 139.8 kB / 1.099 GB, free: 94.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/3.106, allocations: 49.84 kB / 1.099 GB, free: 94.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/3.106, allocations: 23.97 kB / 1.099 GB, free: 94.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/3.108, allocations: 2.521 MB / 1.101 GB, free: 91.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/3.108, allocations: 0 / 1.101 GB, free: 91.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/3.11, allocations: 1.015 MB / 1.102 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/3.11, allocations: 104.8 kB / 1.102 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/3.11, allocations: 15.98 kB / 1.102 GB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/3.112, allocations: 39.95 kB / 1.102 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/3.112, allocations: 35.89 kB / 1.102 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/3.112, allocations: 43.97 kB / 1.102 GB, free: 90.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001078/3.112, allocations: 115.3 kB / 1.102 GB, free: 90.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/3.112, allocations: 4 kB / 1.102 GB, free: 90.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002047/3.114, allocations: 427.6 kB / 1.103 GB, free: 89.62 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.006279/3.12, allocations: 3.149 MB / 1.106 GB, free: 86.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/3.122, allocations: 0.5298 MB / 1.106 GB, free: 85.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/3.122, allocations: 0 / 1.106 GB, free: 85.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008837/3.123, allocations: 485 kB / 1.107 GB, free: 85.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009499/3.124, allocations: 87.86 kB / 1.107 GB, free: 85.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/3.127, allocations: 0.9958 MB / 1.108 GB, free: 84.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/3.128, allocations: 0.7893 MB / 1.109 GB, free: 83.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000779/3.128, allocations: 143.3 kB / 1.109 GB, free: 83.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/3.128, allocations: 0 / 1.109 GB, free: 83.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.308/6.436, allocations: 19 MB / 1.127 GB, free: 64.27 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