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.89/1.89, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.465e-05, allocations: 2 kB / 267.6 MB, free: 5.332 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.307/2.411, allocations: 0.7205 GB / 1.029 GB, free: 96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/2.412, allocations: 68.34 kB / 1.029 GB, free: 95.97 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.1413/2.553, allocations: 39.22 MB / 1.068 GB, free: 61.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/2.553, allocations: 0 / 1.068 GB, free: 61.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/2.553, allocations: 7.938 kB / 1.068 GB, free: 61.71 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.0009908/2.554, allocations: 0.5027 MB / 1.068 GB, free: 61.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/2.554, allocations: 12.03 kB / 1.068 GB, free: 61.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/2.559, allocations: 367.8 kB / 1.069 GB, free: 60.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/2.56, allocations: 250.9 kB / 1.069 GB, free: 60.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/2.56, allocations: 4 kB / 1.069 GB, free: 60.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/2.56, allocations: 15.95 kB / 1.069 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001146/2.561, allocations: 472.5 kB / 1.069 GB, free: 60.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/2.562, allocations: 317.4 kB / 1.07 GB, free: 59.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/2.562, allocations: 0 / 1.07 GB, free: 59.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/2.562, allocations: 0 / 1.07 GB, free: 59.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/2.562, allocations: 4 kB / 1.07 GB, free: 59.7 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.003067/2.565, allocations: 0.9447 MB / 1.071 GB, free: 58.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/2.565, allocations: 257.2 kB / 1.071 GB, free: 58.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/2.566, allocations: 133.6 kB / 1.071 GB, free: 58.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/2.567, allocations: 0.6555 MB / 1.072 GB, free: 57.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/2.567, allocations: 34.56 kB / 1.072 GB, free: 57.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.507e-06/2.567, allocations: 4 kB / 1.072 GB, free: 57.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008657/2.568, allocations: 261.2 kB / 1.072 GB, free: 57.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/2.568, allocations: 85.05 kB / 1.072 GB, free: 57.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/2.568, allocations: 97 kB / 1.072 GB, free: 57.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/2.569, allocations: 25.7 kB / 1.072 GB, free: 57.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/2.569, allocations: 182.9 kB / 1.072 GB, free: 56.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/2.569, allocations: 106.5 kB / 1.072 GB, free: 56.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/2.569, allocations: 0 / 1.072 GB, free: 56.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.874e-05/2.569, allocations: 330.8 kB / 1.073 GB, free: 56.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/2.569, allocations: 100.6 kB / 1.073 GB, free: 56.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/2.569, allocations: 171.3 kB / 1.073 GB, free: 56.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/2.57, allocations: 132 kB / 1.073 GB, free: 55.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/2.57, allocations: 0 / 1.073 GB, free: 55.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008262/2.571, allocations: 333.4 kB / 1.073 GB, free: 55.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/2.571, allocations: 4 kB / 1.073 GB, free: 55.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/2.571, allocations: 4 kB / 1.073 GB, free: 55.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/2.571, allocations: 7.938 kB / 1.073 GB, free: 55.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/2.571, allocations: 79.89 kB / 1.073 GB, free: 55.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/2.571, allocations: 7.938 kB / 1.073 GB, free: 55.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/2.572, allocations: 28.05 kB / 1.073 GB, free: 55.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/2.572, allocations: 16 kB / 1.074 GB, free: 55.48 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.0001407/2.572, allocations: 112.8 kB / 1.074 GB, free: 55.36 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007579/2.573, allocations: 261.5 kB / 1.074 GB, free: 55.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/2.573, allocations: 23.81 kB / 1.074 GB, free: 55.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000988/2.574, allocations: 332.7 kB / 1.074 GB, free: 54.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/2.574, allocations: 7.984 kB / 1.074 GB, free: 54.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/2.574, allocations: 3.984 kB / 1.074 GB, free: 54.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/2.574, allocations: 4 kB / 1.074 GB, free: 54.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/2.575, allocations: 324.8 kB / 1.075 GB, free: 54.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/2.575, allocations: 0 / 1.075 GB, free: 54.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/2.576, allocations: 59.95 kB / 1.075 GB, free: 54.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/2.576, allocations: 0 / 1.075 GB, free: 54.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/2.576, allocations: 7.984 kB / 1.075 GB, free: 54.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/2.576, allocations: 7.938 kB / 1.075 GB, free: 54.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/2.576, allocations: 0 / 1.075 GB, free: 54.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/2.577, allocations: 0.5161 MB / 1.075 GB, free: 53.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/2.577, allocations: 96.86 kB / 1.075 GB, free: 53.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/2.577, allocations: 0 / 1.075 GB, free: 53.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/2.578, allocations: 15.92 kB / 1.075 GB, free: 53.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/2.578, allocations: 24.03 kB / 1.075 GB, free: 53.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/2.578, allocations: 15.98 kB / 1.075 GB, free: 53.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.939e-05/2.578, allocations: 91.27 kB / 1.075 GB, free: 53.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.578, allocations: 0 / 1.075 GB, free: 53.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00127/2.579, allocations: 243.6 kB / 1.076 GB, free: 53.26 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.003068/2.582, allocations: 1.857 MB / 1.077 GB, free: 51.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006404/2.583, allocations: 263.8 kB / 1.078 GB, free: 51.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/2.583, allocations: 0.625 kB / 1.078 GB, free: 51.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/2.583, allocations: 140.1 kB / 1.078 GB, free: 50.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/2.584, allocations: 75.31 kB / 1.078 GB, free: 50.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/2.586, allocations: 0.7522 MB / 1.079 GB, free: 50.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/2.586, allocations: 0.7365 MB / 1.079 GB, free: 49.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/2.587, allocations: 75.33 kB / 1.079 GB, free: 49.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/2.587, allocations: 0 / 1.079 GB, free: 49.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.78/5.367, allocations: 9.841 MB / 1.089 GB, free: 39.42 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