Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.503e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 61.88 MB / 410.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.364/8.499, allocations: 2.746 GB / 3.147 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/8.5, allocations: 68.44 kB / 3.147 GB, free: 104.7 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/Media.mo:950:7-950:66:writable] Error: Medium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.3262/8.826, allocations: 65.85 MB / 3.211 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/8.826, allocations: 0 / 3.211 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.311e-06/8.826, allocations: 4 kB / 3.211 GB, free: 43.81 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002418/8.829, allocations: 0.566 MB / 3.212 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/8.829, allocations: 12.02 kB / 3.212 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/8.829, allocations: 36.94 kB / 3.212 GB, free: 43.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/8.829, allocations: 7.984 kB / 3.212 GB, free: 43.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.344e-05/8.829, allocations: 159.1 kB / 3.212 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/8.829, allocations: 10.33 kB / 3.212 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/8.829, allocations: 0 / 3.212 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/8.829, allocations: 94.48 kB / 3.212 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/8.829, allocations: 7.938 kB / 3.212 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/8.829, allocations: 0 / 3.212 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/8.829, allocations: 0 / 3.212 GB, free: 42.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/8.83, allocations: 49.83 kB / 3.212 GB, free: 42.81 MB / 0.5261 GB 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.0004157/8.83, allocations: 363.4 kB / 3.213 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/8.83, allocations: 64.59 kB / 3.213 GB, free: 42.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/8.83, allocations: 23.17 kB / 3.213 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01818/8.848, allocations: 4.548 MB / 3.217 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/8.849, allocations: 37.88 kB / 3.217 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.575e-06/8.849, allocations: 0 / 3.217 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0004945/8.849, allocations: 108.3 kB / 3.217 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/8.849, allocations: 55.41 kB / 3.217 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/8.849, allocations: 91.69 kB / 3.218 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/8.849, allocations: 29.69 kB / 3.218 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/8.849, allocations: 87.98 kB / 3.218 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/8.849, allocations: 14.56 kB / 3.218 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/8.849, allocations: 0 / 3.218 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/8.849, allocations: 317.7 kB / 3.218 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/8.849, allocations: 7.938 kB / 3.218 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/8.849, allocations: 33.88 kB / 3.218 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/8.849, allocations: 7.5 kB / 3.218 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/8.849, allocations: 0 / 3.218 GB, free: 36.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001182/8.85, allocations: 59.56 kB / 3.218 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/8.85, allocations: 8 kB / 3.218 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/8.85, allocations: 0 / 3.218 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/8.85, allocations: 4.062 kB / 3.218 GB, free: 36.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/8.85, allocations: 11.98 kB / 3.218 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/8.85, allocations: 4 kB / 3.218 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/8.85, allocations: 7.844 kB / 3.218 GB, free: 36.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/8.85, allocations: 10.94 kB / 3.218 GB, free: 36.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.179e-05/8.85, allocations: 104.9 kB / 3.218 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/8.85, allocations: 0 / 3.218 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/8.85, allocations: 381.5 kB / 3.219 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/8.85, allocations: 10.05 kB / 3.219 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/8.85, allocations: 0 / 3.219 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/8.85, allocations: 0 / 3.219 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/8.851, allocations: 278.4 kB / 3.219 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/8.851, allocations: 192 / 3.219 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/8.851, allocations: 15.31 kB / 3.219 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/8.851, allocations: 4 kB / 3.219 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/8.851, allocations: 0 / 3.219 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/8.851, allocations: 0 / 3.219 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/8.851, allocations: 0 / 3.219 GB, free: 36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/8.851, allocations: 284.7 kB / 3.219 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/8.851, allocations: 91.52 kB / 3.219 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/8.851, allocations: 0 / 3.219 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/8.851, allocations: 0 / 3.219 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/8.851, allocations: 11.98 kB / 3.219 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/8.851, allocations: 2.562 kB / 3.219 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.586e-05/8.851, allocations: 79.28 kB / 3.219 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/8.851, allocations: 0 / 3.219 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002479/8.854, allocations: 459.7 kB / 3.22 GB, free: 35.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004756/8.859, allocations: 1.337 MB / 3.221 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002268/8.859, allocations: 78.17 kB / 3.221 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/8.859, allocations: 7.938 kB / 3.221 GB, free: 33.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/8.859, allocations: 89.72 kB / 3.221 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/8.859, allocations: 13.72 kB / 3.221 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/8.862, allocations: 375.5 kB / 3.222 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/8.862, allocations: 0.7203 MB / 3.222 GB, free: 32.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001186/8.862, allocations: 23.97 kB / 3.222 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/8.862, allocations: 30.55 kB / 3.222 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/8.862, allocations: 0 / 3.222 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04928/8.911, allocations: 15.95 MB / 3.238 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/8.912, allocations: 162.6 kB / 3.238 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/12.2, allocations: 0 / 3.238 GB, free: 16.45 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat does not exist to compare? outputFormat=mat