Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.877e-05/5.889e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.787/6.918, allocations: 2.746 GB / 3.147 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/6.919, allocations: 76.72 kB / 3.147 GB, free: 171.2 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.2581/7.177, allocations: 65.84 MB / 3.211 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.14e-06/7.177, allocations: 0 / 3.211 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.684e-06/7.177, allocations: 0 / 3.211 GB, free: 126.8 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.002593/7.179, allocations: 0.5606 MB / 3.212 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/7.179, allocations: 12.03 kB / 3.212 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/7.18, allocations: 11.92 kB / 3.212 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/7.18, allocations: 163 kB / 3.212 GB, free: 126 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/7.18, allocations: 15.95 kB / 3.212 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/7.18, allocations: 3.984 kB / 3.212 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/7.18, allocations: 95.34 kB / 3.212 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/7.18, allocations: 0 / 3.212 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/7.18, allocations: 4 kB / 3.212 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.162e-06/7.18, allocations: 0 / 3.212 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/7.181, allocations: 51.89 kB / 3.212 GB, free: 125.8 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.0005302/7.181, allocations: 369 kB / 3.213 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/7.182, allocations: 62.52 kB / 3.213 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/7.182, allocations: 20.86 kB / 3.213 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/7.202, allocations: 4.547 MB / 3.217 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/7.202, allocations: 34.56 kB / 3.217 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 4.43e-06/7.202, allocations: 3.938 kB / 3.217 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0007848/7.203, allocations: 109.6 kB / 3.217 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/7.203, allocations: 51.41 kB / 3.217 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/7.203, allocations: 89 kB / 3.217 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/7.203, allocations: 25.7 kB / 3.217 GB, free: 120 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/7.203, allocations: 92.11 kB / 3.218 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/7.203, allocations: 15.8 kB / 3.218 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-06/7.203, allocations: 4 kB / 3.218 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.209e-05/7.204, allocations: 314.8 kB / 3.218 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/7.204, allocations: 8 kB / 3.218 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/7.204, allocations: 26.58 kB / 3.218 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/7.204, allocations: 11.98 kB / 3.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.515e-06/7.204, allocations: 0 / 3.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002094/7.204, allocations: 61.62 kB / 3.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/7.204, allocations: 10.66 kB / 3.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.404e-06/7.204, allocations: 0 / 3.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/7.204, allocations: 0 / 3.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/7.204, allocations: 11.94 kB / 3.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/7.204, allocations: 4 kB / 3.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/7.204, allocations: 7.844 kB / 3.218 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/7.204, allocations: 4 kB / 3.218 GB, free: 119.4 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 7.104e-05/7.205, allocations: 117 kB / 3.218 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/7.205, allocations: 128 / 3.218 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006674/7.205, allocations: 370.7 kB / 3.218 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/7.205, allocations: 19.94 kB / 3.218 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-06/7.205, allocations: 0 / 3.218 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.071e-06/7.205, allocations: 3.984 kB / 3.218 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/7.206, allocations: 278.1 kB / 3.219 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.668e-06/7.206, allocations: 3.938 kB / 3.219 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/7.206, allocations: 8 kB / 3.219 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.789e-06/7.206, allocations: 0 / 3.219 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/7.206, allocations: 0 / 3.219 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.178e-06/7.206, allocations: 3.984 kB / 3.219 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/7.206, allocations: 0 / 3.219 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/7.206, allocations: 287.9 kB / 3.219 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/7.206, allocations: 92.94 kB / 3.219 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/7.207, allocations: 0 / 3.219 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/7.207, allocations: 4 kB / 3.219 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/7.207, allocations: 4 kB / 3.219 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/7.207, allocations: 0 / 3.219 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.493e-05/7.207, allocations: 79.28 kB / 3.219 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.54e-07/7.207, allocations: 96 / 3.219 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003018/7.21, allocations: 463.7 kB / 3.22 GB, free: 117.6 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.0053/7.215, allocations: 0.6161 MB / 3.22 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002984/7.216, allocations: 83.84 kB / 3.22 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.225e-06/7.216, allocations: 4 kB / 3.22 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/7.216, allocations: 83.92 kB / 3.22 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/7.216, allocations: 19.94 kB / 3.22 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/7.217, allocations: 196.1 kB / 3.221 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/7.217, allocations: 0.7126 MB / 3.221 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001482/7.217, allocations: 23.97 kB / 3.221 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/7.217, allocations: 19.31 kB / 3.221 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.132e-06/7.217, allocations: 0 / 3.221 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.0386/7.256, allocations: 13.91 MB / 3.235 GB, free: 101.9 MB / 0.5261 GB