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.952/1.952, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.866e-05/4.892e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.399/2.516, allocations: 0.7209 GB / 1.035 GB, free: 98.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/2.517, allocations: 69.72 kB / 1.035 GB, free: 98 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.1438/2.66, allocations: 39.92 MB / 1.074 GB, free: 61.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/2.66, allocations: 0 / 1.074 GB, free: 61.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/2.66, allocations: 4 kB / 1.074 GB, free: 61.12 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.0009911/2.661, allocations: 0.5105 MB / 1.075 GB, free: 60.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/2.662, allocations: 12.03 kB / 1.075 GB, free: 60.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/2.662, allocations: 50.55 kB / 1.075 GB, free: 60.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/2.667, allocations: 371.8 kB / 1.075 GB, free: 60.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/2.667, allocations: 254.8 kB / 1.075 GB, free: 59.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/2.667, allocations: 16.33 kB / 1.075 GB, free: 59.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/2.667, allocations: 24 kB / 1.075 GB, free: 59.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/2.668, allocations: 457.7 kB / 1.076 GB, free: 59.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/2.668, allocations: 4 kB / 1.076 GB, free: 59.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/2.668, allocations: 4 kB / 1.076 GB, free: 59.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/2.668, allocations: 7.938 kB / 1.076 GB, free: 59.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/2.67, allocations: 491.7 kB / 1.076 GB, free: 58.85 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.673, allocations: 0.9946 MB / 1.077 GB, free: 57.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/2.673, allocations: 269.1 kB / 1.078 GB, free: 57.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/2.674, allocations: 141.7 kB / 1.078 GB, free: 57.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/2.675, allocations: 0.6516 MB / 1.078 GB, free: 56.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/2.675, allocations: 42.55 kB / 1.078 GB, free: 56.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.935e-06/2.675, allocations: 0 / 1.078 GB, free: 56.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008489/2.676, allocations: 277.6 kB / 1.079 GB, free: 56.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/2.676, allocations: 85.09 kB / 1.079 GB, free: 56.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/2.676, allocations: 101 kB / 1.079 GB, free: 56.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/2.677, allocations: 33.7 kB / 1.079 GB, free: 56.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/2.677, allocations: 186.9 kB / 1.079 GB, free: 55.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.352e-05/2.677, allocations: 102.5 kB / 1.079 GB, free: 55.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/2.677, allocations: 8 kB / 1.079 GB, free: 55.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/2.677, allocations: 326.8 kB / 1.079 GB, free: 55.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/2.677, allocations: 104.6 kB / 1.08 GB, free: 55.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/2.677, allocations: 195.5 kB / 1.08 GB, free: 55.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/2.678, allocations: 124.2 kB / 1.08 GB, free: 54.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.678, allocations: 0 / 1.08 GB, free: 54.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008553/2.679, allocations: 362.5 kB / 1.08 GB, free: 54.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/2.679, allocations: 7.938 kB / 1.08 GB, free: 54.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/2.679, allocations: 4.312 kB / 1.08 GB, free: 54.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/2.679, allocations: 8 kB / 1.08 GB, free: 54.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/2.679, allocations: 75.83 kB / 1.08 GB, free: 54.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/2.679, allocations: 7.953 kB / 1.08 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/2.68, allocations: 31.75 kB / 1.08 GB, free: 54.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/2.68, allocations: 19.98 kB / 1.08 GB, free: 54.45 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.0001222/2.68, allocations: 124.9 kB / 1.08 GB, free: 54.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/2.68, allocations: 11.91 kB / 1.081 GB, free: 54.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/2.681, allocations: 362.4 kB / 1.081 GB, free: 53.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/2.681, allocations: 4 kB / 1.081 GB, free: 53.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/2.681, allocations: 3.984 kB / 1.081 GB, free: 53.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/2.681, allocations: 7.938 kB / 1.081 GB, free: 53.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/2.682, allocations: 364.3 kB / 1.081 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/2.682, allocations: 0 / 1.081 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/2.683, allocations: 63.91 kB / 1.081 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/2.683, allocations: 0 / 1.081 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/2.683, allocations: 15.98 kB / 1.081 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/2.683, allocations: 0 / 1.081 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/2.683, allocations: 4 kB / 1.081 GB, free: 53.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/2.684, allocations: 0.5358 MB / 1.082 GB, free: 52.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/2.684, allocations: 92.95 kB / 1.082 GB, free: 52.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.099e-05/2.684, allocations: 12.05 kB / 1.082 GB, free: 52.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/2.685, allocations: 15.91 kB / 1.082 GB, free: 52.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/2.685, allocations: 23.92 kB / 1.082 GB, free: 52.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/2.685, allocations: 15.98 kB / 1.082 GB, free: 52.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.487e-05/2.685, allocations: 91.27 kB / 1.082 GB, free: 52.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.685, allocations: 0 / 1.082 GB, free: 52.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00121/2.686, allocations: 255.7 kB / 1.082 GB, free: 52.37 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.002791/2.689, allocations: 1.811 MB / 1.084 GB, free: 50.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007154/2.69, allocations: 275.8 kB / 1.084 GB, free: 50.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.69, allocations: 0 / 1.084 GB, free: 50.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/2.69, allocations: 139.9 kB / 1.084 GB, free: 50.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/2.691, allocations: 76.55 kB / 1.085 GB, free: 50.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/2.693, allocations: 0.7684 MB / 1.085 GB, free: 49.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/2.693, allocations: 0.7404 MB / 1.086 GB, free: 48.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/2.693, allocations: 67.39 kB / 1.086 GB, free: 48.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/2.693, allocations: 0 / 1.086 GB, free: 48.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.845/5.538, allocations: 9.838 MB / 1.096 GB, free: 38.56 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