Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.948/1.948, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.118e-05/4.145e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.366/2.476, allocations: 0.7209 GB / 1.035 GB, free: 97.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/2.476, allocations: 73.08 kB / 1.035 GB, free: 97.91 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/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.1453/2.622, allocations: 39.93 MB / 1.074 GB, free: 61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/2.622, allocations: 0 / 1.074 GB, free: 61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/2.622, allocations: 4 kB / 1.074 GB, free: 61 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.0009905/2.623, allocations: 0.5066 MB / 1.075 GB, free: 60.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/2.623, allocations: 8.031 kB / 1.075 GB, free: 60.44 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/2.623, allocations: 54.55 kB / 1.075 GB, free: 60.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/2.628, allocations: 367.8 kB / 1.075 GB, free: 60.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/2.628, allocations: 254.8 kB / 1.075 GB, free: 59.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/2.628, allocations: 16.27 kB / 1.075 GB, free: 59.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/2.629, allocations: 24 kB / 1.075 GB, free: 59.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/2.63, allocations: 457.3 kB / 1.076 GB, free: 59.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/2.63, allocations: 0 / 1.076 GB, free: 59.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/2.63, allocations: 8 kB / 1.076 GB, free: 59.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/2.63, allocations: 4 kB / 1.076 GB, free: 59.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/2.631, allocations: 479.8 kB / 1.076 GB, free: 58.75 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.003076/2.634, allocations: 1.002 MB / 1.077 GB, free: 57.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/2.635, allocations: 265.1 kB / 1.078 GB, free: 57.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/2.635, allocations: 149.7 kB / 1.078 GB, free: 57.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00168/2.637, allocations: 0.6516 MB / 1.078 GB, free: 56.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/2.637, allocations: 38.56 kB / 1.078 GB, free: 56.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.926e-06/2.637, allocations: 3.938 kB / 1.078 GB, free: 56.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008695/2.638, allocations: 273.8 kB / 1.079 GB, free: 56.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/2.638, allocations: 85.05 kB / 1.079 GB, free: 56.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/2.638, allocations: 105 kB / 1.079 GB, free: 55.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/2.638, allocations: 33.69 kB / 1.079 GB, free: 55.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/2.638, allocations: 178.9 kB / 1.079 GB, free: 55.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/2.638, allocations: 110.5 kB / 1.079 GB, free: 55.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/2.638, allocations: 12 kB / 1.079 GB, free: 55.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/2.638, allocations: 318.8 kB / 1.08 GB, free: 55.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/2.639, allocations: 108.6 kB / 1.08 GB, free: 55.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/2.639, allocations: 195.2 kB / 1.08 GB, free: 54.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/2.639, allocations: 120.2 kB / 1.08 GB, free: 54.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/2.639, allocations: 7.938 kB / 1.08 GB, free: 54.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008341/2.64, allocations: 346.5 kB / 1.08 GB, free: 54.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/2.64, allocations: 8 kB / 1.08 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/2.64, allocations: 0 / 1.08 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/2.64, allocations: 11.94 kB / 1.08 GB, free: 54.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/2.641, allocations: 76.2 kB / 1.08 GB, free: 54.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/2.641, allocations: 11.95 kB / 1.08 GB, free: 54.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/2.641, allocations: 35.67 kB / 1.08 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/2.641, allocations: 16 kB / 1.08 GB, free: 54.35 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.0001347/2.642, allocations: 128.8 kB / 1.081 GB, free: 54.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/2.642, allocations: 15.89 kB / 1.081 GB, free: 54.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/2.643, allocations: 350.3 kB / 1.081 GB, free: 53.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/2.643, allocations: 4 kB / 1.081 GB, free: 53.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/2.643, allocations: 0 / 1.081 GB, free: 53.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/2.643, allocations: 7.891 kB / 1.081 GB, free: 53.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008563/2.644, allocations: 372.2 kB / 1.081 GB, free: 53.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/2.644, allocations: 0 / 1.081 GB, free: 53.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/2.644, allocations: 51.97 kB / 1.081 GB, free: 53.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/2.644, allocations: 3.984 kB / 1.081 GB, free: 53.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/2.644, allocations: 12 kB / 1.081 GB, free: 53.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/2.644, allocations: 4 kB / 1.081 GB, free: 53.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.644, allocations: 3.938 kB / 1.081 GB, free: 53.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/2.645, allocations: 0.5322 MB / 1.082 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/2.646, allocations: 92.94 kB / 1.082 GB, free: 52.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/2.646, allocations: 8.062 kB / 1.082 GB, free: 52.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/2.646, allocations: 23.89 kB / 1.082 GB, free: 52.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/2.646, allocations: 20.06 kB / 1.082 GB, free: 52.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.461e-05/2.646, allocations: 23.97 kB / 1.082 GB, free: 52.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/2.646, allocations: 87.28 kB / 1.082 GB, free: 52.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.646, allocations: 3.938 kB / 1.082 GB, free: 52.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0013/2.648, allocations: 255.7 kB / 1.082 GB, free: 52.27 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.002941/2.651, allocations: 1.803 MB / 1.084 GB, free: 50.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007311/2.651, allocations: 272.3 kB / 1.084 GB, free: 50.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/2.651, allocations: 4.062 kB / 1.084 GB, free: 50.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/2.652, allocations: 139.8 kB / 1.084 GB, free: 50.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/2.653, allocations: 79.88 kB / 1.085 GB, free: 49.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/2.655, allocations: 0.7724 MB / 1.085 GB, free: 49.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/2.655, allocations: 0.7365 MB / 1.086 GB, free: 48.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/2.655, allocations: 63.41 kB / 1.086 GB, free: 48.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/2.655, allocations: 4 kB / 1.086 GB, free: 48.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.714/5.37, allocations: 9.862 MB / 1.096 GB, free: 38.44 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat