Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.201e-05, allocations: 7.984 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 61.88 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.418/8.555, allocations: 2.746 GB / 3.147 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/8.555, allocations: 71.34 kB / 3.147 GB, free: 104.2 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/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.3526/8.907, allocations: 65.84 MB / 3.211 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/8.907, allocations: 0 / 3.211 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.67e-06/8.907, allocations: 0 / 3.211 GB, free: 43.38 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.002355/8.91, allocations: 0.5746 MB / 3.212 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/8.91, allocations: 8.031 kB / 3.212 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/8.91, allocations: 36.75 kB / 3.212 GB, free: 42.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/8.91, allocations: 11.98 kB / 3.212 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.859e-05/8.91, allocations: 159.1 kB / 3.212 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/8.91, allocations: 6.328 kB / 3.212 GB, free: 42.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/8.91, allocations: 4 kB / 3.212 GB, free: 42.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/8.911, allocations: 94.47 kB / 3.212 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/8.911, allocations: 8 kB / 3.212 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/8.911, allocations: 0 / 3.212 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/8.911, allocations: 0 / 3.212 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/8.911, allocations: 55.08 kB / 3.212 GB, free: 42.37 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.0004173/8.911, allocations: 361.7 kB / 3.213 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/8.911, allocations: 61.84 kB / 3.213 GB, free: 41.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/8.912, allocations: 23.11 kB / 3.213 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/8.93, allocations: 4.554 MB / 3.217 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/8.93, allocations: 30.56 kB / 3.217 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/8.93, allocations: 0 / 3.217 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0005019/8.93, allocations: 106.5 kB / 3.217 GB, free: 36.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/8.93, allocations: 55.41 kB / 3.217 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/8.93, allocations: 92 kB / 3.218 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/8.93, allocations: 25.7 kB / 3.218 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/8.93, allocations: 91.98 kB / 3.218 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/8.93, allocations: 15.05 kB / 3.218 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/8.93, allocations: 0 / 3.218 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.662e-05/8.93, allocations: 314.8 kB / 3.218 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/8.93, allocations: 11.56 kB / 3.218 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/8.931, allocations: 29.39 kB / 3.218 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/8.931, allocations: 14.73 kB / 3.218 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/8.931, allocations: 0 / 3.218 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001181/8.931, allocations: 59.69 kB / 3.218 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/8.931, allocations: 4 kB / 3.218 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/8.931, allocations: 0 / 3.218 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/8.931, allocations: 8 kB / 3.218 GB, free: 36.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/8.931, allocations: 12 kB / 3.218 GB, free: 36.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/8.931, allocations: 0 / 3.218 GB, free: 36.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/8.931, allocations: 11.84 kB / 3.218 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/8.931, allocations: 0 / 3.218 GB, free: 36.23 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.546e-05/8.931, allocations: 119.2 kB / 3.218 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/8.931, allocations: 96 / 3.218 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/8.932, allocations: 384.9 kB / 3.219 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/8.932, allocations: 0 / 3.219 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/8.932, allocations: 0 / 3.219 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/8.932, allocations: 0 / 3.219 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/8.932, allocations: 285.5 kB / 3.219 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/8.932, allocations: 0 / 3.219 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/8.932, allocations: 4 kB / 3.219 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/8.932, allocations: 0 / 3.219 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/8.932, allocations: 4 kB / 3.219 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/8.932, allocations: 7.984 kB / 3.219 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/8.932, allocations: 192 / 3.219 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/8.932, allocations: 284.3 kB / 3.219 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/8.932, allocations: 89.02 kB / 3.219 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/8.932, allocations: 7.938 kB / 3.219 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/8.932, allocations: 0 / 3.219 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/8.932, allocations: 4 kB / 3.219 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/8.932, allocations: 6.75 kB / 3.219 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.363e-05/8.932, allocations: 75.28 kB / 3.219 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/8.932, allocations: 0 / 3.219 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002429/8.935, allocations: 463.6 kB / 3.22 GB, free: 34.69 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.003345/8.938, allocations: 1.342 MB / 3.221 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001853/8.939, allocations: 75.61 kB / 3.221 GB, free: 33.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/8.939, allocations: 4.125 kB / 3.221 GB, free: 33.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/8.939, allocations: 93.67 kB / 3.221 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/8.939, allocations: 15.05 kB / 3.221 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/8.94, allocations: 379.3 kB / 3.222 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/8.94, allocations: 0.7153 MB / 3.222 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001029/8.941, allocations: 23.95 kB / 3.222 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/8.941, allocations: 26.31 kB / 3.222 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/8.941, allocations: 0 / 3.222 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04543/8.986, allocations: 15.94 MB / 3.238 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/8.986, allocations: 158.6 kB / 3.238 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/12.04, allocations: 0 / 3.238 GB, free: 16.03 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat does not exist to compare? outputFormat=mat