Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.728/1.728, allocations: 171.3 MB / 178.4 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.798e-05, allocations: 4 kB / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2689, allocations: 38.77 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.106/2.375, allocations: 0.7122 GB / 0.9645 GB, free: 95.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/2.375, allocations: 74.06 kB / 0.9645 GB, free: 95.92 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.187/2.563, allocations: 39.49 MB / 1.003 GB, free: 64.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/2.563, allocations: 0 / 1.003 GB, free: 64.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/2.563, allocations: 4 kB / 1.003 GB, free: 64.39 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001298/2.564, allocations: 0.5048 MB / 1.004 GB, free: 63.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/2.564, allocations: 12.03 kB / 1.004 GB, free: 63.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007042/2.571, allocations: 366.1 kB / 1.004 GB, free: 63.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/2.572, allocations: 265 kB / 1.004 GB, free: 63.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/2.572, allocations: 8 kB / 1.004 GB, free: 63.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/2.572, allocations: 12 kB / 1.004 GB, free: 63.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001735/2.574, allocations: 480.4 kB / 1.005 GB, free: 62.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/2.575, allocations: 308.5 kB / 1.005 GB, free: 62.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/2.575, allocations: 4 kB / 1.005 GB, free: 62.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/2.575, allocations: 4 kB / 1.005 GB, free: 62.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/2.575, allocations: 4 kB / 1.005 GB, free: 62.69 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.004477/2.58, allocations: 0.9435 MB / 1.006 GB, free: 61.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/2.58, allocations: 253.1 kB / 1.006 GB, free: 61.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/2.581, allocations: 133.7 kB / 1.006 GB, free: 61.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002313/2.583, allocations: 0.6593 MB / 1.007 GB, free: 60.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/2.583, allocations: 42.56 kB / 1.007 GB, free: 60.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 5.13e-06/2.583, allocations: 0 / 1.007 GB, free: 60.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001387/2.585, allocations: 267.8 kB / 1.007 GB, free: 60.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/2.585, allocations: 85.05 kB / 1.007 GB, free: 60.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/2.585, allocations: 105 kB / 1.007 GB, free: 60.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/2.585, allocations: 25.7 kB / 1.007 GB, free: 60.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/2.585, allocations: 108.6 kB / 1.008 GB, free: 59.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/2.585, allocations: 106.4 kB / 1.008 GB, free: 59.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/2.585, allocations: 0 / 1.008 GB, free: 59.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/2.585, allocations: 326.8 kB / 1.008 GB, free: 59.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/2.586, allocations: 104.6 kB / 1.008 GB, free: 59.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/2.586, allocations: 179.2 kB / 1.008 GB, free: 59.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/2.587, allocations: 123.3 kB / 1.008 GB, free: 59.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/2.587, allocations: 0 / 1.008 GB, free: 59.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001349/2.588, allocations: 330.6 kB / 1.009 GB, free: 58.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/2.588, allocations: 11.94 kB / 1.009 GB, free: 58.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/2.588, allocations: 4 kB / 1.009 GB, free: 58.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/2.588, allocations: 4 kB / 1.009 GB, free: 58.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/2.589, allocations: 79.83 kB / 1.009 GB, free: 58.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/2.589, allocations: 8 kB / 1.009 GB, free: 58.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/2.59, allocations: 19.75 kB / 1.009 GB, free: 58.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/2.59, allocations: 24.11 kB / 1.009 GB, free: 58.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002203/2.591, allocations: 114.2 kB / 1.009 GB, free: 58.48 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001235/2.592, allocations: 257.5 kB / 1.009 GB, free: 58.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/2.592, allocations: 23.77 kB / 1.009 GB, free: 58.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/2.594, allocations: 334.7 kB / 1.009 GB, free: 57.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/2.594, allocations: 4 kB / 1.009 GB, free: 57.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/2.594, allocations: 4 kB / 1.009 GB, free: 57.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/2.594, allocations: 7.984 kB / 1.01 GB, free: 57.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/2.595, allocations: 317 kB / 1.01 GB, free: 57.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/2.595, allocations: 0 / 1.01 GB, free: 57.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/2.596, allocations: 63.84 kB / 1.01 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/2.596, allocations: 0 / 1.01 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/2.596, allocations: 11.98 kB / 1.01 GB, free: 57.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/2.596, allocations: 4 kB / 1.01 GB, free: 57.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/2.596, allocations: 0 / 1.01 GB, free: 57.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/2.598, allocations: 0.5262 MB / 1.01 GB, free: 56.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/2.598, allocations: 96.86 kB / 1.01 GB, free: 56.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/2.598, allocations: 4.062 kB / 1.01 GB, free: 56.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008968/2.599, allocations: 15.92 kB / 1.011 GB, free: 56.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/2.599, allocations: 19.91 kB / 1.011 GB, free: 56.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/2.599, allocations: 23.98 kB / 1.011 GB, free: 56.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.193e-05/2.6, allocations: 87.28 kB / 1.011 GB, free: 56.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.6, allocations: 0 / 1.011 GB, free: 56.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001967/2.602, allocations: 235.7 kB / 1.011 GB, free: 56.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004684/2.606, allocations: 1.873 MB / 1.013 GB, free: 54.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000915/2.607, allocations: 264.2 kB / 1.013 GB, free: 54.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/2.607, allocations: 4.125 kB / 1.013 GB, free: 54.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/2.608, allocations: 136.2 kB / 1.013 GB, free: 54.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/2.609, allocations: 67.92 kB / 1.013 GB, free: 54.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/2.612, allocations: 0.7154 MB / 1.014 GB, free: 53.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/2.612, allocations: 0.7365 MB / 1.015 GB, free: 52.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001207/2.614, allocations: 81.91 kB / 1.015 GB, free: 52.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/2.614, allocations: 63.41 kB / 1.015 GB, free: 52.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/2.614, allocations: 0 / 1.015 GB, free: 52.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06378/2.678, allocations: 13.08 MB / 1.027 GB, free: 39.27 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/2.678, allocations: 137.6 kB / 1.028 GB, free: 39.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/5.679, allocations: 0 / 1.028 GB, free: 39.07 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat