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.681/1.681, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.551e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2673, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.18/2.447, allocations: 0.7128 GB / 0.9705 GB, free: 73.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/2.448, allocations: 75.2 kB / 0.9705 GB, free: 73.28 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.1608/2.608, allocations: 40.21 MB / 1.01 GB, free: 38.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/2.608, allocations: 0 / 1.01 GB, free: 38.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/2.608, allocations: 4 kB / 1.01 GB, free: 38.83 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.001005/2.609, allocations: 0.5113 MB / 1.01 GB, free: 38.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/2.609, allocations: 12.03 kB / 1.01 GB, free: 38.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/2.61, allocations: 50.42 kB / 1.01 GB, free: 38.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005039/2.615, allocations: 371.4 kB / 1.011 GB, free: 37.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/2.615, allocations: 249.5 kB / 1.011 GB, free: 37.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/2.615, allocations: 13.56 kB / 1.011 GB, free: 37.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/2.615, allocations: 20.69 kB / 1.011 GB, free: 37.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/2.617, allocations: 464.2 kB / 1.011 GB, free: 37.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/2.617, allocations: 7.891 kB / 1.011 GB, free: 37.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/2.617, allocations: 9.062 kB / 1.011 GB, free: 37.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/2.617, allocations: 4 kB / 1.011 GB, free: 37.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/2.618, allocations: 485.2 kB / 1.012 GB, free: 36.98 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.003398/2.622, allocations: 1.003 MB / 1.013 GB, free: 36.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/2.622, allocations: 277.5 kB / 1.013 GB, free: 35.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/2.623, allocations: 134.1 kB / 1.013 GB, free: 35.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/2.624, allocations: 0.6592 MB / 1.014 GB, free: 35.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/2.624, allocations: 39.75 kB / 1.014 GB, free: 35.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.347e-06/2.624, allocations: 0 / 1.014 GB, free: 35.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008704/2.625, allocations: 284.3 kB / 1.014 GB, free: 34.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/2.625, allocations: 81.11 kB / 1.014 GB, free: 34.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/2.625, allocations: 102.7 kB / 1.014 GB, free: 34.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/2.625, allocations: 33.14 kB / 1.014 GB, free: 34.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/2.626, allocations: 178.2 kB / 1.015 GB, free: 34.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/2.626, allocations: 104.3 kB / 1.015 GB, free: 34.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/2.626, allocations: 5.125 kB / 1.015 GB, free: 34.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/2.626, allocations: 328.3 kB / 1.015 GB, free: 33.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/2.626, allocations: 112.1 kB / 1.015 GB, free: 33.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/2.626, allocations: 187.6 kB / 1.015 GB, free: 33.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/2.627, allocations: 131.1 kB / 1.015 GB, free: 33.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/2.627, allocations: 4 kB / 1.015 GB, free: 33.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000848/2.628, allocations: 361.1 kB / 1.016 GB, free: 33.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/2.628, allocations: 4 kB / 1.016 GB, free: 33.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/2.628, allocations: 7.938 kB / 1.016 GB, free: 33.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/2.628, allocations: 4 kB / 1.016 GB, free: 33.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/2.628, allocations: 75.89 kB / 1.016 GB, free: 33.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/2.628, allocations: 4 kB / 1.016 GB, free: 33.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/2.629, allocations: 32.14 kB / 1.016 GB, free: 33.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/2.629, allocations: 23.98 kB / 1.016 GB, free: 33.04 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.0001205/2.629, allocations: 124.8 kB / 1.016 GB, free: 32.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/2.629, allocations: 15.81 kB / 1.016 GB, free: 32.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009934/2.63, allocations: 354.2 kB / 1.016 GB, free: 32.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/2.63, allocations: 4 kB / 1.016 GB, free: 32.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.63, allocations: 3.938 kB / 1.016 GB, free: 32.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/2.63, allocations: 4 kB / 1.016 GB, free: 32.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008252/2.631, allocations: 368.5 kB / 1.017 GB, free: 32.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/2.631, allocations: 0 / 1.017 GB, free: 32.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/2.632, allocations: 55.95 kB / 1.017 GB, free: 32.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/2.632, allocations: 4 kB / 1.017 GB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/2.632, allocations: 8 kB / 1.017 GB, free: 32.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/2.632, allocations: 0 / 1.017 GB, free: 32.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.632, allocations: 7.922 kB / 1.017 GB, free: 32.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009403/2.633, allocations: 0.5396 MB / 1.017 GB, free: 31.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/2.633, allocations: 88.95 kB / 1.017 GB, free: 31.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/2.633, allocations: 8.062 kB / 1.017 GB, free: 31.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/2.634, allocations: 19.92 kB / 1.017 GB, free: 31.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/2.634, allocations: 27.97 kB / 1.018 GB, free: 31.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/2.634, allocations: 16.11 kB / 1.018 GB, free: 31.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.311e-05/2.634, allocations: 87.58 kB / 1.018 GB, free: 31.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.634, allocations: 0 / 1.018 GB, free: 31.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001213/2.635, allocations: 263.6 kB / 1.018 GB, free: 30.96 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.002893/2.638, allocations: 1.812 MB / 1.02 GB, free: 29.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007047/2.639, allocations: 275.8 kB / 1.02 GB, free: 28.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/2.639, allocations: 0 / 1.02 GB, free: 28.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/2.639, allocations: 139.9 kB / 1.02 GB, free: 28.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008866/2.64, allocations: 84.41 kB / 1.02 GB, free: 28.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/2.642, allocations: 0.7842 MB / 1.021 GB, free: 27.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/2.642, allocations: 0.7326 MB / 1.022 GB, free: 27.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/2.642, allocations: 71.41 kB / 1.022 GB, free: 26.97 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/2.642, allocations: 0 / 1.022 GB, free: 26.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/5.443, allocations: 9.97 MB / 1.031 GB, free: 17 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