Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.657e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.274, allocations: 38.77 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.142/2.416, allocations: 0.7122 GB / 0.9645 GB, free: 94.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/2.416, allocations: 71.8 kB / 0.9645 GB, free: 94.95 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.1434/2.56, allocations: 39.5 MB / 1.003 GB, free: 63.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/2.56, allocations: 0 / 1.003 GB, free: 63.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/2.56, allocations: 4 kB / 1.003 GB, free: 63.24 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.0009963/2.561, allocations: 0.5045 MB / 1.004 GB, free: 62.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/2.561, allocations: 16.03 kB / 1.004 GB, free: 62.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/2.566, allocations: 360.8 kB / 1.004 GB, free: 62.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/2.567, allocations: 250.5 kB / 1.004 GB, free: 62.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/2.567, allocations: 8 kB / 1.004 GB, free: 62.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/2.567, allocations: 14.31 kB / 1.004 GB, free: 62.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00121/2.568, allocations: 472.1 kB / 1.005 GB, free: 61.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/2.569, allocations: 318.4 kB / 1.005 GB, free: 61.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/2.569, allocations: 0 / 1.005 GB, free: 61.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/2.569, allocations: 4 kB / 1.005 GB, free: 61.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/2.569, allocations: 4 kB / 1.005 GB, free: 61.55 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.003133/2.572, allocations: 0.951 MB / 1.006 GB, free: 60.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/2.573, allocations: 253.1 kB / 1.006 GB, free: 60.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/2.573, allocations: 133.6 kB / 1.006 GB, free: 60.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/2.575, allocations: 0.6632 MB / 1.007 GB, free: 59.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/2.575, allocations: 38.56 kB / 1.007 GB, free: 59.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.686e-06/2.575, allocations: 4 kB / 1.007 GB, free: 59.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008822/2.576, allocations: 268 kB / 1.007 GB, free: 59.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/2.576, allocations: 85.05 kB / 1.007 GB, free: 59.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/2.576, allocations: 105 kB / 1.007 GB, free: 58.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/2.576, allocations: 25.7 kB / 1.007 GB, free: 58.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/2.576, allocations: 179 kB / 1.008 GB, free: 58.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/2.576, allocations: 102.4 kB / 1.008 GB, free: 58.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/2.576, allocations: 0 / 1.008 GB, free: 58.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/2.576, allocations: 330.8 kB / 1.008 GB, free: 58.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/2.576, allocations: 96.64 kB / 1.008 GB, free: 58.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/2.577, allocations: 179.2 kB / 1.008 GB, free: 58.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/2.577, allocations: 130.9 kB / 1.008 GB, free: 57.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/2.577, allocations: 0 / 1.008 GB, free: 57.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008144/2.578, allocations: 330.8 kB / 1.009 GB, free: 57.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/2.578, allocations: 7.953 kB / 1.009 GB, free: 57.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/2.578, allocations: 4 kB / 1.009 GB, free: 57.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/2.578, allocations: 4 kB / 1.009 GB, free: 57.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/2.578, allocations: 71.89 kB / 1.009 GB, free: 57.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/2.579, allocations: 7.938 kB / 1.009 GB, free: 57.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/2.579, allocations: 28.14 kB / 1.009 GB, free: 57.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/2.579, allocations: 19.98 kB / 1.009 GB, free: 57.44 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.0001343/2.579, allocations: 112.9 kB / 1.009 GB, free: 57.32 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007208/2.58, allocations: 261.4 kB / 1.009 GB, free: 57.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/2.58, allocations: 15.86 kB / 1.009 GB, free: 57.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009951/2.581, allocations: 343.2 kB / 1.01 GB, free: 56.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/2.581, allocations: 4 kB / 1.01 GB, free: 56.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/2.581, allocations: 0 / 1.01 GB, free: 56.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/2.581, allocations: 3.984 kB / 1.01 GB, free: 56.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008655/2.582, allocations: 313 kB / 1.01 GB, free: 56.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/2.582, allocations: 4 kB / 1.01 GB, free: 56.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/2.583, allocations: 63.84 kB / 1.01 GB, free: 56.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/2.583, allocations: 4 kB / 1.01 GB, free: 56.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/2.583, allocations: 4 kB / 1.01 GB, free: 56.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/2.583, allocations: 0 / 1.01 GB, free: 56.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.583, allocations: 4 kB / 1.01 GB, free: 56.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/2.584, allocations: 0.5278 MB / 1.01 GB, free: 55.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/2.584, allocations: 96.84 kB / 1.011 GB, free: 55.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/2.584, allocations: 4 kB / 1.011 GB, free: 55.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/2.584, allocations: 11.92 kB / 1.011 GB, free: 55.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/2.585, allocations: 23.97 kB / 1.011 GB, free: 55.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/2.585, allocations: 20.05 kB / 1.011 GB, free: 55.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.558e-05/2.585, allocations: 83.28 kB / 1.011 GB, free: 55.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/2.585, allocations: 3.938 kB / 1.011 GB, free: 55.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001314/2.586, allocations: 235.8 kB / 1.011 GB, free: 55.23 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.003177/2.589, allocations: 1.868 MB / 1.013 GB, free: 53.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007172/2.59, allocations: 267.8 kB / 1.013 GB, free: 53.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/2.59, allocations: 0 / 1.013 GB, free: 53.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/2.59, allocations: 131.9 kB / 1.013 GB, free: 52.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/2.591, allocations: 76 kB / 1.013 GB, free: 52.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/2.593, allocations: 0.7557 MB / 1.014 GB, free: 52.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/2.594, allocations: 0.7366 MB / 1.015 GB, free: 51.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/2.594, allocations: 71.41 kB / 1.015 GB, free: 51.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/2.594, allocations: 0 / 1.015 GB, free: 51.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.051/5.645, allocations: 9.957 MB / 1.024 GB, free: 41.25 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat