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.637/1.637, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.467e-05, allocations: 8 kB / 219.5 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2572, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.09/2.348, allocations: 0.721 GB / 0.9732 GB, free: 18.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/2.348, allocations: 67.7 kB / 0.9733 GB, free: 18 MB / 346.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.5683/2.916, allocations: 105.3 MB / 1.076 GB, free: 53.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/2.916, allocations: 0 / 1.076 GB, free: 53.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/2.916, allocations: 11.94 kB / 1.076 GB, free: 53.07 MB / 346.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.003568/2.92, allocations: 0.7672 MB / 1.077 GB, free: 52.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/2.92, allocations: 8.031 kB / 1.077 GB, free: 52.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/2.923, allocations: 255.4 kB / 1.077 GB, free: 52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/2.924, allocations: 286.6 kB / 1.077 GB, free: 51.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/2.924, allocations: 8 kB / 1.077 GB, free: 51.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/2.924, allocations: 23.91 kB / 1.077 GB, free: 51.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001385/2.925, allocations: 0.5949 MB / 1.078 GB, free: 51.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/2.927, allocations: 0.5741 MB / 1.079 GB, free: 50.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/2.927, allocations: 0 / 1.079 GB, free: 50.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/2.927, allocations: 8 kB / 1.079 GB, free: 50.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/2.927, allocations: 20.38 kB / 1.079 GB, free: 50.43 MB / 346.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.00554/2.932, allocations: 1.744 MB / 1.08 GB, free: 48.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/2.933, allocations: 380.8 kB / 1.081 GB, free: 48.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/2.934, allocations: 173.7 kB / 1.081 GB, free: 48.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/2.936, allocations: 0.9122 MB / 1.082 GB, free: 46.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/2.936, allocations: 38.56 kB / 1.082 GB, free: 46.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 3.346e-06/2.936, allocations: 0 / 1.082 GB, free: 46.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.01188/2.948, allocations: 2.131 MB / 1.084 GB, free: 44.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/2.948, allocations: 85.11 kB / 1.084 GB, free: 44.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/2.948, allocations: 154.4 kB / 1.084 GB, free: 44.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/2.948, allocations: 25.7 kB / 1.084 GB, free: 44.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/2.948, allocations: 246.5 kB / 1.084 GB, free: 44.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/2.949, allocations: 169.5 kB / 1.084 GB, free: 43.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/2.949, allocations: 0 / 1.084 GB, free: 43.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/2.949, allocations: 334.8 kB / 1.085 GB, free: 43.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/2.949, allocations: 205.5 kB / 1.085 GB, free: 43.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/2.95, allocations: 357.9 kB / 1.085 GB, free: 42.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/2.95, allocations: 232.3 kB / 1.086 GB, free: 42.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/2.95, allocations: 4 kB / 1.086 GB, free: 42.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001734/2.952, allocations: 0.6093 MB / 1.086 GB, free: 42.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/2.952, allocations: 8.625 kB / 1.086 GB, free: 42.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/2.952, allocations: 7.984 kB / 1.086 GB, free: 42.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/2.953, allocations: 53.7 kB / 1.086 GB, free: 42.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/2.955, allocations: 179.7 kB / 1.086 GB, free: 41.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006682/2.955, allocations: 1.093 MB / 1.087 GB, free: 40.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/2.957, allocations: 27.97 kB / 1.087 GB, free: 40.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/2.957, allocations: 40.16 kB / 1.088 GB, free: 40.66 MB / 346.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.0002848/2.957, allocations: 120.8 kB / 1.088 GB, free: 40.54 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001434/2.958, allocations: 0.4951 MB / 1.088 GB, free: 40.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/2.959, allocations: 27.67 kB / 1.088 GB, free: 40 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/2.961, allocations: 0.6466 MB / 1.089 GB, free: 39.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/2.961, allocations: 12 kB / 1.089 GB, free: 39.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/2.961, allocations: 0 / 1.089 GB, free: 39.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/2.961, allocations: 3.984 kB / 1.089 GB, free: 39.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/2.964, allocations: 1.362 MB / 1.09 GB, free: 37.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/2.965, allocations: 4 kB / 1.09 GB, free: 37.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/2.966, allocations: 148 kB / 1.09 GB, free: 37.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/2.967, allocations: 41.69 kB / 1.09 GB, free: 37.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/2.967, allocations: 11.98 kB / 1.09 GB, free: 37.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/2.968, allocations: 2.434 MB / 1.093 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.968, allocations: 4.031 kB / 1.093 GB, free: 35.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/2.97, allocations: 0.9838 MB / 1.094 GB, free: 33.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.55e-05/2.97, allocations: 100.8 kB / 1.094 GB, free: 33.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/2.971, allocations: 4 kB / 1.094 GB, free: 33.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/2.972, allocations: 28 kB / 1.094 GB, free: 33.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/2.972, allocations: 55.81 kB / 1.094 GB, free: 33.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/2.972, allocations: 39.91 kB / 1.094 GB, free: 33.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001071/2.972, allocations: 115.2 kB / 1.094 GB, free: 33.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.972, allocations: 0 / 1.094 GB, free: 33.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001988/2.974, allocations: 391.7 kB / 1.094 GB, free: 33.19 MB / 346.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.00658/2.981, allocations: 3.226 MB / 1.097 GB, free: 29.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/2.982, allocations: 0.5154 MB / 1.098 GB, free: 29.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/2.982, allocations: 7.938 kB / 1.098 GB, free: 29.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008366/2.983, allocations: 459.4 kB / 1.098 GB, free: 28.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/2.984, allocations: 89 kB / 1.099 GB, free: 28.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/2.988, allocations: 0.9607 MB / 1.099 GB, free: 27.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/2.988, allocations: 0.7932 MB / 1.1 GB, free: 26.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008776/2.989, allocations: 143.3 kB / 1.1 GB, free: 26.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/2.989, allocations: 0 / 1.1 GB, free: 26.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.175/6.164, allocations: 18.94 MB / 1.119 GB, free: 7.844 MB / 346.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