Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.641e-05, allocations: 0 / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 48.71 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.424/2.553, allocations: 0.7205 GB / 1.029 GB, free: 97.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/2.553, allocations: 74.02 kB / 1.029 GB, free: 96.99 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/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.1436/2.697, allocations: 39.22 MB / 1.068 GB, free: 62.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/2.697, allocations: 0 / 1.068 GB, free: 62.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/2.697, allocations: 4 kB / 1.068 GB, free: 62.59 MB / 426.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.0009386/2.698, allocations: 0.5067 MB / 1.068 GB, free: 62.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/2.698, allocations: 12.03 kB / 1.068 GB, free: 62.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/2.703, allocations: 363.8 kB / 1.069 GB, free: 61.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/2.703, allocations: 254.8 kB / 1.069 GB, free: 61.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/2.703, allocations: 8 kB / 1.069 GB, free: 61.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/2.703, allocations: 19.95 kB / 1.069 GB, free: 61.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001146/2.705, allocations: 472.5 kB / 1.069 GB, free: 60.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/2.705, allocations: 305.5 kB / 1.07 GB, free: 60.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/2.705, allocations: 0 / 1.07 GB, free: 60.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/2.705, allocations: 4 kB / 1.07 GB, free: 60.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/2.705, allocations: 4 kB / 1.07 GB, free: 60.57 MB / 426.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.003078/2.708, allocations: 0.9447 MB / 1.071 GB, free: 59.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/2.709, allocations: 253.1 kB / 1.071 GB, free: 59.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/2.709, allocations: 137.7 kB / 1.071 GB, free: 59.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/2.711, allocations: 0.6516 MB / 1.072 GB, free: 58.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/2.711, allocations: 42.56 kB / 1.072 GB, free: 58.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.815e-06/2.711, allocations: 3.938 kB / 1.072 GB, free: 58.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008981/2.712, allocations: 255 kB / 1.072 GB, free: 58.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/2.712, allocations: 85.05 kB / 1.072 GB, free: 58.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/2.712, allocations: 101 kB / 1.072 GB, free: 57.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/2.712, allocations: 25.7 kB / 1.072 GB, free: 57.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/2.712, allocations: 120.5 kB / 1.072 GB, free: 57.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/2.712, allocations: 98.5 kB / 1.072 GB, free: 57.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/2.712, allocations: 0 / 1.072 GB, free: 57.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.3e-05/2.712, allocations: 330.8 kB / 1.073 GB, free: 57.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/2.713, allocations: 100.6 kB / 1.073 GB, free: 57.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/2.713, allocations: 183.2 kB / 1.073 GB, free: 57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/2.713, allocations: 118.7 kB / 1.073 GB, free: 56.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/2.713, allocations: 4 kB / 1.073 GB, free: 56.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008399/2.714, allocations: 337.3 kB / 1.073 GB, free: 56.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/2.714, allocations: 10.34 kB / 1.073 GB, free: 56.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/2.714, allocations: 3.984 kB / 1.073 GB, free: 56.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/2.714, allocations: 7.938 kB / 1.073 GB, free: 56.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/2.715, allocations: 72.22 kB / 1.073 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/2.715, allocations: 11.98 kB / 1.073 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/2.716, allocations: 19.75 kB / 1.073 GB, free: 56.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/2.716, allocations: 23.98 kB / 1.073 GB, free: 56.41 MB / 426.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.0001498/2.716, allocations: 116.8 kB / 1.074 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007703/2.717, allocations: 261.5 kB / 1.074 GB, free: 56.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/2.717, allocations: 19.75 kB / 1.074 GB, free: 56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/2.718, allocations: 336.8 kB / 1.074 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/2.718, allocations: 4 kB / 1.074 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/2.718, allocations: 4 kB / 1.074 GB, free: 55.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/2.718, allocations: 3.984 kB / 1.074 GB, free: 55.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/2.719, allocations: 328.7 kB / 1.074 GB, free: 55.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/2.719, allocations: 0 / 1.074 GB, free: 55.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/2.719, allocations: 59.89 kB / 1.075 GB, free: 55.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/2.719, allocations: 4 kB / 1.075 GB, free: 55.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/2.719, allocations: 8 kB / 1.075 GB, free: 55.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/2.719, allocations: 7.984 kB / 1.075 GB, free: 55.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.719, allocations: 0 / 1.075 GB, free: 55.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/2.72, allocations: 0.516 MB / 1.075 GB, free: 54.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/2.72, allocations: 92.95 kB / 1.075 GB, free: 54.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/2.721, allocations: 4 kB / 1.075 GB, free: 54.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/2.721, allocations: 15.92 kB / 1.075 GB, free: 54.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/2.721, allocations: 15.97 kB / 1.075 GB, free: 54.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/2.721, allocations: 20.05 kB / 1.075 GB, free: 54.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.651e-05/2.721, allocations: 87.28 kB / 1.075 GB, free: 54.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.721, allocations: 0 / 1.075 GB, free: 54.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001253/2.723, allocations: 251.6 kB / 1.076 GB, free: 54.18 MB / 426.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.003232/2.726, allocations: 1.851 MB / 1.077 GB, free: 52.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006953/2.727, allocations: 267.8 kB / 1.078 GB, free: 52.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/2.727, allocations: 0 / 1.078 GB, free: 52.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/2.727, allocations: 131.8 kB / 1.078 GB, free: 51.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/2.728, allocations: 72.5 kB / 1.078 GB, free: 51.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/2.73, allocations: 0.7272 MB / 1.078 GB, free: 51.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/2.73, allocations: 0.7365 MB / 1.079 GB, free: 50.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008793/2.731, allocations: 89.84 kB / 1.079 GB, free: 50.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/2.731, allocations: 63.41 kB / 1.079 GB, free: 50.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/2.731, allocations: 0 / 1.079 GB, free: 50.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05755/2.789, allocations: 12.98 MB / 1.092 GB, free: 37.19 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/2.789, allocations: 140.2 kB / 1.092 GB, free: 36.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/5.964, allocations: 7.938 kB / 1.092 GB, free: 36.98 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat